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 45

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.

Question 441

A team applies a reviewed fix for this situation: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. Which observed outcome would most convincingly validate the fix?

  1. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  2. The deployed target accepts the real envelope and rejects malformed events with controlled errors.
  3. CI tests produce predictable success and rejection cases without any real payment transaction.
  4. The obsolete test assertion fails review while the approved request and response contract passes.

Explanation

Correct Answer

A:

A request to the public custom domain reaches the intended stage without accessing staging-only operations. This verifies the result of inspect and correct API mapping and stage identifiers, then verify requests through the actual custom domain.

Incorrect Answers

B:

This would verify another situation: A Lambda unit test mocks an EventBridge event as a flat payload but the actual event carries fields under detail and the deployed handler crashes. It does not validate the current case.

C:

This would verify another situation: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. It does not validate the current case.

D:

This would verify another situation: A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. It does not validate the current case.

Question 442

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. Which engineering change best addresses the underlying issue?

  1. Model a supported callback token or bounded status polling state that waits for a verified terminal batch outcome.
  2. Use an idempotency record and conditional or transactional update bound to a stable purchase request ID.
  3. Detect or validate the documented compression encoding and decompress safely before schema validation and parsing.
  4. Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.

Explanation

Correct Answer

A:

Model a supported callback token or bounded status polling state that waits for a verified terminal batch outcome. It directly addresses the case cause (The external API acknowledgement has been treated as the completed asynchronous business operation.) and should be verified by: The workflow succeeds only when the actual remote job completes and routes failed jobs to a reviewable error path.

Incorrect Answers

B:

That change addresses an order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request; it would not repair this incident.

C:

That change addresses a Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text; it would not repair this incident.

D:

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.

Question 443

A team applies a reviewed fix for this situation: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. Which observed outcome would most convincingly validate the fix?

  1. An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.
  2. A valid intended token is accepted while tampered, expired and wrong-user-pool tokens are rejected.
  3. A controlled execution invokes only the target Lambda and denied unintended invocations remain denied.
  4. Cross-tenant prefix probes fail while an authorized tenant can export only its own records.

Explanation

Correct Answer

A:

An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key. This verifies the result of use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.

Incorrect Answers

B:

This would verify another situation: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It does not validate the current case.

C:

This would verify another situation: A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. It does not validate the current case.

D:

This would verify another situation: 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 does not validate the current case.

Question 444

A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. Which engineering change best addresses the underlying issue?

  1. Construct the client with the reviewed resource Region and verify resource identifiers and service endpoint configuration.
  2. Use supported trace-context propagation and appropriate downstream instrumentation and permissions.
  3. Configure the actual application readiness path and verify target-group and container health timing under the release.
  4. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.

Explanation

Correct Answer

B:

Use supported trace-context propagation and appropriate downstream instrumentation and permissions. It directly addresses the case cause (Distributed trace propagation is not applied across the service-to-service network boundary.) and should be verified by: A controlled request shows an end-to-end trace linking both services and their measured latency.

Incorrect Answers

A:

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

C:

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

D:

That change addresses a CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching; it would not repair this incident.

Question 445

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices.

  1. Test presigned URL method misuse and credential scope whenever link-generation code changes.
  2. Test audience mismatch, identity propagation and cross-service authorization under least privilege.
  3. Maintain role-specific response-shape and sensitive-data redaction regression fixtures.
  4. Test source/target key grants and expected encryption context after cross-account data-flow changes.

Explanation

Correct Answer

B:

Test audience mismatch, identity propagation and cross-service authorization under least privilege. This safeguards against a recurring cause: The downstream service lacks a clear issuer, audience and delegation contract for the token it receives.

Incorrect Answers

A:

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.

C:

That safeguard addresses another case: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It is not the control for this recurring failure.

D:

That safeguard addresses another case: An application decrypts data with a customer-managed KMS key in the source AWS account but fails after moving the encrypted data to a second account. It is not the control for this recurring failure.

Question 446

