Amazon AWS Certified Developer - Associate DVA-C02 Exam Dumps, Practice Test Questions

100% Latest & Updated Amazon AWS Certified Developer - Associate DVA-C02 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Amazon AWS Certified Developer - Associate DVA-C02 Premium Bundle
$79.97
$59.98

AWS Certified Developer - Associate DVA-C02 Premium Bundle

  • Premium File: 653 Questions & Answers. Last update: Nov 12, 2026
  • Training Course: 430 Video Lectures
  • Study Guide: 1091 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AWS Certified Developer - Associate DVA-C02 Premium Bundle

Amazon AWS Certified Developer - Associate DVA-C02 Premium Bundle
  • Premium File: 653 Questions & Answers. Last update: Nov 12, 2026
  • Training Course: 430 Video Lectures
  • Study Guide: 1091 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Amazon AWS Certified Developer - Associate DVA-C02 Practice Test 44

Question 430

A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Store the unencrypted data key in a Git repository because the table itself uses encryption at rest.
  2. Test key rotation and decryption authorization with versions and denied identity fixtures.
  3. Requests for another tenant's order return denial even when the caller holds a valid session token.
  4. Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.
  5. Validate inputs server-side and contextually encode user-controlled content in the response template.
  6. An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.

Explanation

Correct Answers

B:

Test key rotation and decryption authorization with versions and denied identity fixtures. This protects against the following risk: The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.

D:

Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model. The underlying cause is: The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.

F:

An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key. This is the observable result required before accepting the correction.

Incorrect Answers

A:

Store the unencrypted data key in a Git repository because the table itself uses encryption at rest. That shortcut conflicts with the stated requirement.

C:

This would validate a different case: An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. It does not verify the outcome required here.

E:

That corrective action is for a different case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It does not resolve this incident.

Question 431

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout.

  1. Test mixed-success SQS batches and verify that the event-source mapping honors batch item failure responses.
  2. Include paginated results and stable cursor handling in account-history regression fixtures.
  3. Test retry and circuit-breaker behavior against simulated 429 and 5xx partner responses.
  4. Exercise task replacement and concurrent access in tests without relying on connection affinity.

Explanation

Correct Answer

A:

Test mixed-success SQS batches and verify that the event-source mapping honors batch item failure responses. This safeguards against a recurring cause: Default whole-batch failure handling repeats successfully processed records unless partial failures and idempotency are implemented.

Incorrect Answers

B:

That safeguard addresses another case: A developer reads one page of a DynamoDB Query response and a history screen omits newer records when an account exceeds the result limit. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A stateless containerized checkout API stores shopping-cart state only in a process dictionary and loses carts when traffic shifts to a new task. It is not the control for this recurring failure.

Question 432

A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. Select TWO complementary measures that correctly repair and validate this failure.

  1. Use supported trace-context propagation and appropriate downstream instrumentation and permissions.
  2. A controlled request shows an end-to-end trace linking both services and their measured latency.
  3. Assume enabling tracing on one Lambda automatically instruments every external partner.
  4. The same fixture targets the correct regional resource and receives the expected authorized response.
  5. Classify retryable versus permanent errors and route terminal failures to an observable failed state or approved recovery.

Explanation

Correct Answers

A:

Use supported trace-context propagation and appropriate downstream instrumentation and permissions. The underlying cause is: Distributed trace propagation is not applied across the service-to-service network boundary.

B:

A controlled request shows an end-to-end trace linking both services and their measured latency. This is the observable result required before accepting the correction.

Incorrect Answers

C:

Assume enabling tracing on one Lambda automatically instruments every external partner. That shortcut conflicts with the stated requirement.

D:

This would validate a different case: A Lambda request makes an SDK call that succeeds in one Region but fails with ResourceNotFound in another because its client uses a default Region. It does not verify the outcome required here.

E:

That corrective action is for a different case: A Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections. It does not resolve this incident.

Question 433

A Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. A fresh Lambda initialization imports the configured handler and processes the expected test event successfully.
  2. Validate archive member paths and handler strings in deployment packaging checks.
  3. Change the timeout value repeatedly until Python finds a missing module.
  4. Inspect and correct API mapping and stage identifiers, then verify requests through the actual custom domain.
  5. The production endpoint returns the reviewed version marker and the staging endpoint remains isolated.
  6. Repackage the code so the deployed handler path, modules and ZIP directory root agree.

Explanation

Correct Answers

A:

A fresh Lambda initialization imports the configured handler and processes the expected test event successfully. This is the observable result required before accepting the correction.

B:

Validate archive member paths and handler strings in deployment packaging checks. This protects against the following risk: The handler import path does not match the archive root and Python module structure at runtime.

F:

Repackage the code so the deployed handler path, modules and ZIP directory root agree. The underlying cause is: The handler import path does not match the archive root and Python module structure at runtime.

Incorrect Answers

C:

Change the timeout value repeatedly until Python finds a missing module. That shortcut conflicts with the stated requirement.

D:

That corrective action is for a different case: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. It does not resolve this incident.

E:

This would validate a different case: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. It does not verify the outcome required here.

Question 434

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy.

  1. Exercise cold startup, cache warming and dependency failure readiness paths in deployment tests.
  2. Monitor percentile behavior and error budgets under representative workload mixes.
  3. Track dependency errors and request rates alongside function health instead of checking CPU alone.
  4. Test cache headers, invalidation and auth-sensitive path exclusions before distribution changes.

Explanation

Correct Answer

C:

Track dependency errors and request rates alongside function health instead of checking CPU alone. This safeguards against a recurring cause: Function compute utilization is not evidence that an external database dependency has sufficient read or write capacity.

