December 1, 2026 is the last day anyone can sit DVA-C02. AWS has already named the replacement, DVA-C03, with registration opening on October 27, which leaves about five weeks where both exist. The other thing worth knowing is how this one is marked. Sixty-five questions arrive and only 50 of them count, with 15 unscored pretest items mixed in and nothing on the screen to tell them apart. Working DVA-C02 exam questions across all four domains is the sensible response to that. Booked before December, and the deadline plans your weeks for you. Not booked, and the real question is whether to sit this version or wait for the next.
| Exam name | AWS Certified Developer - Associate |
| Exam code | DVA-C02 |
| Certification | AWS Certified Developer Associate, Amazon Associate |
| Time allowed | 130 minutes |
| Passing score | 720 on a scale of 100 to 1000, scored compensatorily across the whole exam rather than domain by domain |
| Recommended experience | One or more years of hands-on experience developing and maintaining applications on AWS. No prerequisites. |
| Exam cost | USD 150 |
| Languages | English, Japanese, Korean, Portuguese (Brazil), Simplified Chinese, Spanish (Latin America) |
| Delivery | Pearson VUE test centre, or online proctored |
| Retake policy | 14 calendar days between attempts, with no limit on how many and the full fee payable each time. A passed exam cannot be retaken for two years. |
| Certification validity | Three years. Recertify by passing the current version, or by earning AWS Certified DevOps Engineer - Professional. |
| Exam retirement | Last day to sit DVA-C02 is December 1, 2026. DVA-C03 registration opens October 27, 2026. |
| Practice questions in our bank | 600 |
| Questions on the real exam | 65 |
Written to the DVA-C02 guide rather than the DVA-C03 one that replaces it in December.
A developer is building an API that uses an Amazon CloudFront distribution to forward requests to an AWS Lambda function URL. The developer must ensure that the function URL can be accessed only through the CloudFront distribution and not directly.
Which solution will meet this requirement?
Correct Answer: B
To ensure a Lambda function URL is reachable only through CloudFront, the solution must (1) make CloudFront the only authorized caller, and (2) prevent direct public access to the function URL endpoint. The AWS-native way to do this is to use a resource-based policy on the Lambda function that permits invocation only from the specific CloudFront distribution, combined with CloudFront's Origin Access Control (OAC) to sign origin requests.
A Lambda function URL can be configured for IAM-based authorization, and Lambda supports resource-based permissions (via lambda:AddPermission) that restrict who can invoke it. By scoping the permission so that only the CloudFront distribution (identified by a source ARN / distribution identifier) is allowed, direct requests that do not come through CloudFront will be rejected. This enforces the requirement that the function URL cannot be accessed directly.
CloudFront OAC is the modern mechanism to securely access origins by having CloudFront sign the requests it sends to the origin. When CloudFront signs requests and the origin (here, the Lambda function URL) is configured to accept only authorized requests per its resource policy, CloudFront becomes the only viable access path.
Option A is incorrect because CloudFront does not use a ''resource-based policy'' to grant access to an origin in this way; the enforcement must happen at the origin. Option C is not how CloudFront accesses origins; CloudFront does not assume a customer IAM role to fetch origin content. Option D is fragile and not recommended: CloudFront IP ranges can change and are not intended to be used as a static allowlist for origin protection; additionally, IP-based controls do not provide the same strong identity-based authorization that OAC + resource policy provides.
Therefore, B is the correct solution: restrict the Lambda function URL with a Lambda resource-based policy and configure CloudFront with OAC so only CloudFront-originated requests are accepted.
A developer is setting up AWS CodePipeline for a new application. During each build, the developer must generate a test report.
Which solution will meet this requirement?
Correct Answer: A
In CodePipeline, the service designed to run builds, execute unit/integration tests, and produce build artifacts (including test reports) is AWS CodeBuild. CodeBuild runs commands specified in a buildspec.yml file and supports reporting outputs such as test results (for example, JUnit XML), code coverage, and other build metadata.
Option A is correct because the developer can configure the CodeBuild project to run the test suite during the build phase and configure the buildspec to publish test report files. This integrates naturally into CodePipeline as a build stage, and the reports are generated consistently on each pipeline execution.
Option B is incorrect: CodeDeploy is for deploying applications (in-place/blue-green) and lifecycle hooks, not for standard build/test report generation.
Option C increases operational overhead by managing an EC2 build server, which is unnecessary when CodeBuild provides managed build environments.
Option D is unrelated: CodeArtifact is a package repository, not a test reporting solution.
Therefore, use CodeBuild and configure test reports via the buildspec.
A company stores data in an Amazon S3 bucket that is updated multiple times each day. S3 Versioning is enabled, and multiple versions of objects accumulate.
The company needs the bucket to retain only the current version and the immediately previous version of each object.
Which solution will meet these requirements?
Correct Answer: B
Amazon S3 Lifecycle rules are specifically designed to manage object versions over time. When versioning is enabled, lifecycle rules can be configured to expire noncurrent versions, retaining only a defined number of recent versions.
AWS documentation states that lifecycle rules can be used to ''retain a specific number of newer noncurrent versions.'' By configuring a lifecycle rule to keep one noncurrent version, Amazon S3 automatically deletes older versions while retaining the current and immediately previous versions.
Bucket policies (Option A) control access, not retention. S3 Object Lock (Option C) is designed for regulatory compliance and write-once-read-many (WORM) use cases and is not suitable for routine version cleanup. Suspending versioning (Option D) does not remove existing versions and increases application complexity.
Therefore, an S3 Lifecycle rule is the correct and AWS-recommended solution.
A company is running a custom application on a set of on-premises Linux servers that are accessed using Amazon API Gateway. AWS X-Ray tracing has been enabled on the API test stage.
How can a developer enable X-Ray tracing on the on-premises servers with the LEAST amount of configuration?
Correct Answer: B
The X-Ray daemon is a software that collects trace data from the X-Ray SDK and relays it to the X-Ray service. The X-Ray daemon can run on any platform that supports Go, including Linux, Windows, and macOS. The developer can install and run the X-Ray daemon on the on-premises servers to capture and relay the data to the X-Ray service with minimal configuration. The X-Ray SDK is used to instrument the application code, not to capture and relay data. The Lambda function solutions are more complex and require additional configuration.
[AWS X-Ray concepts - AWS X-Ray]
[Setting up AWS X-Ray - AWS X-Ray]
A company has many microservices that are comprised of AWS Lambda functions. Multiple teams within the company split ownership of the microservices.
An application reads configuration values from environment variables that are contained in the Lambda functions. During a security audit, the company discovers that some of the environment variables contain sensitive information.
The company's security policy requires each team to have full control over the rotation of AWS KMS keys that the team uses for its respective microservices.
Correct Answer: B
Comprehensive and Detailed Step-by-Step
Customer Managed Keys (CMK) for Granular Control (Option B):
Customer-managed KMS keys are required to meet the security policy requirement of team-specific control over KMS key rotation. Each team can manage the lifecycle of its own key.
The kms:Decrypt permission allows the Lambda function execution roles to decrypt the environment variables during runtime.
This solution adheres to the principle of least privilege and satisfies the need for team-specific key control.
Why Other Options Are Incorrect:
Option A: AWS-managed keys cannot provide team-specific control or support the custom rotation policy required by the teams.
Option C: Adding kms:CreateGrant and kms:Encrypt permissions to Lambda roles is unnecessary for this scenario. The key usage is limited to decryption at runtime.
Option D: AWS-managed keys still lack team-specific control, and adding kms:CreateGrant and kms:Encrypt is redundant.
AWS Lambda Environment Variables
AWS Key Management Service Documentation
Four domains, running from 32% down to 18%, so the spread is wide enough to plan around. What each one asks of a developer is below, with the percentages taken from the AWS exam guide.
Development with AWS Services
32%The largest domain, and the one that assumes you have written code against AWS rather than read about it. Working with the SDKs, the CLI and service APIs, building applications that behave when a call fails, and knowing which service a described requirement is really asking for. Retries, idempotency and pagination turn up here as habits rather than trivia.
Security
26%A quarter of the paper, and it is developer security rather than architect security. Securing application code and the data it touches, handling credentials without embedding them, choosing where a secret lives, and applying least privilege to the role your function actually runs as. The questions tend to hand you a working design and ask what is wrong with how it authenticates.
Deployment
24%Getting the thing out, repeatedly and without ceremony. Packaging, then CI and CD workflows across the AWS deployment services, with the differences between deployment strategies mattering more than the buttons. Expect to be asked what a given rollout does when a new version misbehaves, since that is where the strategies actually diverge.
Troubleshooting and Optimization
18%The smallest domain and the one that reads most like the job. Something is failing or something is slow, and the question is which signal tells you which. Logs, metrics and traces are the raw material, and optimisation covers both cost and latency, so the right answer sometimes makes an application cheaper rather than faster.
December 1, 2026 — : Final day to sit DVA-C02. After this the current version cannot be booked or taken.
October 27, 2026 — : Registration opens for DVA-C03, the updated version of this exam.
Checked 2026 — : The DVA-C02 exam guide still carries the four domains above at 32, 26, 24 and 18%, and AWS notes the exam now reaches emerging topics including AI-assisted development tooling.
Source: AWS Certified Developer - Associate (DVA-C02) exam guide. Our question bank is updated to match each revision.
This is a developer's paper and it behaves like one. Questions hand you code that almost works, a permission that is slightly too broad, or a deployment that half succeeded, and ask what you would change. Recalling what a service does gets you into the room. Knowing how it fails, retries and charges you is what the marks are actually for.
Calling a service and surviving the answer
Tested via: scenario-based multiple-choice and multiple-response questionsDevelopment with AWS Services is 32% of the exam and most of it is API behaviour rather than syntax. Throttling and exponential backoff, idempotency when a retry arrives twice, pagination on a list call that returns more than you expected, and the difference between an SDK's built-in retry and one you write yourself. The questions usually describe a symptom in production and expect the client-side habit that would have prevented it.
Where a credential is allowed to live
Tested via: scenario-based multiple-choice questionsSecurity carries 26% and the recurring shape is a design that works but should not. A key in an environment variable, a role broader than the function needs, a bucket policy doing what an IAM policy should. Secrets Manager against Parameter Store, encryption at rest against in transit, and temporary credentials against long-lived ones are the choices behind most of these, and the wrong answers are usually the ones that would run perfectly well.
What a rollout does when the new version is bad
Tested via: scenario-based multiple-choice questionsDeployment is 24%, and the strategies only differ in the moment something breaks. All-at-once, rolling, blue/green and canary are indistinguishable on a good day and completely different on a bad one, which is precisely when the exam describes them. Packaging, artefacts and the CI and CD services around them supply the rest, along with what a pipeline should do automatically when a stage fails. Rollback is the word that decides several of these questions.
Which signal tells you what is wrong
Tested via: scenario-based multiple-choice questionsTroubleshooting and Optimization is the smallest domain at 18% and the closest to daily work. A log line, a metric, a trace and an alarm each answer a different question, and the exam is interested in which one you would reach for given a described failure. Optimisation runs alongside it and covers cost as well as latency, so the best answer occasionally makes something cheaper rather than quicker. Cost questions are the ones candidates least expect to meet in a developer exam.
Choosing the service the requirement actually needs
Tested via: scenario-based multiple-choice questionsThis one is spread across the whole paper rather than living in a single domain. A queue against a topic against a stream, a document store against a relational one, a container against a function. Each pair looks interchangeable until a constraint appears in the question, usually ordering, durability, cold start or cost. The reason it feels like the hardest part is that both options in front of you would work.
The deadline is doing most of the arithmetic here. A failure costs USD 150 and 14 calendar days before you can sit again, and with DVA-C02 gone after December 1 there is a limited number of attempts left in the calendar regardless of what AWS allows.
and Why Prefer Pass4Success Practice Material
There is a version change in progress, which makes currency a specific question rather than a general one. Material sold for this exam over the next few months may be aimed at DVA-C02 or at DVA-C03, and the two are not interchangeable if you are sitting the older paper before December.
Written for the version you are actually sitting
With DVA-C03 registration opening in October, question sets will start moving to it while people are still taking DVA-C02. A set that has already moved is not wrong, it is simply for a different exam.
✓ Ours: the bank is reviewed on a regular cycle against the DVA-C02 guide and against how the exam is being tested, and the last review date is shown in the table above so the version it tracks is never a guess.
Something to read before paying
Associate-level AWS exams attract more practice material than any other certification family, and volume has never been a proxy for accuracy. A handful of questions settles it faster than any description.
✓ Ours: a free demo of both formats before any purchase. The samples above are drawn from the same bank as the full set.
Somewhere to revise and somewhere to rehearse
Reading a domain at your own pace and holding attention through 65 questions in 130 minutes ask different things, and the second is the one people underestimate on a two-hour paper.
✓ Ours: one purchase covers the PDF and the practice test, which runs browser-based or as a Windows desktop version.
Enough depth in the domain that carries a third of the marks
Development with AWS Services is 32%, and it is the domain where thin material shows first, because writing a good API-behaviour question takes more than reading a service page.
✓ Ours: 600 DVA-C02 exam questions across all four domains.
A price measured against USD 150 and a shrinking window
AWS charges the full fee for every attempt and there are only so many 14 day gaps left before the exam retires. That combination, rather than any competitor's price, is what preparation is worth measuring against.
✓ Ours: USD 69 against a full USD 150 charged on every attempt, with the exam retiring soon and only a handful of 14-day retake windows left, getting it right the first time matters more than the price difference alone.
Timing against the December deadline dominates the recent comments. Under that runs the older argument about how much of this exam you can pass by reading. Add yours once you have sat it.
December 1, 2026 is the last day DVA-C02 can be taken. AWS opens registration for the replacement, DVA-C03, on October 27, 2026, so there is a short overlap when both are bookable. If you are preparing now, the question is whether your target date falls before or after that boundary, because the study material differs.
DVA-C02 has 65 questions and a 130 minute limit. Only 50 of those questions are scored. The other 15 are unscored pretest items AWS uses to trial future questions, and nothing on screen identifies them, so every question has to be answered as though it counts.
The passing score is 720 on a scale of 100 to 1000. AWS scores the exam compensatorily, meaning you need to clear the bar overall rather than pass each domain separately. A weak domain can therefore be carried by strong ones, which is not true of every certification exam.
The exam costs USD 150. AWS charges the full registration fee for every attempt, and there is no discount on a retake. With a 14 day wait between attempts and the exam retiring on December 1, 2026, the practical cost of a failed attempt late in the year is higher than the fee alone.
DVA-C02 covers four domains. Development with AWS Services is the largest at 32%, covering SDKs, APIs and building applications that behave under failure. Security takes 26%, deployment 24%, and troubleshooting and optimization 18%. AWS also notes the exam now reaches emerging topics, including AI-assisted development tooling.
AWS recommends one or more years of hands-on experience developing and maintaining applications on AWS. There are no formal prerequisites, so the exam can be booked without any. The recommendation is best read as a description of what the questions assume, particularly around retries, idempotency and how services behave when a call fails.
That depends on when you can be ready. DVA-C02 can be sat until December 1, 2026, and passing it earns the same AWS Certified Developer - Associate certification that DVA-C03 will. If your realistic date is November or earlier, the current version has settled material behind it. If it is later, preparing for DVA-C03 avoids studying twice.
Yes, after 14 calendar days. AWS sets no limit on the number of attempts, but the full fee is payable each time, and the retirement date caps how many attempts are realistically available. AWS also blocks retaking an exam you have already passed for two years.
It stays valid for three years from the date you pass. AWS recertifies it either by passing the current version of the same exam or by earning AWS Certified DevOps Engineer - Professional, which renews the associate credential underneath it. Letting it lapse means sitting the exam again.
Studying services rather than their failure behaviour is the costly one, because the questions describe things going wrong rather than working. The second is treating deployment strategies as interchangeable, when they only differ during a bad release. The third is leaving security to the end, since it carries 26% and is written from a developer's angle rather than an architect's.
Full access to all 600 DVA-C02 questions, in both the PDF and the practice test.
Get Premium AccessThis page tracks the DVA-C02 exam guide, and it does so on a stated end date rather than indefinitely, since AWS withdraws the exam on December 1, 2026. Until then the four domains and their weightings are re-read against the published guide at each review. The bank keeps its own cycle in between, because AWS adds and renames services faster than it revises an exam guide.