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 471–480 of 492

Q471

What happens when you configure an S3 bucket policy to allow public access?

  • A All users can access all files
  • B Files remain private unless shared
  • C Access is denied for all users
  • D Only certain IPs gain access
Explanation A public bucket policy grants access to all users for the objects in the bucket, overriding private settings.
Q472

A developer wants to deploy a new application using AWS Lambda. Which service can be used to manage code versioning?

  • A AWS CodeCommit
  • B AWS CloudFormation
  • C AWS CodePipeline
  • D AWS Elastic Beanstalk
Explanation AWS CodeCommit is a version control service specifically designed for managing code, while others serve different deployment or orchestration purposes.
Q473

What happens when an Amazon S3 bucket is configured with public access settings but an access control list (ACL) denies public access?

  • A Public access is denied
  • B Public access is granted
  • C Access settings override ACL
  • D Bucket is deleted
Explanation If an ACL denies public access, it takes precedence, denying any public access regardless of the bucket's public access settings.
Q474

You are configuring notifications for your AWS Elastic Beanstalk application. Which service should you use to send notifications upon environment status changes?

  • A Amazon SNS
  • B AWS Lambda
  • C Amazon CloudWatch
  • D AWS CloudTrail
Explanation Amazon SNS allows you to send notifications effectively, while the others serve different purposes like logging or monitoring.
Q475

Which service automatically scales EC2 instances?

  • A Amazon EC2 Auto Scaling
  • B Amazon CloudFormation
  • C AWS Lambda
  • D Amazon ECS
Explanation Amazon EC2 Auto Scaling adjusts instance numbers automatically; others do not scale instances automatically.
Q476

A company needs to ensure that IAM users can only access specific S3 buckets. What should be used?

  • A Group Policies
  • B Bucket Policies
  • C Cross-Origin Policies
  • D Service Control Policies
Explanation Bucket Policies specifically control access on S3 buckets; others don't target S3 bucket access.
Q477

What happens when you exceed the provisioned capacity for a DynamoDB table?

  • A Requests fail with throttling errors
  • B Data is automatically cached
  • C You are billed for additional resources
  • D The table resizes automatically
Explanation Exceeding capacity results in throttling errors; others incorrectly describe outcomes that don't happen.
Q478

Which service allows you to run code without provisioning servers?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS CloudFormation
  • D Amazon S3
Explanation AWS Lambda enables serverless computing while the others require explicit server management.
Q479

A company needs to ensure that their EC2 instances can only access resources within a specific security group. What should they do?

  • A Attach IAM policies to the instance
  • B Use VPC peering connections
  • C Modify the EC2 instance security group
  • D Create a NAT gateway
Explanation Only modifying the security group directly controls access to allowed resources; the other options do not achieve that restriction.
Q480

What happens when you try to stop an Amazon RDS DB instance with automated backups enabled?

  • A Backup fails to complete
  • B Database becomes unavailable
  • C Scheduled backups are deleted
  • D Automated backups continue to function
Explanation Automated backups remain functional even when the DB instance is stopped, while the others misrepresent the behavior of RDS.