Associate

AWS Certified Developer - Associate (DVA-C02) Practice Exam

The DVA-C02 exam validates your ability to develop, deploy, and debug cloud-based applications using AWS services like Lambda, DynamoDB, API Gateway, and CodePipeline.

500+
Practice Questions
3
Free Pages
4.9★
Rating
2026
Updated
Start Free Practice → Get Full Access

DVA-C02 Exam Overview

Exam CodeDVA-C02
Full NameAWS Certified Developer - Associate
LevelAssociate
Questions on Exam65
Duration130 minutes
Passing Score720 / 1000
Exam Cost$150 USD
Recommended Study Time40–60 hours
AWSReady Practice Questions500+

Exam Domains

Sample DVA-C02 Practice Questions

Try these free practice questions. Full answers and explanations are included.

Question 1

A company is implementing an application on Amazon EC2 instances. The application needs to process incoming transactions. When the application detects a transaction that is not valid, the application must send a chat message to the company's support team. To send the message, the application needs to retrieve the access token to authenticate by using the chat API. A developer needs to implement a solution to store the access token. The access token must be encrypted at rest and in transit. The access token must also be accessible from other AWS accounts. Which solution will meet these requirements with the LEAST management overhead?

A. Use an AWS Systems Manager Parameter Store SecureString parameter that uses an AWS Key Management Service (AWS KMS) AWS managed key to store the access token. Add a resource-based policy to the parameter to allow access from other accounts. Update the IAM role of the EC2 instances with permissions to access Parameter Store. Retrieve the token from Parameter Store with the decrypt flag enabled. Use the decrypted access token to send the message to the chat.
B. Encrypt the access token by using an AWS Key Management Service (AWS KMS) customer managed key. Store the access token in an Amazon DynamoDB table. Update the IAM role of the EC2 instances with permissions to access DynamoDB and AWS KMS. Retrieve the token from DynamoDB. Decrypt the token by using AWS KMS on the EC2 instances. Use the decrypted access token to send the message to the chat.
C. Use AWS Secrets Manager with an AWS Key Management Service (AWS KMS) customer managed key to store the access token. Add a resource-based policy to the secret to allow access from other accounts. Update the IAM role of the EC2 instances with permissions to access Secrets Manager. Retrieve the token from Secrets Manager. Use the decrypted access token to send the message to the chat.
D. Encrypt the access token by using an AWS Key Management Service (AWS KMS) AWS managed key. Store the access token in an Amazon S3 bucket. Add a bucket policy to the S3 bucket to allow access from other accounts. Update the IAM role of the EC2 instances with permissions to access Amazon S3 and AWS KMS. Retrieve the token from the S3 bucket. Decrypt the token by using AWS KMS on the EC2 instances. Use the decrypted access token to send the massage to the chat.
Show Answer & Explanation

Correct Answer: C. Use AWS Secrets Manager with an AWS Key Management Service (AWS KMS) customer managed key to store the access token. Add a resource-based policy to the secret to allow access from other accounts. Update the IAM role of the EC2 instances with permissions to access Secrets Manager. Retrieve the token from Secrets Manager. Use the decrypted access token to send the message to the chat.

AWS Secrets Manager is the ideal solution for storing sensitive credentials like API access tokens. It provides automatic encryption at rest and in transit, supports resource-based policies for cross-account access, and handles decryption automatically when retrieving secrets. While Parameter Store SecureString can also store encrypted values, Secrets Manager is specifically designed for credential management and offers built-in rotation capabilities. The other options (DynamoDB and S3) require more manual setup for encryption and decryption, resulting in higher management overhead.

Question 2

A company is running Amazon EC2 instances in multiple AWS accounts. A developer needs to implement an application that collects all the lifecycle events of the EC2 instances. The application needs to store the lifecycle events in a single Amazon Simple Queue Service (Amazon SQS) queue in the company's main AWS account for further processing. Which solution will meet these requirements?

