AWSUpdated 2026Last reviewed

DVA-C02 Practice Test

Build, Deploy, and Debug on AWS. Pass DVA-C02.

500 scenario-based practice questions covering development with AWS services, security, deployment, and troubleshooting. Built to match the developer-focused depth of the real DVA-C02 exam.

No credit card required · Upgrade to 500 questions for $11.99

500 Exam-Style Questions
7-Day Money-Back Guarantee

Is this for you?

Your DVA-C02 exam is in the next 2–4 weeks
You've studied the concepts but aren't sure you'll pass
You want questions harder than the real exam
You want to understand why answers are correct, not just memorize

Not for you if:

You're looking for braindumps or exam leaks
You haven't started studying the concepts yet

The AWS Certified Developer – Associate (DVA-C02) is a associate-level AWS certification. The exam has 65 questions, runs 130 minutes, costs $150, and requires a passing score of 720/1000. CertSharp provides 500 exam-style DVA-C02 practice questions — 30 free with no credit card — each with a detailed explanation.

Start 2–3 weeks before your exam for best results
Updated for 2026 exam blueprint
Detailed explanations for every question

Exam Overview

DVA-C02 Exam Details

Know exactly what to expect on exam day

Questions

65

Duration

130 minutes

Passing Score

720/1000

Exam Cost

$150

Compare this fee with other certifications in our exam cost comparison, or check your readiness with the free DVA-C02 readiness quiz.

Coverage

Exam Domains Covered

Every question maps to an official DVA-C02 domain

1

Development with AWS Services (32%)

2

Security (26%)

3

Deployment (24%)

4

Troubleshooting and Optimization (18%)

Why CertSharp

Built for Exam Day, Not Just Study Time

Study guides teach concepts. We prepare you for the actual DVA-C02 exam.

1

Questions test what developers actually do on AWS — Lambda event sources, DynamoDB access patterns, API Gateway integrations, and IAM least-privilege policies

2

Every explanation clarifies SDK behavior, retry/backoff, and deployment mechanics (CodeDeploy, SAM, CloudFormation) so debugging questions feel familiar

3

Calibrated harder than the live exam: a steady 80% here predicts a comfortable DVA-C02 pass

4

Updated for 2026 — current Lambda runtimes, DynamoDB features, and CI/CD service guidance

Free Sample Questions

DVA-C02 Practice Questions (Free Sample)

Real DVA-C02 exam-style questions from our 500-question AWS Certified Developer – Associate bank, each with the correct answer and a detailed explanation.

Question 1 — DVA-C02

A developer needs a Lambda function to process items from a DynamoDB table whenever rows are inserted or updated, with ordering preserved per item and automatic retries on failure. Which approach should the developer use?

  • A

    Poll the DynamoDB table on a schedule using Amazon EventBridge rules

  • B

    Enable DynamoDB Streams and configure the function with the stream as an event source

  • C

    Publish changes to an Amazon SNS topic and subscribe the Lambda function

  • D

    Write changes to an Amazon SQS standard queue consumed by the function

Correct answer: B — Explanation

