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 26

Question 250

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order.

  1. Document consistency requirements per access pattern and test each indexed read path separately.
  2. Pin tested layer ARNs and run build checks for each supported runtime and architecture combination.
  3. Test replay at shard boundaries and monitor iterator age and batch failure metrics together.
  4. Exercise lost-acknowledgement retries and reconcile side effects by the business event identifier.

Explanation

Correct Answer

D:

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

Incorrect Answers

A:

That safeguard addresses another case: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. It is not the control for this recurring failure.

Question 251

A team applies a reviewed fix for this situation: An API Gateway REST integration returns HTTP 502 while its Lambda invocation logs show a successful handler return with malformed proxy response fields. Which observed outcome would most convincingly validate the fix?

  1. A controlled API invocation returns the expected status and JSON body without an integration-generated 502.
  2. A simulated transaction failure triggers a delivered actionable alert and links back to protected diagnostic context.
  3. A controlled rejected purchase increments invocation metrics but not successful purchase counts.
  4. Memory stays bounded across a multi-request fixture without changing response correctness.

Explanation

Correct Answer

A:

A controlled API invocation returns the expected status and JSON body without an integration-generated 502. This verifies the result of return the supported proxy response shape and validate serialized body and status-code types.

Incorrect Answers

B:

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

C:

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: 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.

Question 252

A team applies a reviewed fix for this situation: A CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release. Which observed outcome would most convincingly validate the fix?

  1. Production requests use only the production table while test-stage data stays isolated.
  2. The deployed function reads its intended fixture and receives denial on an unrelated table.
  3. The obsolete test assertion fails review while the approved request and response contract passes.
  4. Injected failures during initial traffic shift stop promotion and restore the intended prior version.

Explanation

Correct Answer

D:

Injected failures during initial traffic shift stop promotion and restore the intended prior version. This verifies the result of use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms.

Incorrect Answers

A:

This would verify another situation: A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. It does not validate the current case.

B:

This would verify another situation: A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. It does not validate the current case.

C:

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 253

A team applies a reviewed fix for this situation: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. Which observed outcome would most convincingly validate the fix?

  1. CI tests produce predictable success and rejection cases without any real payment transaction.
  2. The artifact's version marker and hash correspond exactly to the source commit that triggered the pipeline.
  3. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  4. A clean dry-run shows only authorized resource changes and the live table remains present.

Explanation

Correct Answer

A:

CI tests produce predictable success and rejection cases without any real payment transaction. This verifies the result of inject a deterministic payment mock or provider-approved sandbox in CI and reserve live calls for explicitly authorized tests.

Incorrect Answers

B:

This would verify another situation: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. It does not validate the current case.

C:

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

D:

This would verify another situation: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. It does not validate the current case.

Question 254

A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.
  2. A controlled markup payload displays as inert text while legitimate comments remain readable.
  3. Grant sns:Publish on all topics and permit every AWS account at the resource policy.
  4. Review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal.
  5. The approved function publishes a test event while unauthorized roles in either account remain denied.
  6. Test identity and resource policy intersections for all cross-account integrations.

Explanation

Correct Answers

D:

Review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal. The underlying cause is: Cross-account access may also require the target topic's resource policy to allow the approved caller.

E:

The approved function publishes a test event while unauthorized roles in either account remain denied. This is the observable result required before accepting the correction.

F:

Test identity and resource policy intersections for all cross-account integrations. This protects against the following risk: Cross-account access may also require the target topic's resource policy to allow the approved caller.

Incorrect Answers

A:

That corrective action is for a different case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It does not resolve this incident.

B:

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

C:

Grant sns:Publish on all topics and permit every AWS account at the resource policy. That shortcut conflicts with the stated requirement.

Question 255

A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. Which technical dependency most directly explains this behavior?

  1. The external API acknowledgement has been treated as the completed asynchronous business operation.
  2. The code assumes one ListObjectsV2 response enumerates the complete bucket prefix.
  3. FIFO ordering serializes messages within one group and the producer has unnecessarily collapsed independent work.
  4. The indexed field mapping does not represent the numeric comparison semantics required by the application.

Explanation

