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 23

Question 220

An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.
  2. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  3. Exercise lost-acknowledgement retries and reconcile side effects by the business event identifier.
  4. Numeric range queries return the expected product set and the active alias points to the validated index.
  5. Assume a successful HTTP response means the operation cannot ever be repeated.
  6. Replaying the same order event produces a single shipment while a different order still processes normally.

Explanation

Correct Answers

A:

Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence. The underlying cause is: An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.

C:

Exercise lost-acknowledgement retries and reconcile side effects by the business event identifier. This protects against the following risk: An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.

F:

Replaying the same order event produces a single shipment while a different order still processes normally. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. It does not resolve this incident.

D:

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

E:

Assume a successful HTTP response means the operation cannot ever be repeated. That shortcut conflicts with the stated requirement.

Question 221

A team applies a reviewed fix for this situation: A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. Which observed outcome would most convincingly validate the fix?

  1. The smoke test identifies the intended alias version and fails if traffic routes to the old handler.
  2. The deployed package hash matches the artifact tested in CI and dependency behavior remains stable.
  3. The production endpoint invokes the planned alias version and rollback changes only the controlled release mapping.
  4. A deliberately incorrect response causes the deployment test to fail before production promotion.

Explanation

Correct Answer

C:

The production endpoint invokes the planned alias version and rollback changes only the controlled release mapping. This verifies the result of reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.

Incorrect Answers

A:

This would verify another situation: A CloudFormation update creates a new Lambda alias but a deployment script still targets the old unqualified function ARN in its smoke test. It does not validate the current case.

B:

This would verify another situation: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. It does not validate the current case.

D:

This would verify another situation: A deployment pipeline sends a test event to a Lambda but never asserts output values, so a handler returns HTTP 200 with an invalid business result. It does not validate the current case.

Question 222

A microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account. Which engineering change best addresses the underlying issue?

  1. Bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.
  2. Grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.
  3. Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint.
  4. Grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.

Explanation

Correct Answer

D:

Grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal. It directly addresses the case cause (Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal.) and should be verified by: An approved principal assumes the role and a neighboring unintended principal is rejected.

Incorrect Answers

A:

That change addresses a multi-tenant data export Lambda assumes an S3 key prefix from the request body and permits tenant A to select tenant B's export prefix; it would not repair this incident.

B:

That change addresses an S3 application uses SSE-KMS but a Lambda download fails because its role can call GetObject but cannot decrypt with the customer-managed key; it would not repair this incident.

C:

That change addresses a service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires; it would not repair this incident.

Question 223

A DynamoDB table partitions all tenant activity by one static calendar-day key and hot writes throttle despite spare overall capacity. Which engineering change best addresses the underlying issue?

  1. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
  2. Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.
  3. Review generated changes, replace broad permissions with the minimum actions and resources, and run approved security and behavior tests.
  4. Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns.

Explanation

Correct Answer

D:

Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns. It directly addresses the case cause (The partition-key strategy concentrates a large workload on a small physical key distribution.) and should be verified by: Peak traffic distributes across partitions without losing authorized tenant retrieval behavior.

Incorrect Answers

A:

That change addresses a Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown; it would not repair this incident.

B:

That change addresses a high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes; it would not repair this incident.

C:

That change addresses 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; it would not repair this incident.

Question 224

A Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code. Which engineering change best addresses the underlying issue?

  1. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  2. Model a supported callback token or bounded status polling state that waits for a verified terminal batch outcome.
  3. Apply capped exponential backoff with jitter and supported Retry-After handling and fail predictably after a defined retry budget.
  4. Retrieve the approved credential from an access-controlled secrets store with narrow runtime authorization and rotation handling.

Explanation

Correct Answer

D:

Retrieve the approved credential from an access-controlled secrets store with narrow runtime authorization and rotation handling. It directly addresses the case cause (The credential lifecycle is coupled to code deployment and risks accidental exposure in artifacts and logs.) and should be verified by: The function succeeds after a controlled secret rotation without source-code changes or credential logging.

Incorrect Answers

A:

That change addresses a DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version; it would not repair this incident.

B:

