Amazon AWS

AWS Certified Developer – Associate

DVA-C02
Popular

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.

492 questions 0 views Free
Start Mock Test Timed · Full-length · Scored

Questions 131–140 of 492

Q131

A company needs to monitor AWS resources in real time. Which service should they use?

  • A AWS CloudTrail
  • B Amazon CloudWatch
  • C AWS Config
  • D Amazon 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?

  • A The function retries automatically
  • B The function is redirected to SQS
  • C An error is logged, function fails
  • D The 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?

  • A Amazon ECS
  • B Amazon RDS
  • C AWS Lambda
  • D Amazon 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?

  • A IAM Policies
  • B S3 Lifecycle Policies
  • C EC2 Instance Roles
  • D CloudTrail
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?

  • A The function continues running indefinitely
  • B It is aborted and returns an error
  • C The results are stored in S3
  • D Nothing 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?

  • A AWS Lambda
  • B Amazon EC2
  • C Amazon RDS
  • D AWS 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?

  • A AWS Secrets Manager
  • B AWS S3
  • C AWS CloudTrail
  • D AWS 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?

  • A Access is always blocked
  • B Access depends on resource policy
  • C Access is granted for permissions
  • D Access 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?

  • A AWS Lambda
  • B Amazon EC2
  • C AWS Elastic Beanstalk
  • D Amazon 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?

  • A Amazon RDS
  • B Amazon DynamoDB
  • C AWS Aurora
  • D Amazon S3
Explanation Amazon DynamoDB is designed for seamless scalability and NoSQL needs, unlike the other options.