AWS · Cloud certification

AWS Developer Associate practice exam

Free AWS Certified Developer – Associate (DVA-C02) practice test with 201 original questions and detailed explanations, organized by the 4 exam domains.

201 questions 4 domains 130 minutes real exam

About the AWS Developer Associate exam

The AWS Certified Developer – Associate validates the ability to build, secure, deploy, and troubleshoot cloud applications on AWS, using services such as Lambda, API Gateway, DynamoDB, SQS, and the AWS developer tools.

Questions
65 (50 scored)
Duration
130 minutes
Passing score
720 / 1000
Exam version
DVA-C02
In this practice bank
201 questions
Domains
4

AWS Developer Associate exam domains

Each domain page lists every practice question with its answer and explanation.

Sample AWS Developer Associate practice questions

One question from each domain. Open "Show answer" for the explanation.

  1. Question 1. A Lambda function written in Python must reuse a database connection across invocations. Where should the connection be created?

    1. Inside the handler, at the start of every invocation
    2. In a separate Lambda layer that runs per request
    3. Outside the handler function, in the initialization code
    4. In an environment variable read by the handler
    Show answer

    Answer: C. Outside the handler function, in the initialization code

    Code outside the handler runs once per execution environment, so warm invocations reuse the connection.

  2. Question 2. What gives a Lambda function permission to write to a DynamoDB table?

    1. Its resource-based policy
    2. Its environment variables
    3. Its execution role
    4. The table's stream settings
    Show answer

    Answer: C. Its execution role

    The execution role is assumed by Lambda when the function runs, and its policies decide which AWS APIs the code can call.

  3. Question 3. What line marks a CloudFormation template as an AWS SAM template?

    1. AWSTemplateFormatVersion: 2010-09-09
    2. Resources: AWS::Serverless::Function
    3. Transform: AWS::Serverless-2016-10-31
    4. Metadata: AWS::SAM::Interface
    Show answer

    Answer: C. Transform: AWS::Serverless-2016-10-31

    The SAM transform expands resources such as AWS::Serverless::Function into standard CloudFormation.

  4. Question 4. Which service traces a request across API Gateway, Lambda, and DynamoDB to show where latency occurs?

    1. AWS CloudTrail
    2. AWS Config
    3. Amazon Inspector
    4. AWS X-Ray
    Show answer

    Answer: D. AWS X-Ray

    X-Ray builds a service map from segments and subsegments recorded along the request path.

See all Development with AWS Services questions

How to prepare for AWS Developer Associate with this practice test

  1. Learn by domain. Use practice mode on one domain at a time and read every explanation, including for questions you got right.
  2. Simulate the exam. Take timed mock exams that sample domains by their official weight, at about 120 seconds per question.
  3. Close the gaps. Review the progress dashboard, drill your weakest domain, and retry previously missed questions.
  4. Check readiness. Aim for a readiness score comfortably above 72% across all domains before booking the real exam.

AWS Developer Associate FAQ

How many questions are on the AWS Developer Associate exam?

The official AWS Certified Developer – Associate (DVA-C02) exam has 65 (50 scored) questions, with 130 minutes to complete it. Our timed simulation uses the same pace per question.

What is the passing score for AWS Developer Associate?

The official passing score is 720 / 1000. This practice test uses 72% as a study target so you can see whether you're consistently at a passing level.

What topics does the AWS Developer Associate exam cover?

It covers 4 domains: Development with AWS Services (32%); Security (26%); Deployment (24%); Troubleshooting and Optimization (18%).

Are these real AWS Developer Associate exam questions?

No. Every question is original, written for this site from the publicly available exam outline. None are copied from the real exam, exam dumps, or commercial question banks. AWS, Amazon Web Services, and AWS Certified are trademarks of Amazon.com, Inc. or its affiliates. This site is not affiliated with AWS.

Is this AWS Developer Associate practice test free?

Yes. All 201 questions, explanations, timed mock exams, and progress charts are free, with no sign-up. Your progress is stored only in your browser.

How should I use these AWS Developer Associate practice questions?

Start in practice mode by domain and read each explanation, then take timed exam simulations weighted like the real exam. Use the "previously missed" pool to review weak areas until your readiness score is comfortably above the pass mark.