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.
You are configuring an S3 bucket to allow only specific users to upload files. What would you set?
ABucket policy
BS3 storage class
CObject tagging
DBucket lifecycle policy
Explanation
A bucket policy controls user permissions; others do not manage permissions.
Q193
Which service automatically scales your EC2 instances?
AAuto Scaling
BCloudFormation
CCloudWatch
DElastic Load Balancing
Explanation
Auto Scaling automatically adjusts the number of EC2 instances, while others provide different functionalities.
Q194
A company needs to create a secure VPN connection. Which AWS service should they use?
AAWS Direct Connect
BAWS Site-to-Site VPN
CAWS Transit Gateway
DAWS CloudTrail
Explanation
AWS Site-to-Site VPN securely connects on-premises networks to AWS, while others connect different resources.
Q195
What happens when two IAM policies are attached to a user?
APolicies are combined with OR
BPolicies are applied sequentially
COne policy overrides the other
DUser has no permissions
Explanation
IAM policies are combined with an OR condition; if either allows an action, it is permitted.
Q196
A company needs to deploy a microservices application. Which AWS service should they use to manage container orchestration?
AAWS Fargate
BAWS Lambda
CAmazon EC2
DAWS CodePipeline
Explanation
AWS Fargate manages containers without servers; Lambda is for serverless functions.
Q197
You are configuring an IAM policy to allow users to list S3 buckets, but you want to restrict them from deleting any bucket. What is essential to include in the policy?
As3:DeleteBucket
Bs3:ListBucket
Cs3:GetObject
Ds3:PutObject
Explanation
s3:ListBucket allows listing; DeleteBucket should be explicitly denied or omitted.
Q198
What happens when an RDS instance is set to Multi-AZ deployment but you only use one Availability Zone?
AAutomatic failover to another AZ.
BIncreased cost with no benefits.
CData loss on failure.
DEnhanced performance guaranteed.
Explanation
Multi-AZ incurs higher costs but offers benefits only when multiple AZs are used.
Q199
Which service would you use to automate deployment in AWS?
AAWS CodeDeploy
BAmazon EC2
CAWS Lambda
DAmazon S3
Explanation
AWS CodeDeploy specifically automates deployment processes, while the others serve different functions.
Q200
A company needs quicker access to frequently accessed database data. Which AWS service is most suitable?
AAmazon S3
BAmazon DynamoDB
CAmazon RDS
DAmazon ElastiCache
Explanation
Amazon ElastiCache is ideal for caching and quick access, while the others are more general database services.