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 14

Question 130

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID.

  1. Test cache lag against concurrency and document which reads must bypass caches for correctness.
  2. Test unknown-success network failures with concurrent requests and verify durable request deduplication.
  3. Test message-group cardinality and per-entity ordering with concurrent representative workloads.
  4. Test business expiry behavior separately from eventual storage deletion and TTL metrics.

Explanation

Correct Answer

C:

Test message-group cardinality and per-entity ordering with concurrent representative workloads. This safeguards against a recurring cause: FIFO ordering serializes messages within one group and the producer has unnecessarily collapsed independent work.

Incorrect Answers

A:

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.

B:

That safeguard addresses another case: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags. It is not the control for this recurring failure.

Question 131

A Node.js Lambda function allocates large objects at module scope per invocation and memory increases over successive warm requests. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Increase function memory infinitely without correcting the retained-object behavior.
  2. Monitor allocation growth, heap snapshots and concurrency-sensitive state in performance tests.
  3. Memory stays bounded across a multi-request fixture without changing response correctness.
  4. Eliminate unbounded retained references and profile memory usage under repeated representative warm invocations.
  5. Correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence.
  6. New tasks become healthy on the intended path and traffic shifts without repeated task restarts.

Explanation

Correct Answers

B:

Monitor allocation growth, heap snapshots and concurrency-sensitive state in performance tests. This protects against the following risk: Mutable long-lived in-process references retain request data and create memory pressure across execution reuse.

C:

Memory stays bounded across a multi-request fixture without changing response correctness. This is the observable result required before accepting the correction.

D:

Eliminate unbounded retained references and profile memory usage under repeated representative warm invocations. The underlying cause is: Mutable long-lived in-process references retain request data and create memory pressure across execution reuse.

Incorrect Answers

A:

Increase function memory infinitely without correcting the retained-object behavior. That shortcut conflicts with the stated requirement.

E:

That corrective action is for a different case: A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. It does not resolve this incident.

F:

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.

Question 132

A team applies a reviewed fix for this situation: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. Which observed outcome would most convincingly validate the fix?

  1. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  2. The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost.
  3. New tasks receive traffic only after initialization completes and fail readiness when critical dependencies are unavailable.
  4. The failed request can be traced to a specific denied principal and narrow corrective policy change.

Explanation

Correct Answer

B:

The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost. This verifies the result of profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.

Incorrect Answers

A:

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

C:

This would verify another situation: A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. It does not validate the current case.

D:

This would verify another situation: A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. It does not validate the current case.

Question 133

A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Keep metric definitions, dimensions and accepted transaction reconciliation tests under version control.
  2. Memory stays bounded across a multi-request fixture without changing response correctness.
  3. Return the supported proxy response shape and validate serialized body and status-code types.
  4. Rename Invocations to CompletedOrders without changing the underlying measurement.
  5. Publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments.
  6. A controlled rejected purchase increments invocation metrics but not successful purchase counts.

Explanation

Correct Answers

A:

Keep metric definitions, dimensions and accepted transaction reconciliation tests under version control. This protects against the following risk: Infrastructure invocation metrics have been confused with an accepted domain-specific business outcome.

E:

Publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments. The underlying cause is: Infrastructure invocation metrics have been confused with an accepted domain-specific business outcome.

F:

A controlled rejected purchase increments invocation metrics but not successful purchase counts. This is the observable result required before accepting the correction.

Incorrect Answers

B:

This would validate a different case: A Node.js Lambda function allocates large objects at module scope per invocation and memory increases over successive warm requests. It does not verify the outcome required here.

C:

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.

D:

Rename Invocations to CompletedOrders without changing the underlying measurement. That shortcut conflicts with the stated requirement.

Question 134

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates.

  1. Keep metric definitions, dimensions and accepted transaction reconciliation tests under version control.
  2. Periodically test alarm thresholds, subscription delivery and escalation ownership independently of logs.
  3. Require correlation ID propagation and structured-log schemas in service integration tests.
  4. Review subscription filter coverage when event schemas evolve and monitor filtered delivery counts.

Explanation

Correct Answer

D:

Review subscription filter coverage when event schemas evolve and monitor filtered delivery counts. This safeguards against a recurring cause: Unfiltered subscriber delivery wastes processing and creates avoidable downstream concurrency and cost.

Incorrect Answers

A:

That safeguard addresses another case: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A Lambda service logs detailed failures but has no alarm tied to failed business transactions, so the on-call team learns about a payment outage from customers. It is not the control for this recurring failure.

