AWS Certified Developer – Associate (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.
Exam status: DVA-C02 is retiring: the last day to take it is November 30, 2026. AWS opened registration for its replacement, DVA-C03, on October 27, 2026, with different domain weights (Development 30%, Security 26%, Deployment 22%, Troubleshooting 22%). This question bank targets DVA-C02.
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
What is the DVA-C02 exam?
The AWS Certified Developer – Associate (DVA-C02) is an associate-level AWS certification exam. It has 65 questions, runs 130 minutes, costs $150 and needs a passing score of 720/1000. The exam covers 4 domains: Development with AWS Services (32%); Security (26%); Deployment (24%); Troubleshooting and Optimization (18%). AWS delivers it through Pearson VUE, at a test center or online with a proctor. CertSharp's DVA-C02 practice test has 500 questions with explanations, and 30 questions per session are free. Last reviewed November 21, 2026.
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).
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.
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.
Question 4AWS LambdaEasy
A developer needs to pass a database hostname to a Lambda function without hardcoding it in the source code. Which built-in mechanism is simplest?
A
Store the hostname in a Lambda layer attached to the function package.
B
Pass the hostname through the function memory configuration setting at deploy.
C
Define a Lambda environment variable that holds the database hostname value.
D
Embed the hostname in the function alias used for the production traffic path.
Show answer & explanation
Correct answer: C — Define a Lambda environment variable that holds the database hostname value.
Environment variables provide a simple way to supply configuration such as a hostname to a function at runtime. Layers carry shared code, memory configuration tunes performance, and aliases point to versions, none of which are meant to hold configuration values like a hostname.
Question 5Amazon 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, reading its items.
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, reading its items.
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.
Question 6Fault-tolerant designMedium
A microservice calls a downstream API that is intermittently slow, and retries are overwhelming it during outages. Which resilience pattern should the developer add?
A
A fixed-interval retry loop that calls the API at a steady rate during outages.
B
A larger connection pool so more requests reach the slow downstream API host.
C
A synchronous fan-out that calls the downstream API from many worker threads.
D
A circuit breaker that stops calls after repeated failures and retries later.
Show answer & explanation
Correct answer: D — A circuit breaker that stops calls after repeated failures and retries later.
A circuit breaker trips after repeated failures, fails fast, and periodically tests recovery, preventing retry storms. Fixed-interval retries and larger pools both increase pressure on a struggling dependency, and synchronous fan-out multiplies load rather than relieving it.
Question 7Amazon 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.
Question 8Amazon SNSEasy
An SNS topic fans out to multiple SQS queues, but one consumer should receive messages whose attribute type equals ORDER. How can delivery be limited to relevant messages?
A
Add a filter expression on the SQS queue to drop messages without the attribute.
B
Create a separate topic and republish matching messages from the consumer code.
C
Enable raw message delivery so the queue ignores non-matching message types here.
D
Apply an SNS subscription filter policy that matches the message attribute type ORDER.
Show answer & explanation
Correct answer: D — Apply an SNS subscription filter policy that matches the message attribute type ORDER.
Subscription filter policies evaluate message attributes at the topic and deliver matching messages to that subscription, reducing downstream filtering. SQS queues cannot filter inbound messages by attribute. Republishing adds complexity, and raw message delivery changes payload format without filtering content.
Question 9Amazon CognitoMedium
A mobile app must let users sign in and then call AWS services directly with temporary AWS credentials scoped to their identity. Which Cognito component issues those credentials?
A
A Cognito identity pool that exchanges a token for temporary AWS credentials.
B
A Cognito user pool that returns long-lived AWS access keys after each sign-in.
C
An IAM user created per app user to provide direct AWS credentials at runtime.
D
An API Gateway key mapped to each user for direct AWS service calls instead.
Show answer & explanation
Correct answer: A — A Cognito identity pool that exchanges a token for temporary AWS credentials.
Identity pools, also called federated identities, exchange a verified identity token for temporary AWS credentials via STS, scoped by an IAM role. User pools authenticate users and issue tokens but not AWS credentials directly. Per-user IAM users do not scale and are discouraged, and API keys are for usage metering, not AWS credentials.
Question 10Amazon API GatewayMedium
A developer builds a high-throughput HTTP API that proxies to Lambda and wants the lowest latency and cost, without needing usage plans or request validation. Which API Gateway type fits?
A
An HTTP API, which offers lower latency and cost than a REST API does.
B
A REST API with caching enabled to reduce its higher baseline request cost.
C
A WebSocket API configured for one-way request and response traffic patterns.
D
A private REST API exposed through an interface VPC endpoint for added speed.
Show answer & explanation
Correct answer: A — An HTTP API, which offers lower latency and cost than a REST API does.
HTTP APIs are designed for low-latency, cost-effective proxying and lack some advanced REST features such as request validation and usage plans. REST APIs cost more and add features not needed here. WebSocket APIs serve bidirectional messaging, and a private REST API addresses network isolation, not cost or latency.
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.
Everything you need to know about AWS Certified Developer – Associate
Is DVA-C02 being retired?
Yes. AWS lists November 30, 2026 as the last day to take DVA-C02. Registration for the replacement exam, DVA-C03, opened on October 27, 2026, and it weights the domains differently: Development 30%, Security 26%, Deployment 22%, and Troubleshooting and Optimization 22%. This 500-question bank is written for DVA-C02.
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.