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.
What happens when you configure an S3 bucket policy to allow public access?
AAll users can access all files
BFiles remain private unless shared
CAccess is denied for all users
DOnly 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?
AAWS CodeCommit
BAWS CloudFormation
CAWS CodePipeline
DAWS 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?
APublic access is denied
BPublic access is granted
CAccess settings override ACL
DBucket 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?
AAmazon SNS
BAWS Lambda
CAmazon CloudWatch
DAWS 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?
AAmazon EC2 Auto Scaling
BAmazon CloudFormation
CAWS Lambda
DAmazon 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?
AGroup Policies
BBucket Policies
CCross-Origin Policies
DService 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?
ARequests fail with throttling errors
BData is automatically cached
CYou are billed for additional resources
DThe 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?
AAWS Lambda
BAmazon EC2
CAWS CloudFormation
DAmazon 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?
AAttach IAM policies to the instance
BUse VPC peering connections
CModify the EC2 instance security group
DCreate 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?
ABackup fails to complete
BDatabase becomes unavailable
CScheduled backups are deleted
DAutomated backups continue to function
Explanation
Automated backups remain functional even when the DB instance is stopped, while the others misrepresent the behavior of RDS.