That change addresses a Step Functions state sends an API request that starts a third-party batch job and immediately marks the workflow complete before the batch finishes; it would not repair this incident.

C:

That change addresses a payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access; it would not repair this incident.

Question 225

A team applies a reviewed fix for this situation: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. Which observed outcome would most convincingly validate the fix?

  1. A controlled poison message is retried or isolated while successful messages are not needlessly reprocessed.
  2. A synthetic event with the approved envelope matches and reaches the authorized target exactly as intended.
  3. A controlled invocation opens the intended database connection without exposing its port to the public internet.
  4. A forced write followed by the approved strong-read path returns the current item for the critical operation.

Explanation

Correct Answer

D:

A forced write followed by the approved strong-read path returns the current item for the critical operation. This verifies the result of use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.

Incorrect Answers

A:

This would verify another situation: One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. It does not validate the current case.

B:

This would verify another situation: An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization. It does not validate the current case.

C:

This would verify another situation: A Lambda function runs in a private VPC subnet and cannot reach its intended RDS endpoint, although the stored database username and password are correct. It does not validate the current case.

Question 226

An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. Which engineering change best addresses the underlying issue?

  1. Generate and test a provenance-tagged artifact and deploy the same digest after all required checks pass.
  2. Review generated assertions against versioned API requirements and run current contract and regression fixtures.
  3. Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.
  4. Repackage the code so the deployed handler path, modules and ZIP directory root agree.

Explanation

Correct Answer

C:

Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery. It directly addresses the case cause (Request acceptance is being confused with completion of the end-to-end event processing contract.) and should be verified by: A successful test creates the intended downstream state while a poison message routes through the defined failure path.

Incorrect Answers

A:

That change addresses a Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge; it would not repair this incident.

B:

That change addresses a team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification; it would not repair this incident.

D:

That change addresses a Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler; it would not repair this incident.

Question 227

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code.

  1. Maintain role-specific response-shape and sensitive-data redaction regression fixtures.
  2. Test key rotation and decryption authorization with versions and denied identity fixtures.
  3. Test signing-key rotation and negative JWT fixtures in authentication middleware changes.
  4. Test presigned URL method misuse and credential scope whenever link-generation code changes.

Explanation

Correct Answer

A:

Maintain role-specific response-shape and sensitive-data redaction regression fixtures. This safeguards against a recurring cause: The response model does not enforce data minimization and permits sensitive fields beyond the support purpose.

Incorrect Answers

B:

That safeguard addresses another case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It is not the control for this recurring failure.

Question 228

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias.

  1. Compare build attestations and digests at promotion and rollback gates.
  2. Require clean-build checks and artifact provenance during release promotion.
  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

C:

Validate deployed stage and alias targets after API Gateway changes, not just console test invocations. This safeguards against a recurring cause: The staging and production integration versions are not aligned with the intended release.

Incorrect Answers

A:

That safeguard addresses another case: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. 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 229

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge.

  1. Check API integration targets and alias qualifiers in every deployment smoke test.
  2. Validate image provenance and reject release configurations that rely only on mutable tags.
  3. Compare build attestations and digests at promotion and rollback gates.
  4. Rehearse rollback and retain version-to-source mappings for each promoted release.

Explanation

Correct Answer

C:

Compare build attestations and digests at promotion and rollback gates. This safeguards against a recurring cause: Automated tests did not validate the exact immutable artifact that was later promoted.

Incorrect Answers

A:

That safeguard addresses another case: A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A CI workflow publishes Docker images under one mutable tag and the ECS service pulls a different image during a multi-AZ scale-out. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. It is not the control for this recurring failure.

Question 230

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour.

  1. Monitor percentile behavior and error budgets under representative workload mixes.
  2. Test API Gateway proxy response envelopes rather than testing only direct Lambda return values.
  3. Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations.
  4. Test each documented error category and inspect execution histories after workflow changes.

Explanation

Correct Answer

C:

Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations. This safeguards against a recurring cause: Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.

Incorrect Answers

A:

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.

B:

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.

D:

That safeguard addresses another 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 is not the control for this recurring failure.

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.