Skip to main content
Cloud Developer & DevOps ⭐ Premium ⭐ Featured

AWS Certified Developer Associate (DVA-C02)

By Webmaster Certland English 📝 340 questions ❤️ 0 likes

Practice exam for the AWS Certified Developer Associate (DVA-C02). Covers development with AWS services, security, deployment, and troubleshooting and optimization of serverless and cloud-native applications.

⭐ Premium Updated Mar 2026

Unlock all 340 AWS Certified Developer Associate (DVA-C02) questions

Full simulation · Detailed explanations · Unlimited attempts

  • 340 questions — ~5 full-length simulations
  • Detailed explanations — why each answer is right or wrong
  • Unlimited attempts — retake as many times as needed
  • Smart Practice + Focus Mode + no ads
340
Questions
All certifications
from $4.90/mo

Sample Questions — AWS Certified Developer Associate (DVA-C02)

5 free sample questions from this practice exam. Correct answers are highlighted.

1. A developer is configuring an AWS Lambda function that processes images uploaded to Amazon S3. The function requires 1.5 GB of memory to run its image transformation logic. What is the maximum timeout value the developer can set for this Lambda function?

A 60 seconds
B 300 seconds
C 900 seconds ✓ Correct
D 3600 seconds

2. A developer needs to store a database connection string securely and make it available to an AWS Lambda function at runtime without hardcoding it in the function code. The value rarely changes. What is the simplest approach?

A Hardcode the connection string directly in the Lambda function source code
B Store the connection string as a Lambda environment variable encrypted with AWS KMS ✓ Correct
C Use AWS Secrets Manager and call the GetSecretValue API from within the Lambda function
D Store the connection string in an Amazon S3 object and read it on every Lambda invocation

3. A developer needs to grant an EC2 instance access to an S3 bucket without embedding AWS credentials in the application code. What is the recommended approach?

A Attach an IAM role with the required S3 permissions to the EC2 instance ✓ Correct
B Embed the IAM user's access key and secret key directly in the application source code
C Store the IAM user's access key and secret key as OS environment variables on the instance
D Include the access key and secret key in the application's configuration file on the instance

4. A developer is writing an AWS Lambda function that needs to read secrets from AWS Secrets Manager. Which configuration correctly follows the principle of least privilege?

A Attach the AWS managed policy AdministratorAccess to the Lambda execution role
B Create an execution role with a policy granting secretsmanager:GetSecretValue on the specific secret ARN and attach it to the Lambda function ✓ Correct
C Hardcode the Secrets Manager endpoint credentials inside the Lambda function's environment variables
D Pass IAM user access keys to the Lambda function as invocation parameters

5. A developer needs to deploy a new version of an AWS Elastic Beanstalk application to a production environment that currently serves live traffic. The deployment must avoid any downtime, and the company is willing to temporarily run double the number of EC2 instances during the update. Which deployment policy should the developer choose?

A All-at-once
B Rolling
C Immutable ✓ Correct
D Rolling with additional batch

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Information

Questions 340
Time 2h 10min
Difficulty Medium
Minimum Score 72.00%


💰 ROI

Official exam $150.00
CertLand $4.90/mo
Prepare for $150 for less than a coffee/mo

Study Guides & Articles

Related Exams

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.