DynamoDB Streams capture item-level changes in order per partition key and integrate natively with Lambda as an event source, with built-in retries and checkpointing. Scheduled polling (A) adds latency and misses ordering. SNS (C) and SQS standard (D) require the app to publish changes explicitly and do not guarantee per-item ordering (SQS standard is best-effort ordering).

  1. Question 2AWS SDKMedium

    An application using an AWS SDK occasionally receives ProvisionedThroughputExceededException from DynamoDB. What is the recommended client-side handling?

    • A

      Retry the request with exponential backoff and jitter to spread out the retries.

    • B

      Retry the request immediately in a tight loop until the call finally succeeds.

    • C

      Switch the SDK to synchronous mode so requests are throttled in strict order.

    • D

      Disable SDK retries so the application fails fast on the very first error seen.

    Show answer & explanation

    Correct answer: A — Retry the request with exponential backoff and jitter to spread out the retries.

    Exponential backoff with jitter spaces out retries and reduces contention during throttling, which most AWS SDKs apply by default. Immediate tight retries amplify load. Synchronous mode does not address throttling, and disabling retries removes resilience to transient errors.

  2. Question 3IdempotencyMedium

    A payment Lambda function is sometimes invoked more than once for the same SQS message after a transient error. How can the developer prevent duplicate charges?

    • A

      Switch the function to provisioned concurrency so retries are suppressed at scale.

    • B

      Increase the SQS visibility timeout so the message is processed a single time.

    • C

      Move the queue to a FIFO type, which removes the need for application checks.

    • D

      Store a unique business ID as an idempotency key in DynamoDB to skip duplicates.

    Show answer & explanation

    Correct answer: D — Store a unique business ID as an idempotency key in DynamoDB to skip duplicates.

    Storing a processed idempotency key such as the order ID in DynamoDB with a conditional write lets the function detect and skip duplicates. Provisioned concurrency affects warm capacity, not retries. A longer visibility timeout reduces but does not eliminate duplicates, and FIFO reduces duplicates without guaranteeing exactly-once application behavior.

  3. Question 4Amazon DynamoDBMedium

    A developer needs to retrieve all items for a specific customer ID from a DynamoDB table with high efficiency. Which operation should be used?

    • A

      A Query on the partition key equal to the customer ID to read matching items directly.

    • B

      A Scan with a filter expression on the customer ID across the entire table.

    • C

      A BatchGetItem call that returns items grouped by their customer ID value.

    • D

      A GetItem call passing the customer ID as the sort key condition value.

    Show answer & explanation

    Correct answer: A — A Query on the partition key equal to the customer ID to read matching items directly.

    Query reads items by partition key and is efficient because it targets a single partition. Scan reads the whole table and then filters, consuming far more capacity. BatchGetItem needs exact primary keys for each item, and GetItem returns a single item by full primary key, not a customer's set.

  4. Question 5AWS LambdaEasy

    A developer wants an AWS Lambda function to process objects as soon as they are uploaded to an Amazon S3 bucket. Which approach invokes the function automatically?

    • A

      Schedule the Lambda function with Amazon EventBridge to poll the bucket each minute.

    • B

      Enable S3 Transfer Acceleration so the bucket pushes objects to the function on write.

    • C

      Configure an S3 event notification that triggers the Lambda function on object-created events.

    • D

      Mount the S3 bucket to the function with Amazon EFS so writes trigger the handler.

    Show answer & explanation

    Correct answer: C — Configure an S3 event notification that triggers the Lambda function on object-created events.

    S3 event notifications invoke Lambda directly on s3:ObjectCreated events, giving near real-time processing with no polling. EventBridge scheduling polls on a timer and adds latency. Transfer Acceleration only speeds uploads and does not invoke functions, and EFS provides shared storage, not event delivery.

  5. Question 6Amazon S3Easy

    A developer needs to move infrequently accessed log files to cheaper storage automatically after 30 days while keeping them retrievable. Which S3 feature does this?

    • A

      An S3 event notification that copies objects to a cheaper bucket after 30 days.

    • B

      An S3 Lifecycle rule that transitions objects to a lower-cost class after 30 days.

    • C

      S3 Transfer Acceleration, which reduces the storage cost of aging objects fast.

    • D

      S3 Cross-Region Replication, which moves old objects to a colder Region tier.

    Show answer & explanation

    Correct answer: B — An S3 Lifecycle rule that transitions objects to a lower-cost class after 30 days.

    Lifecycle rules transition objects to classes such as S3 Standard-IA or Glacier on a schedule. Event notifications trigger processing but do not manage tiering. Transfer Acceleration speeds transfers and does not change cost class, and replication copies objects across Regions without changing tiers automatically.

  6. Question 7Amazon SNSEasy

    A developer needs one published message to be delivered to several Amazon SQS queues for parallel processing. Which pattern achieves this fan-out?

    • A

      Send the message to one SQS queue configured to copy itself to the others.

    • B

      Publish to an SNS topic that has each SQS queue subscribed to it.

    • C

      Use an EventBridge schedule to push the message to each queue each minute.

    • D

      Write the message to S3 and let each queue read it on object creation event.

    Show answer & explanation

    Correct answer: B — Publish to an SNS topic that has each SQS queue subscribed to it.

    SNS fan-out publishes a message to a topic that delivers a copy to every subscribed SQS queue, enabling parallel consumers. SQS queues cannot replicate themselves. EventBridge scheduling is timer-based, not message-driven, and S3 polling is an indirect workaround, not the intended pattern.

  7. Question 8Amazon API GatewayMedium

    A developer wants API Gateway to reject requests with an invalid JSON body before they reach the backend Lambda function. Which feature should be used?

    • A

      A usage plan with an API key that blocks malformed requests at the edge layer.

    • B

      Request validation with a model that enforces the required JSON schema at the API.

    • C

      A Lambda authorizer that inspects each request body for schema violations first.

    • D

      A gateway response mapping that converts invalid bodies into empty payloads now.

    Show answer & explanation

    Correct answer: B — Request validation with a model that enforces the required JSON schema at the API.

    API Gateway request validation checks required parameters and body against a JSON Schema model and returns 400 before invoking the backend. Usage plans throttle and meter by API key, not validate payloads. A Lambda authorizer handles authorization context, and gateway responses customize error output rather than validate input.

  8. Question 9Architectural patternsMedium

    A developer is decoupling a monolith so an order service can emit an event and several independent services react without the order service knowing about them. Which pattern is this?

    • A

      Choreography using events, where services react independently to published events.

    • B

      Orchestration, where a central controller invokes each service in fixed sequence.

    • C

      Synchronous request-response, where the order service calls each downstream service.

    • D

      Tight coupling, where services share one database table to coordinate their work.

    Show answer & explanation

    Correct answer: A — Choreography using events, where services react independently to published events.

    Event choreography lets services react to events independently, reducing coupling between producers and consumers. Orchestration centralizes control in a coordinator. Synchronous calls couple the caller to each callee, and sharing a database table tightly couples services through schema.

  9. Question 10Amazon EventBridgeMedium

    A developer wants to run a Lambda function whenever an EC2 instance changes to the stopped state. Which EventBridge construct routes this event?

    • A

      An EventBridge schedule that polls EC2 each minute for newly stopped instances.

    • B

      An EventBridge rule with an event pattern matching EC2 instance state-change events.

    • C

      A CloudWatch metric alarm that publishes the instance state to the target function.

    • D

      An SQS queue subscribed to EC2 so it forwards state changes to the target function.

    Show answer & explanation

    Correct answer: B — An EventBridge rule with an event pattern matching EC2 instance state-change events.

    EventBridge rules match AWS service events with an event pattern and route them to targets such as Lambda in near real time. A schedule fires on a timer, not on state changes. CloudWatch alarms act on metric thresholds, and SQS does not subscribe directly to EC2 state events.