A. Configure Amazon EC2 to deliver the EC2 instance lifecycle events from all accounts to the Amazon EventBridge event bus of the main account. Add an EventBridge rule to the event bus of the main account that matches all EC2 instance lifecycle events. Add the SQS queue as a target of the rule.
B. Use the resource policies of the SQS queue in the main account to give each account permissions to write to that SQS queue. Add to the Amazon EventBridge event bus of each account an EventBridge rule that matches all EC2 instance lifecycle events. Add the SQS queue in the main account as a target of the rule.
C. Write an AWS Lambda function that scans through all EC2 instances in the company accounts to detect EC2 instance lifecycle changes. Configure the Lambda function to write a notification message to the SQS queue in the main account if the function detects an EC2 instance lifecycle change. Add an Amazon EventBridge scheduled rule that invokes the Lambda function every minute.
D. Configure the permissions on the main account event bus to receive events from all accounts. Create an Amazon EventBridge rule in each account to send all the EC2 instance lifecycle events to the main account event bus. Add an EventBridge rule to the main account event bus that matches all EC2 instance lifecycle events. Set the SQS queue as a target for the rule.
Show Answer & Explanation

Correct Answer: D. Configure the permissions on the main account event bus to receive events from all accounts. Create an Amazon EventBridge rule in each account to send all the EC2 instance lifecycle events to the main account event bus. Add an EventBridge rule to the main account event bus that matches all EC2 instance lifecycle events. Set the SQS queue as a target for the rule.

Option D is correct because it follows the proper cross-account EventBridge pattern. First, you configure the main account's event bus to accept events from other accounts. Then, each source account creates a rule to forward EC2 lifecycle events to the main account's event bus. Finally, a rule in the main account routes these events to the SQS queue. Option B is incorrect because EventBridge rules cannot directly target cross-account SQS queues. Option A is incorrect because EC2 cannot be configured to directly deliver events to another account's event bus. Option C is inefficient and not event-driven.

See All Free Questions →

Why Practice with AWSReady?

📝
Exam-Realistic Questions
Questions designed to match the difficulty and style of the official DVA-C02 exam.
💡
Detailed Explanations
Every answer includes a clear explanation referencing AWS documentation.
Free to Start
Sample questions available without an account. Premium unlocks all 500+ questions.
🔄
Updated for 2026
Question bank updated regularly to reflect the latest DVA-C02 exam guide.

Frequently Asked Questions — DVA-C02 Exam

How many questions are on the AWS DVA-C02 exam?
The DVA-C02 exam contains 65 questions to be completed in 130 minutes.
What is the passing score for DVA-C02?
The AWS Certified Developer Associate (DVA-C02) passing score is 720 out of 1000.
Is DVA-C02 or SAA-C03 harder?
They are similar in difficulty. DVA-C02 is more focused on development and deployment topics (Lambda, API Gateway, DynamoDB, CodePipeline), while SAA-C03 covers broader architectural concepts.
How long should I study for DVA-C02?
Plan on 4–8 weeks studying 1–2 hours per day. Focus on Lambda, API Gateway, DynamoDB, SQS, SNS, Kinesis, CodeBuild, and CodeDeploy.
What programming knowledge do I need for DVA-C02?
The exam does not require you to write code but does include questions about SDK usage, deployment packages, and application integration patterns.
What topics does DVA-C02 cover?
DVA-C02 covers Lambda, API Gateway, DynamoDB, Cognito, SQS, SNS, Kinesis, S3, ElastiCache, CloudFormation, CodeBuild, CodeDeploy, CodePipeline, and X-Ray.
Are AWSReady DVA-C02 questions representative of the real exam?
Yes. AWSReady DVA-C02 practice questions cover all four exam domains including scenario-based deployment and troubleshooting questions with detailed AWS service explanations.

Related AWS Certifications

Ready to Pass DVA-C02?

Access all 500+ practice questions with interactive quiz mode, progress tracking, and detailed explanations.

Start Interactive Quiz →