An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end. Select TWO complementary measures that correctly repair and validate this failure.

  1. A permanently failing test event creates a reviewable failure record and does not silently disappear.
  2. Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields.
  3. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.
  4. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.
  5. Assume a successful invocation acceptance means the function later completed successfully.

Explanation

Correct Answers

A:

A permanently failing test event creates a reviewable failure record and does not silently disappear. This is the observable result required before accepting the correction.

B:

Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields. The underlying cause is: The asynchronous failure path lacks a correctly configured destination or equivalent durable failure capture.

Incorrect Answers

C:

That corrective action is for a different case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It does not resolve this incident.

D:

This would validate a different case: A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. It does not verify the outcome required here.

E:

Assume a successful invocation acceptance means the function later completed successfully. That shortcut conflicts with the stated requirement.

Question 447

A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.
  2. Include CPU-bound representative benchmarks and cost-per-request in optimization release evidence.
  3. The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost.
  4. Increase network retry counts to fix a compute-bound conversion bottleneck.
  5. New tasks become healthy on the intended path and traffic shifts without repeated task restarts.
  6. Return the supported proxy response shape and validate serialized body and status-code types.

Explanation

Correct Answers

A:

Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance. The underlying cause is: Insufficient allocated compute resources prolong CPU-bound execution and can make total runtime less cost-efficient.

B:

Include CPU-bound representative benchmarks and cost-per-request in optimization release evidence. This protects against the following risk: Insufficient allocated compute resources prolong CPU-bound execution and can make total runtime less cost-efficient.

C:

The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost. This is the observable result required before accepting the correction.

Incorrect Answers

D:

Increase network retry counts to fix a compute-bound conversion bottleneck. That shortcut conflicts with the stated requirement.

E:

This would validate a different 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 does not verify the outcome required here.

F:

That corrective action is for a different 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 does not resolve this incident.

Question 448

A team applies a reviewed fix for this situation: One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. Which observed outcome would most convincingly validate the fix?

  1. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  2. A controlled poison message is retried or isolated while successful messages are not needlessly reprocessed.
  3. A request without customerId is rejected at the API boundary while a valid payload reaches the function.
  4. Concurrent checkout attempts never reserve more stock than exists even when cached views are stale.

Explanation

Correct Answer

B:

A controlled poison message is retried or isolated while successful messages are not needlessly reprocessed. This verifies the result of enable supported partial batch response behavior and return failed message identifiers while keeping sink effects idempotent.

Incorrect Answers

A:

This would verify another situation: A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. It does not validate the current case.

C:

This would verify another situation: An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. It does not validate the current case.

D:

This would verify another situation: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. It does not validate the current case.

Question 449

An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Test only the execute-api development URL and assume custom-domain routing cannot differ.
  2. Inspect and correct API mapping and stage identifiers, then verify requests through the actual custom domain.
  3. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  4. Inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls.
  5. The production endpoint returns the reviewed version marker and the staging endpoint remains isolated.
  6. Include custom-domain route and certificate checks in post-deploy verification.

Explanation

Correct Answers

B:

Inspect and correct API mapping and stage identifiers, then verify requests through the actual custom domain. The underlying cause is: The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.

C:

A request to the public custom domain reaches the intended stage without accessing staging-only operations. This is the observable result required before accepting the correction.

F:

Include custom-domain route and certificate checks in post-deploy verification. This protects against the following risk: The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.

Incorrect Answers

A:

Test only the execute-api development URL and assume custom-domain routing cannot differ. That shortcut conflicts with the stated requirement.

D:

That corrective action is for 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 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 450

A microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account. Which technical dependency most directly explains this behavior?

  1. Storage-object permission and cryptographic key authorization are separate required checks.
  2. The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.
  3. Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal.
  4. Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.

Explanation

Correct Answer

C:

Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal. The corresponding fix is to grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.

Incorrect Answers

A:

This diagnosis addresses another AWS case: 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. The dependency here is different.

B:

This diagnosis addresses another AWS case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. The dependency here is different.

D:

This diagnosis addresses another AWS case: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. The dependency here is different.

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.