Correct Answer

D:

The indexed field mapping does not represent the numeric comparison semantics required by the application. The corresponding fix is to create a compatible mapping with an appropriate numeric field and reindex verified documents under a controlled alias cutover.

Incorrect Answers

A:

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

B:

This diagnosis addresses another AWS case: An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. The dependency here is different.

C:

This diagnosis addresses another AWS case: An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID. The dependency here is different.

Question 256

A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. Which technical dependency most directly explains this behavior?

  1. Mocked logic tests do not validate the deployed role's real service permissions and resource identity.
  2. Automated tests did not validate the exact immutable artifact that was later promoted.
  3. The deployment plan has an unreviewed destructive infrastructure change outside the intended application code update.
  4. The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.

Explanation

Correct Answer

A:

Mocked logic tests do not validate the deployed role's real service permissions and resource identity. The corresponding fix is to add a constrained integration test with the actual execution-role permissions and approved test table.

Incorrect Answers

B:

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

C:

This diagnosis addresses another AWS case: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. The dependency here is different.

D:

This diagnosis addresses another AWS case: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. The dependency here is different.

Question 257

A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. Which engineering change best addresses the underlying issue?

  1. Publish the intended message attributes and configure a subscription filter policy for the fraud alert category.
  2. Review generated changes, replace broad permissions with the minimum actions and resources, and run approved security and behavior tests.
  3. Use supported partial batch response or bisect handling where applicable and idempotent downstream writes.
  4. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Explanation

Correct Answer

C:

Use supported partial batch response or bisect handling where applicable and idempotent downstream writes. It directly addresses the case cause (The checkpoint and retry scope are not aligned with record-level failure handling and idempotent effects.) and should be verified by: A malformed event is isolated and unaffected records complete without duplicated observable updates.

Incorrect Answers

A:

That change addresses a publishing service sends an SNS notification to every subscriber even though only the fraud service should receive alerts with eventType equal to high_risk; it would not repair this incident.

B:

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.

D:

That change addresses an online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address; it would not repair this incident.

Question 258

A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. Select TWO complementary measures that correctly repair and validate this failure.

  1. Issue a fresh scoped presigned URL before retrying and set an expiration policy appropriate to the upload flow.
  2. Copy a random binary from a local laptop into a layer without testing compatibility.
  3. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.
  4. Publish or select a layer compiled for the actual runtime and architecture and test imports in that environment.
  5. The deployed function initializes and passes representative requests using the exact published layer version.

Explanation

Correct Answers

D:

Publish or select a layer compiled for the actual runtime and architecture and test imports in that environment. The underlying cause is: Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture.

E:

The deployed function initializes and passes representative requests using the exact published layer version. This is the observable result required before accepting the correction.

Incorrect Answers

A:

That corrective action is for a different case: A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions. It does not resolve this incident.

B:

Copy a random binary from a local laptop into a layer without testing compatibility. That shortcut conflicts with the stated requirement.

C:

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.

Question 259

A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. Which technical dependency most directly explains this behavior?

  1. Function compute utilization is not evidence that an external database dependency has sufficient read or write capacity.
  2. The operational events lack a stable correlation identifier shared through the request path.
  3. Diagnostic log entries are not connected to actionable operational monitoring and delivery notifications.
  4. Insufficient allocated compute resources prolong CPU-bound execution and can make total runtime less cost-efficient.

Explanation

Correct Answer

D:

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

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. The dependency here is different.

B:

This diagnosis addresses another AWS case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. The dependency here is different.

C:

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

Question 260

A team applies a reviewed fix for this situation: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. Which observed outcome would most convincingly validate the fix?

  1. A mixed-event fixture invokes the image processor only for permitted media events without dropping relevant updates.
  2. A controlled rejected purchase increments invocation metrics but not successful purchase counts.
  3. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  4. Injected permanent partner rejection marks execution failed with context while transient failures follow bounded retries.

Explanation

Correct Answer

B:

A controlled rejected purchase increments invocation metrics but not successful purchase counts. This verifies the result of publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments.

Incorrect Answers

A:

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.

C:

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.

D:

This would verify another situation: 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 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.