Want more DVA-C02 practice questions?

Take the free DVA-C02 practice test: 30 questions per session with instant explanations. Unlock all 500 questions plus timed exam mode for $11.99 one-time.

Start the Free 30-Question Practice Test

Pricing

Choose Your Plan

Start free, upgrade when you're ready

Free

Good for exploring the platform

$0
  • 30 practice questions
  • Practice mode only
  • Progress tracking
  • No exam simulation mode
Start Free
POPULAR

DVA-C02 Access

Best for exam prep in 2–4 weeks

$11.99one-time
  • 500 practice questions
  • Practice & Exam modes
  • Detailed explanations
  • Lifetime access
Get DVA-C02 Access — $11.99

7-day money-back guarantee

BEST VALUE

Pro — All Certs

Planning multiple certifications

$9.99/month
  • ALL certifications included
  • Unlimited questions
  • New certs added free
  • Cancel anytime
View Pro Plans

Save 30% vs buying individually

Your DVA-C02 Exam Won't Wait

Score 80% on two full CertSharp mock exams and you are calibrated to pass the live DVA-C02 exam.

Don't risk $150 on the real exam without testing yourself first.

Start Free Practice Now

No credit card required · 30 free questions · Upgrade for $11.99 when ready

Official Certification Resources

Our practice questions align with official exam objectives. Study official materials first, then use CertSharp to test your readiness.

View Official DVA-C02 Exam Details

FAQ

DVA-C02 Frequently Asked Questions

Everything you need to know about AWS Certified Developer – Associate

What is the DVA-C02 exam?
DVA-C02 is the AWS Certified Developer – Associate exam. It validates developing, deploying, and debugging applications on AWS. The exam costs $150, contains 65 questions, and requires a passing score of 720 out of 1000.
Is the AWS Developer Associate worth it?
Yes — DVA-C02 is highly valued for software and DevOps roles working on AWS. It proves practical skills with serverless, SDKs, security, and CI/CD, and pairs well with Solutions Architect Associate for a strong cloud profile.
How hard is DVA-C02?
DVA-C02 is moderately challenging and more code- and service-detail oriented than the architect exam. Expect questions on Lambda, DynamoDB, API Gateway, IAM, and deployment tooling. Most candidates need 6–10 weeks of study plus hands-on coding.
Do I need coding experience for DVA-C02?
Yes — DVA-C02 assumes you can read and reason about application code and AWS SDK usage. AWS recommends one or more years of hands-on experience developing applications with AWS services, though strong study can substitute for some of it.
How many questions are on DVA-C02?
The DVA-C02 exam has 65 questions (50 scored, 15 unscored) with a 130-minute time limit. Questions are multiple-choice and multiple-response. The passing score is 720 out of 1000.
What is the DVA-C02 passing score?
The DVA-C02 passing score is 720 out of 1000. AWS uses scaled scoring across the four domains, so the exact number of correct answers required is not published.
How long does it take to prepare for DVA-C02?
Most candidates prepare in 6–10 weeks studying 1–2 hours per day. Focus on Lambda, DynamoDB, API Gateway, IAM, encryption (KMS), and deployment services (CloudFormation, SAM, CodeDeploy, CodePipeline), and complete several mock exams.
How long is the DVA-C02 certification valid?
AWS Developer – Associate is valid for 3 years. You can recertify by passing a higher-level exam in the track or by retaking the current Developer exam before it expires.
How much does the DVA-C02 exam cost?
The AWS Certified Developer – Associate (DVA-C02) exam costs $150 USD, plus applicable taxes. It has 65 questions, a 130-minute time limit, and a passing score of 720 out of 1000.
Is there a free DVA-C02 practice test?
Yes. CertSharp offers a free DVA-C02 practice test for the AWS Developer – Associate exam: 30 questions per session with detailed explanations, no credit card required. The full 500-question DVA-C02 bank, including timed exam mode, is $11.99 one-time with lifetime access.