C:

That safeguard addresses another case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. It is not the control for this recurring failure.

Question 135

A team applies a reviewed fix for this situation: 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. Which observed outcome would most convincingly validate the fix?

  1. Memory stays bounded across a multi-request fixture without changing response correctness.
  2. A controlled rejected purchase increments invocation metrics but not successful purchase counts.
  3. New tasks become healthy on the intended path and traffic shifts without repeated task restarts.
  4. A mixed-event fixture invokes the image processor only for permitted media events without dropping relevant updates.

Explanation

Correct Answer

C:

New tasks become healthy on the intended path and traffic shifts without repeated task restarts. This verifies the result of configure the actual application readiness path and verify target-group and container health timing under the release.

Incorrect Answers

A:

This would verify another situation: A Node.js Lambda function allocates large objects at module scope per invocation and memory increases over successive warm requests. It does not validate the current case.

B:

This would verify another situation: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. It does not validate the current case.

D:

This would verify another situation: An SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates. It does not validate the current case.

Question 136

A team applies a reviewed fix for this situation: A microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account. Which observed outcome would most convincingly validate the fix?

  1. Clients receive actionable codes without tokens, and authorized operators can trace the error securely.
  2. Cross-tenant prefix probes fail while an authorized tenant can export only its own records.
  3. An agent sees only the permitted masked representation, and a request for restricted fields is denied.
  4. An approved principal assumes the role and a neighboring unintended principal is rejected.

Explanation

Correct Answer

D:

An approved principal assumes the role and a neighboring unintended principal is rejected. This verifies the result of grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.

Incorrect Answers

A:

This would verify another situation: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. It does not validate the current case.

B:

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.

C:

This would verify another situation: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It does not validate the current case.

Question 137

A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. Select TWO complementary measures that correctly repair and validate this failure.

  1. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  2. Correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions.
  3. A controlled execution invokes only the target Lambda and denied unintended invocations remain denied.
  4. Add broad resource permissions while leaving an invalid service trust relationship intact.
  5. Return an allowlisted projection with approved masking and enforce least-privilege access for support roles.

Explanation

Correct Answers

B:

Correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions. The underlying cause is: The execution role trust relationship does not permit the service running the state machine to assume it.

C:

A controlled execution invokes only the target Lambda and denied unintended invocations remain denied. This is the observable result required before accepting the correction.

Incorrect Answers

A:

This would validate a different case: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It does not verify the outcome required here.

D:

Add broad resource permissions while leaving an invalid service trust relationship intact. That shortcut conflicts with the stated requirement.

E:

That corrective action is for a different case: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It does not resolve this incident.

Question 138

A team applies a reviewed fix for this situation: An API Gateway route sends every authenticated request to a Lambda with broad IAM permissions, and the handler never checks the user's permitted action. Which observed outcome would most convincingly validate the fix?

  1. A low-privilege user cannot trigger the administrative action while an authorized user receives the expected result.
  2. An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.
  3. The approved GET succeeds while unauthorized writes and access to unrelated object keys fail.
  4. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.

Explanation

Correct Answer

A:

A low-privilege user cannot trigger the administrative action while an authorized user receives the expected result. This verifies the result of enforce application-level role and resource authorization in the handler before performing privileged actions.

Incorrect Answers

B:

This would verify another situation: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It does not validate the current case.

C:

This would verify another situation: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It does not validate the current case.

D:

This would verify another situation: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It does not validate the current case.

Question 139

An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. Which engineering change best addresses the underlying issue?

  1. Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.
  2. Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.
  3. Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields.
  4. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.

Explanation

Correct Answer

B:

Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence. It directly addresses the case cause (An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.) and should be verified by: Replaying the same order event produces a single shipment while a different order still processes normally.

Incorrect Answers

A:

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 an asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end; it would not repair this incident.

D:

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.

Question 140

An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. Which technical dependency most directly explains this behavior?

  1. The deployment has not reserved a concurrency budget for the critical path or bounded the producer's demand.
  2. An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.
  3. The credential lifecycle is coupled to code deployment and risks accidental exposure in artifacts and logs.
  4. Eventually consistent cache reads are being used where the business operation requires current authoritative state.

Explanation

Correct Answer

B:

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

Incorrect Answers

A:

This diagnosis addresses another AWS case: A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. The dependency here is different.

C:

This diagnosis addresses another AWS case: A Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code. The dependency here is different.

D:

This diagnosis addresses another AWS case: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. 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.