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 an AWS Lambda function times out during execution?
AThe function continues running.
BThe function produces output.
CA timeout error is returned.
DThe function automatically retries.
Explanation
A timeout results in an error response; it does not automatically retry.
Q82
Which AWS service facilitates the deployment of serverless applications?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAWS CloudFormation
Explanation
AWS Lambda is designed for serverless deployments, while others are primarily for compute or database management.
Q83
A company needs to ensure that its S3 buckets are not publicly accessible. What should they do?
AEnable versioning on the buckets
BApply a bucket policy for public access
CUse IAM roles for all users
DTurn off Block Public Access settings
Explanation
Applying a bucket policy can control access; versioning and IAM roles do not restrict public access.
Q84
What happens when you invalidate a CloudFront cache?
ACache entries are deleted instantly
BCloudFront starts serving stale content
CAll requests are sent to origin
DCost increases immediately without limit
Explanation
Invalidation forces CloudFront to fetch content from the origin, disregarding cached versions until the new ones are fetched.
Q85
Which AWS service is specifically designed for event-driven computing?
AAWS Lambda
BAmazon EC2
CAmazon S3
DAWS CloudFormation
Explanation
AWS Lambda allows you to run code in response to events, making it ideal for event-driven computing; the others serve different purposes.
Q86
A company needs to deploy a global application with low latency. What should they use?
AAWS CloudFront
BAmazon RDS
CAWS Direct Connect
DAWS Elastic Beanstalk
Explanation
AWS CloudFront is a content delivery network that reduces latency by caching content globally, while the others focus on database or deployment services.
Q87
You are configuring an IAM policy for a developer, ensuring they have view-only permissions. What should the policy include?
As3:ListBucket
Bs3:DeleteObject
Cs3:PutObject
Ds3:CreateBucket
Explanation
The 's3:ListBucket' permission allows viewing bucket contents; the others permit actions that modify or create resources.
Q88
Which service is best for automated code deployment in AWS?
AAWS CodeDeploy
BAWS Lambda
CAmazon CloudFront
DAmazon RDS
Explanation
AWS CodeDeploy automates code deployments while others serve different purposes.
Q89
A company needs to securely manage access to multiple AWS services. What should they use?
AAWS IAM Roles
BAWS Organizations
CAmazon CloudWatch
DAWS Lambda
Explanation
AWS IAM Roles allow secure access management, unlike the other options.
Q90
What happens when an EC2 instance reaches its maximum EBS IOPS limit?
APerformance slows down
BInstance shuts down
CData is lost
DEBS volume gets deleted
Explanation
Performance slows down but the instance continues running without data loss.