Home / AWS / DVA-C02
AWS · DVA-C02

DVA-C02 Exam Practice Questions

AWS Certified Developer – Associate

DVA-C02 English PDF practice questions: 557 questions in source order, with options supported by the source format, answers and available explanations. Access covers this exam only. One-time payment; no automatic renewal.

Exam overview

For developers implementing, securing, deploying and troubleshooting applications that use AWS services.

AWS lists November 30, 2026 as the last testing day for DVA-C02, ahead of DVA-C03.

Exam code
DVA-C02
Official exam / credential
AWS Certified Developer – Associate
Exam format
Single-answer and multiple-response questions
Exam duration
130 minutes
Official exam questions
65 questions
Official exam languages
English, Japanese, Korean, Portuguese (Brazil), Simplified Chinese, Spanish (Latin America)

Official exam languages and practice-question file languages are listed separately. Confirm the exam version and available languages when booking with the provider.

Official sources: Provider reference
Information checked: 2026-10-20

Supported languages

  • English
  • Simplified Chinese
Try before you buy

First 20 practice questions

557 total questions

Questions follow the source order. Expand each answer to see its explanation.

Disclaimer: All questions on ExamPico are compiled from internet sources and are provided for study reference only.

Question 16

Question#16Topic1

A developer has written an AWS Lambda function. The function is CPU-bound. The developer wants to ensure that the function returns responses quickly.
How can the developer improve the function's performance?

  1. A. Increase the function's CPU core count.
  2. B. Increase the function's memory.
  3. C. Increase the function's reserved concurrency.
  4. D. Increase the function's timeout.
Show answer

Answer

B

Question 17

Question#17Topic1

For a deployment using AWS Code Deploy, what is the run order of the hooks for in-place deployments?

  1. A. BeforeInstall -> ApplicationStop -> ApplicationStart -> AfterInstall
  2. B. ApplicationStop -> BeforeInstall -> AfterInstall -> ApplicationStart
  3. C. BeforeInstall -> ApplicationStop -> ValidateService -> ApplicationStart
  4. D. ApplicationStop -> BeforeInstall -> ValidateService -> ApplicationStart
Show answer and explanation

Answer

B

Explanation

For an in-place deployment using AWS CodeDeploy, the run order of the hooks is: ApplicationStop -- BeforeInstall -- AfterInstall -- ApplicationStart This means that the ApplicationStop hook is run first, to stop the current version of the application running on the instances. Then, the BeforeInstall hook is run, to prepare the instance for the new version of the application. The new version of the application is then installed with the AfterInstall hook. Finally, the ApplicationStart hook is run to start the new version of the application. Therefore, the correct answer is option B: ApplicationStop -- BeforeInstall -- AfterInstall -- ApplicationStart.

Question 18

Question#18Topic1

A company is building a serverless application on AWS. The application uses an AWS Lambda function to process customer orders 24 hours a day, 7 days a week. The Lambda function calls an external vendor's HTTP API to process payments.
During load tests, a developer discovers that the external vendor payment processing API occasionally times out and returns errors. The company expects that some payment processing API calls will return errors.
The company wants the support team to receive notifications in near real time only when the payment processing external API error rate exceed 5% of the total number of transactions in an hour. Developers need to use an existing Amazon Simple Notification Service (Amazon SNS) topic that is configured to notify the support team.
Which solution will meet these requirements?

  1. A. Write the results of payment processing API calls to Amazon CloudWatch. Use Amazon CloudWatch Logs Insights to query the CloudWatch logs. Schedule the Lambda function to check the CloudWatch logs and notify the existing SNS topic.
  2. B. Publish custom metrics to CloudWatch that record the failures of the external payment processing API calls. Configure a CloudWatch alarm to notify the existing SNS topic when error rate exceeds the specified rate.
  3. C. Publish the results of the external payment processing API calls to a new Amazon SNS topic. Subscribe the support team members to the new SNS topic.
  4. D. Write the results of the external payment processing API calls to Amazon S3. Schedule an Amazon Athena query to run at regular intervals. Configure Athena to send notifications to the existing SNS topic when the error rate exceeds the specified rate.
Show answer

Answer

B

Question 19

Question#19Topic1

A company is offering APIs as a service over the internet to provide unauthenticated read access to statistical information that is updated daily. The company uses Amazon API Gateway and AWS Lambda to develop the APIs. The service has become popular, and the company wants to enhance the responsiveness of the APIs.
Which action can help the company achieve this goal?

  1. A. Enable API caching in API Gateway.
  2. B. Configure API Gateway to use an interface VPC endpoint.
  3. C. Enable cross-origin resource sharing (CORS) for the APIs.
  4. D. Configure usage plans and API keys in API Gateway.
Show answer

Answer

A

Question 20

Question#20Topic1

A developer wants to store information about movies. Each movie has a title, release year, and genre. The movie information also can include additional properties about the cast and production crew. This additional information is inconsistent across movies. For example, one movie might have an assistant director, and another movie might have an animal trainer.
The developer needs to implement a solution to support the following use cases:
For a given title and release year, get all details about the movie that has that title and release year.
For a given title, get all details about all movies that have that title.
For a given genre, get all details about all movies in that genre.
Which data store configuration will meet these requirements?

  1. A. Create an Amazon DynamoDB table. Configure the table with a primary key that consists of the title as the partition key and the release year as the sort key. Create a global secondary index that uses the genre as the partition key and the title as the sort key.
  2. B. Create an Amazon DynamoDB table. Configure the table with a primary key that consists of the genre as the partition key and the release year as the sort key. Create a global secondary index that uses the title as the partition key.
  3. C. On an Amazon RDS DB instance, create a table that contains columns for title, release year, and genre. Configure the title as the primary key.
  4. D. On an Amazon RDS DB instance, create a table where the primary key is the title and all other data is encoded into JSON format as one additional column.
Show answer

Answer

A

Downloads and personal use

  • Purchase this exam question set separately with 1, 3, 6 or 12 months of download access.
  • After payment confirmation, your library shows the download link and exact expiry time.
  • Download again during your term. Purchase a new term after expiry.
  • PDFs are licensed for personal study only and must not be resold or shared publicly.
  • Files already saved to your device are not remotely deleted when access expires.
How to choose your certification