Amazon AWS

AWS Certified Developer – Associate

DVA-C02
Popular

The AWS Certified Developer – Associate (DVA-C02) exam tests your proficiency in developing applications on AWS. It is designed for developers looking to validate their skills in AWS development.

492 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 481–490 of 492

Q481

Which service is best for serverless computing?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon S3
  • D Amazon RDS
Explanation AWS Lambda is specifically designed for serverless computing; the others are not.
Q482

A company needs to store large amounts of binary data. Which storage service should they use?

  • A Amazon EFS
  • B Amazon S3
  • C Amazon Redshift
  • D Amazon Glacier
Explanation Amazon S3 is ideal for storing large amounts of binary data; the others serve different purposes.
Q483

You are configuring IAM roles for an EC2 instance. What must you ensure for the instance to assume the role?

  • A Role permissions are public
  • B The instance has an attached IAM policy
  • C The instance is launched in a VPC
  • D The IAM role is associated with the instance
Explanation The IAM role must be explicitly associated with the instance; the other options are not necessary.
Q484

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Batch
  • D AWS CloudFormation
Explanation AWS Lambda enables serverless execution of code, while others require server management.
Q485

A company needs to integrate IAM roles with an EC2 instance. What must be done first?

  • A Add an IAM policy to S3
  • B Create or select an IAM role
  • C Reboot the EC2 instance
  • D Allocate an Elastic IP to EC2
Explanation You need to create or select a role before associating it with an EC2 instance.
Q486

What happens when you use S3 lifecycle policies to delete 1000 objects at once?

  • A Immediate deletion of all objects
  • B Objects are queued for deletion
  • C Deletion may take several days
  • D Only one object is deleted
Explanation S3 lifecycle policies will queue objects for deletion rather than immediate action.
Q487

Which service allows data streaming from IoT devices to AWS?

  • A AWS IoT Core
  • B AWS S3
  • C AWS Lambda
  • D AWS CloudFront
Explanation AWS IoT Core specifically facilitates device connectivity and data streaming, while the other services do not focus on IoT.
Q488

A company needs to ensure its AWS Lambda function can access an encrypted RDS database. What is the recommended approach?

  • A Use IAM roles with encryption key permissions
  • B Using a public subnet for Lambda
  • C Access via VPC Peering
  • D Store encryption keys in environment variables
Explanation Using IAM roles allows your Lambda function necessary permissions to access the encryption keys securely.
Q489

You are configuring an S3 bucket to host a static website. What must be enabled on the bucket for it to serve public content?

  • A Bucket Versioning
  • B Public Access Block
  • C Bucket Policy allowing public access
  • D Cross-Region Replication
Explanation A bucket policy that allows public access is essential for serving content publicly; the other options do not address public access requirements.
Q490

Which service is used to run Docker containers on AWS?

  • A Amazon EC2
  • B AWS Lambda
  • C Amazon ECS
  • D Amazon S3
Explanation Amazon ECS is specifically designed for Docker containers, while the others serve different purposes.