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 delete an S3 bucket that contains versioned objects?
AAll versions are permanently deleted.
BOnly the latest version is deleted.
CVersions are restored automatically.
DBucket is deleted but versions remain.
Explanation
All versions are permanently deleted upon bucket deletion; only the latest version remains if versioning is not configured.
Q112
Which AWS service provides a managed container orchestration solution?
AAmazon Fargate
BAmazon SageMaker
CAWS Lambda
DAmazon EC2
Explanation
Amazon Fargate manages containers, while the others do not specialize in orchestration.
Q113
A company needs to run a serverless application that processes files uploaded to S3. What service should they use?
AAWS Batch
BAWS Step Functions
CAWS Lambda
DAmazon EC2
Explanation
AWS Lambda is designed for serverless processing of events, including S3 uploads.
Q114
What happens when an IAM policy denies permissions that another policy allows?
AAllow permissions take precedence
BDeny permissions take precedence
CPolicy results in a conflict
DPermissions are combined
Explanation
In IAM, explicit deny always takes precedence over allow permissions.
Q115
Which service is best for caching API responses in AWS?
AAmazon ElastiCache
BAWS Glacier
CAWS Step Functions
DAmazon DynamoDB
Explanation
ElastiCache is designed specifically for caching, while the others serve different purposes.
Q116
You are configuring IAM roles for an application on EC2. Which policy type should you use for allowing access to specific S3 buckets?
AManaged Policy
BInline Policy
CService Control Policy
DResource Policy
Explanation
Inline Policies are specific to an identity (role in this case) and can grant bucket access.
Q117
What happens when an EC2 instance is abruptly stopped without creating an AMI?
AData on instance store is retained
BData on instance store is lost
CData is stored in S3
DInstance automatically restarts
Explanation
Data on instance store volumes is ephemeral and lost when the instance stops without preservation.
Q118
Which service provides managed message queuing?
AAmazon SQS
BAWS Lambda
CAmazon SNS
DAmazon CloudWatch
Explanation
Amazon SQS is a fully managed message queuing service; others do not serve this purpose.
Q119
A company needs to deploy applications in multiple regions with zero downtime. Which strategy should they use?
ASingle region with High Availability
BMulti-Region Active-Active architecture
CUse AWS Lambda only
DCentralized database in one region
Explanation
A Multi-Region Active-Active architecture ensures high availability across regions; other options don’t fulfill zero downtime requirement effectively.
Q120
You are configuring an IAM user with permissions to access S3. What happens if you do not attach a policy?
AUser has full access to S3
BUser can read S3 objects only
CUser cannot access S3
DUser can write S3 objects only
Explanation
Without an attached policy, the user has no permissions and cannot access S3; other options inaccurately imply some access rights.