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.
A company needs to monitor AWS resources in real time. Which service should they use?
AAWS CloudTrail
BAmazon CloudWatch
CAWS Config
DAmazon GuardDuty
Explanation
Amazon CloudWatch is designed for real-time monitoring, whereas CloudTrail tracks API calls and other services focus on compliance and security.
Q132
What happens when an AWS Lambda function times out?
AThe function retries automatically
BThe function is redirected to SQS
CAn error is logged, function fails
DThe function completes without issues
Explanation
When a Lambda function times out, it logs an error and fails because it did not complete execution within the configured time limit.
Q133
Which service allows you to run containerized applications at scale?
AAmazon ECS
BAmazon RDS
CAWS Lambda
DAmazon EC2
Explanation
Amazon ECS is specifically designed for container orchestration, while others serve different purposes.
Q134
A company needs to provide its employees with limited access to specific S3 buckets. What should they use?
AIAM Policies
BS3 Lifecycle Policies
CEC2 Instance Roles
DCloudTrail
Explanation
IAM Policies can specify access at the bucket level, while the others do not govern access controls.
Q135
What happens when an AWS Lambda function exceeds the configured maximum execution timeout?
AThe function continues running indefinitely
BIt is aborted and returns an error
CThe results are stored in S3
DNothing happens, it finishes successfully
Explanation
When a Lambda function times out, it is aborted and an error is returned; it does not run indefinitely or succeed.
Q136
Which service allows you to run code without managing servers?
AAWS Lambda
BAmazon EC2
CAmazon RDS
DAWS Fargate
Explanation
AWS Lambda lets you execute code without provisioning servers; EC2 and RDS involve server management, while Fargate runs containers, requiring definitions.
Q137
A company needs to securely manage credentials for its AWS applications. Which service should they use?
AAWS Secrets Manager
BAWS S3
CAWS CloudTrail
DAWS Config
Explanation
AWS Secrets Manager enables secure credential storage; S3 is for storage, CloudTrail is for logging, and Config is for compliance.
Q138
What happens when you set an IAM policy to deny all actions?
AAccess is always blocked
BAccess depends on resource policy
CAccess is granted for permissions
DAccess is limited to admins
Explanation
A deny policy takes precedence and blocks access; resource policies cannot grant access over a deny, and admins are not exempt.
Q139
Which AWS service is best for serverless application deployment?
AAWS Lambda
BAmazon EC2
CAWS Elastic Beanstalk
DAmazon RDS
Explanation
AWS Lambda enables event-driven, serverless execution, while others require server management.
Q140
A company needs a scalable NoSQL database solution. Which service should they use?
AAmazon RDS
BAmazon DynamoDB
CAWS Aurora
DAmazon S3
Explanation
Amazon DynamoDB is designed for seamless scalability and NoSQL needs, unlike the other options.