Incorrect Answers

A:

That safeguard addresses another case: A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. It is not the control for this recurring failure.

B:

That safeguard addresses another case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. It is not the control for this recurring failure.

Question 435

An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Require correlation ID propagation and structured-log schemas in service integration tests.
  2. Emit structured logs with request and trace identifiers while excluding protected values from logged fields.
  3. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  4. A single transaction's safe logs can be joined across services without exposing credentials or raw customer data.
  5. Log complete authentication tokens instead of correlation IDs for easier tracing.
  6. Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.

Explanation

Correct Answers

A:

Require correlation ID propagation and structured-log schemas in service integration tests. This protects against the following risk: The operational events lack a stable correlation identifier shared through the request path.

B:

Emit structured logs with request and trace identifiers while excluding protected values from logged fields. The underlying cause is: The operational events lack a stable correlation identifier shared through the request path.

D:

A single transaction's safe logs can be joined across services without exposing credentials or raw customer data. This is the observable result required before accepting the correction.

Incorrect Answers

C:

This would validate a different case: A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. It does not verify the outcome required here.

E:

Log complete authentication tokens instead of correlation IDs for easier tracing. That shortcut conflicts with the stated requirement.

F:

That corrective action is for a different case: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. It does not resolve this incident.

Question 436

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly.

  1. Run automated destructive-change guards and human review for stateful resource diffs.
  2. Track end-to-end event IDs in tests instead of relying solely on producer status codes.
  3. Validate deployed stage and alias targets after API Gateway changes, not just console test invocations.
  4. Audit image digest provenance and reject mutable-only release identifiers in production pipelines.

Explanation

Correct Answer

A:

Run automated destructive-change guards and human review for stateful resource diffs. This safeguards against a recurring cause: The deployment plan has an unreviewed destructive infrastructure change outside the intended application code update.

Incorrect Answers

B:

That safeguard addresses another case: An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. It is not the control for this recurring failure.

C:

That safeguard addresses another case: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. It is not the control for this recurring failure.

D:

That safeguard addresses another case: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. It is not the control for this recurring failure.

Question 437

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text.

  1. Capture required access patterns and query costs before adopting new DynamoDB tables or indexes.
  2. Exercise task replacement and concurrent access in tests without relying on connection affinity.
  3. Test cache lag against concurrency and document which reads must bypass caches for correctness.
  4. Version the transport encoding contract and keep compressed-message test fixtures across deployment changes.

Explanation

Correct Answer

D:

Version the transport encoding contract and keep compressed-message test fixtures across deployment changes. This safeguards against a recurring cause: The producer's encoding contract and the consumer's decoding implementation do not match.

Incorrect Answers

A:

That safeguard addresses another case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A stateless containerized checkout API stores shopping-cart state only in a process dictionary and loses carts when traffic shifts to a new task. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. It is not the control for this recurring failure.

Question 438

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective.

  1. Include deployment health probe routes and failure status behavior in release smoke tests.
  2. Monitor percentile behavior and error budgets under representative workload mixes.
  3. Profile call waterfalls and concurrency limits rather than only measuring individual SDK method duration.
  4. Test API Gateway proxy response envelopes rather than testing only direct Lambda return values.

Explanation

Correct Answer

B:

Monitor percentile behavior and error budgets under representative workload mixes. This safeguards against a recurring cause: Averages conceal tail latency and do not represent the stated high-percentile service objective.

Incorrect Answers

A:

That safeguard addresses another case: An ECS rolling deployment keeps replacing tasks because the container health check targets a removed HTTP route even though the application serves traffic on a new path. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. It is not the control for this recurring failure.

D:

That safeguard addresses another case: An API Gateway REST integration returns HTTP 502 while its Lambda invocation logs show a successful handler return with malformed proxy response fields. It is not the control for this recurring failure.

Question 439

A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. Which engineering change best addresses the underlying issue?

  1. Keep keys out of application logs, use appropriate managed key protection and limit decrypt rights to intended principals.
  2. Apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls.
  3. Validate inputs server-side and contextually encode user-controlled content in the response template.
  4. Log structured allowlisted metadata and redact secrets and personal values before emitting operational events.

Explanation

Correct Answer

A:

Keep keys out of application logs, use appropriate managed key protection and limit decrypt rights to intended principals. It directly addresses the case cause (A cryptographic secret is exposed through operational telemetry and is not protected by access separation.) and should be verified by: No key material appears in log fixtures and only authorized principals decrypt sample protected responses.

Incorrect Answers

B:

That change addresses a developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization; it would not repair this incident.

C:

That change addresses a developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users; it would not repair this incident.

D:

That change addresses a Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records; it would not repair this incident.

Question 440

A team applies a reviewed fix for this situation: A developer accepts Amazon Q Developer's suggested IAM and SDK code without reviewing it, and a generated call requests permission to unrelated customer data. Which observed outcome would most convincingly validate the fix?

  1. The resulting application performs its authorized task while tests show access to unrelated customer data is denied.
  2. A forced write followed by the approved strong-read path returns the current item for the critical operation.
  3. Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted.
  4. Numeric range queries return the expected product set and the active alias points to the validated index.

Explanation

Correct Answer

A:

The resulting application performs its authorized task while tests show access to unrelated customer data is denied. This verifies the result of review generated changes, replace broad permissions with the minimum actions and resources, and run approved security and behavior tests.

Incorrect Answers

B:

This would verify another situation: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. It does not validate the current case.

C:

This would verify another situation: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It does not validate the current case.

D:

This would verify another situation: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. It does not validate the current case.

AWS Certified Developer - Associate DVA-C02 Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.