DVA-C02
AWS Developer Associate DVA-C02 practice exams
315 questions in 5 timed practice tests. Each test has about 65 questions and a 130-minute limit. The pass mark is 72%. Results are split across the 4 exam domains.
Read the DVA-C02 study guide: what the exam covers, a 4-week plan and the topics people miss.
Exam at a glance
| Practice tests | 5 |
|---|---|
| Questions in total | 315 |
| Questions per test | About 65 |
| Time limit per test | 130 minutes |
| Pass mark | 72% |
| Question types | Single answer and multiple answer (28 multiple-answer questions) |
| Level | Associate |
| Category | Cloud |
These are the settings of our practice tests. Check the official AWS exam page for the current exam format before you book.
Domains and weights
| Domain | Weight | Weight bar | Questions in our bank |
|---|---|---|---|
| Development with AWS Services | 32% | 101 | |
| Security | 26% | 82 | |
| Deployment | 24% | 76 | |
| Troubleshooting and Optimization | 18% | 56 |
Sample questions
Question 1 of 3
A Node.js Lambda handler is declared as exports.handler = async (event) => { s3.putObject(params).promise(); return 'done'; }. The function reports success, but objects often never appear in S3. What is wrong?
- A Async handlers also need the callback parameter; without calling callback(null), Lambda discards in-flight network requests
- B The handler must return an object with statusCode and body; a plain string return makes Lambda cancel pending SDK calls
- C The execution role lacks s3:PutObject, and Lambda swallows AccessDenied errors from un-awaited SDK calls instead of failing the invocation
- D The putObject promise is never awaited, so the handler resolves and the environment freezes before the request finishes (correct answer)
Question 2 of 3
A Lambda function charges customer cards and is triggered from a queue that delivers messages at least once. The team must guarantee a card is never charged twice for the same payment request. What is the best approach?
- A Set maxReceiveCount to 1 in the queue's redrive policy so a payment message is never delivered to the function twice
- B Increase the function timeout and the queue's visibility timeout so a message is not redelivered while its charge is in progress
- C Move to an SQS FIFO queue with content-based deduplication so duplicate payment messages are dropped before the function sees them
- D Use the payment request ID as an idempotency key stored with a DynamoDB conditional write, returning the saved result on repeats (correct answer)
Question 3 of 3
A worker polls an Amazon SQS standard queue and takes about 90 seconds to process each message. The queue uses the default visibility timeout. The team sees many messages processed twice. What is the most likely fix?
- A Increase the queue's visibility timeout to longer than the maximum processing time, for example 2 minutes (correct answer)
- B Enable long polling by setting ReceiveMessageWaitTimeSeconds to 20 so workers receive fewer empty and duplicate responses
- C Reduce the message retention period to 60 seconds so a message that is not deleted quickly expires instead of being delivered again
- D Add a dead-letter queue with maxReceiveCount set to 1
See all 10 free DVA-C02 questions with answers Read them or quiz yourself.
What your score report looks like
Example attempt, DVA-C02 practice test 3
78%
Passed
Pass mark 72%
| Domain | Weight | Your score | % |
|---|---|---|---|
| Development with AWS Services | 32% | 88 | |
| Security | 26% | 81 | |
| Deployment | 24% | 76 | |
| Troubleshooting and Optimization | 18% | 58 |
Study next: Troubleshooting and Optimization. It is below the pass mark and carries 18% of the exam.
Study plans
Two weeks
- Day 1: take practice test 1 in exam mode to get a baseline.
- Days 2 to 5: domain mode on Development with AWS Services and Security, the two most heavily weighted domains.
- Day 6: practice test 2 in exam mode, then the mistakes quiz.
- Days 7 to 12: practice tests 3 to 5, one every other day, each followed by its mistakes quiz.
- Days 13 and 14: final mode. Book the exam when your readiness stays above the pass mark.
Four weeks
- Week 1: one practice test in practice mode, reading every explanation. Note your two lowest domains.
- Week 2: domain mode on those two domains, then a second practice test in exam mode.
- Week 3: practice tests 3 and 4 in exam mode, with the mistakes and flagged quizzes after each.
- Week 4: practice test 5 and final mode until your readiness holds above the pass mark.
Questions about the DVA-C02 practice exams
- Are these real DVA-C02 exam questions?
- No. We write every question ourselves and map it to the published DVA-C02 exam objectives. We do not use leaked or recalled questions.
- Do the time limit and pass mark match the official exam?
- They match the settings of our practice tests. Exam providers change their format from time to time, so check the official exam page before you book.
- Can I try it before I pay?
- Yes. The free mini exam has 15 questions with full explanations and needs no account.
- How long do I keep access?
- A single-exam purchase gives you 12 months of access. All-Access includes this exam for as long as your subscription runs.
- What happens after I finish a test?
- You get a score, a pass or fail against the pass mark, a score per domain and every answer with its explanation.
Related exams
| Exam | Vendor | Level | Questions | Minutes | Price |
|---|---|---|---|---|---|
| AIP-C01AWS Generative AI Developer Pro (AIP-C01) | AWS | Professional | 375 | 180 | $14.99 |
| ANS-C01AWS Advanced Networking ANS-C01 | AWS | Professional | 325 | 170 | $14.99 |
| DOP-C02AWS DevOps Professional DOP-C02 | AWS | Professional | 375 | 180 | $14.99 |
| SAP-C02AWS Architect Professional SAP-C02 | AWS | Professional | 375 | 180 | $14.99 |
| SCS-C03AWS Security Specialty SCS-C03 | AWS | Specialty | 325 | 170 | $14.99 |
| AIB-C01AWS AI Business Strategist AIB-C01 | AWS | Foundational | 325 | 90 | $9.99 |