cert
cert-1
cert-2

Pass Amazon AWS Certified Developer - Associate DVA-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified Developer - Associate DVA-C02 Exam - Verified By Experts
AWS Certified Developer - Associate DVA-C02 Premium Bundle
$29.98

AWS Certified Developer - Associate DVA-C02 Premium Bundle

$79.99
$109.97
  • Premium File 653 Questions & Answers. Last update: Nov 10, 2026
  • Training Course 430 Video Lectures
  • Study Guide 1091 Pages
 
$109.97
$79.99
accept 27 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified Developer - Associate DVA-C02 Exam Training Products Individually
Amazon AWS Certified Developer - Associate DVA-C02 Premium File
Premium File 653 Q&A
$76.99$69.99
Amazon AWS Certified Developer - Associate DVA-C02 Video Training Course
Training Course 430 Lectures
$21.99 $19.99
Amazon AWS Certified Developer - Associate DVA-C02 PDF Study Guide
Study Guide 1091 Pages
$21.99 $19.99
Amazon AWS Certified Developer - Associate DVA-C02 Practice Test 55

Question 540

A queue worker should test batch partial failure outputs before a production release. The incident review finds the following problem: Testing a bare JSON object instead of an SQS event misses envelope parsing defects. What is the BEST targeted corrective action?

  1. Disable tests for malformed records entirely.
  2. Assert only that the Lambda function imports successfully.
  3. Replace fixtures with full SQS records and assert the batch failure response contract.
  4. Send API Gateway request templates as direct SQS Records fixtures without adaptation.

Explanation

Correct Answer

C:

Replace fixtures with full SQS records and assert the batch failure response contract. This directly addresses the recorded SQS handler contract tests failure and should be checked by observing that contract tests prove valid records process once logically and only failed IDs are reported.

Incorrect Answers

A:

Disable tests for malformed records entirely. This does not repair the identified SQS handler contract tests failure; the targeted remediation is to replace fixtures with full SQS records and assert the batch failure response contract.

B:

Assert only that the Lambda function imports successfully. This does not repair the identified SQS handler contract tests failure; the targeted remediation is to replace fixtures with full SQS records and assert the batch failure response contract.

D:

Send API Gateway request templates as direct SQS Records fixtures without adaptation. This does not repair the identified SQS handler contract tests failure; the targeted remediation is to replace fixtures with full SQS records and assert the batch failure response contract.

Question 541

A production API needs an automated notification when 5xx responses cross a sustained threshold. The incident review finds the following problem: Without the correct metric statistic or alarm action, sustained incidents can remain unnoticed. What is the BEST targeted corrective action?

  1. Configure an appropriate metric period and alarm action and verify a synthetic threshold crossing.
  2. Set every alarm threshold to zero without inspecting normal traffic.
  3. Use an S3 presigned URL expiration as the incident metric.
  4. Disable alarms during deployments and never restore them.

Explanation

Correct Answer

A:

Configure an appropriate metric period and alarm action and verify a synthetic threshold crossing. This directly addresses the recorded CloudWatch alarm notification failure and should be checked by observing that a controlled threshold breach moves the alarm to ALARM and the subscribed channel receives a notification.

Incorrect Answers

B:

Set every alarm threshold to zero without inspecting normal traffic. This does not repair the identified CloudWatch alarm notification failure; the targeted remediation is to configure an appropriate metric period and alarm action and verify a synthetic threshold crossing.

C:

Use an S3 presigned URL expiration as the incident metric. This does not repair the identified CloudWatch alarm notification failure; the targeted remediation is to configure an appropriate metric period and alarm action and verify a synthetic threshold crossing.

D:

Disable alarms during deployments and never restore them. This does not repair the identified CloudWatch alarm notification failure; the targeted remediation is to configure an appropriate metric period and alarm action and verify a synthetic threshold crossing.

Question 542

A product catalog needs tokenized free-text matching rather than exact primary-key lookups. The incident review finds the following problem: A DynamoDB key-only Query cannot perform arbitrary relevance-ranked text search. What is the BEST targeted corrective action?

  1. Index intended searchable documents and test text analyzer and query behavior.
  2. Put every document into a single DynamoDB partition and use Query for relevance.
  3. Run a full table Scan on each keystroke and call it full-text ranking.
  4. Use S3 object version IDs as a linguistic analyzer.

Explanation

Correct Answer

A:

Index intended searchable documents and test text analyzer and query behavior. This directly addresses the recorded OpenSearch full-text queries failure and should be checked by observing that search results return ranked text matches according to indexed tokens and query clauses.

Incorrect Answers

B:

Put every document into a single DynamoDB partition and use Query for relevance. This does not repair the identified OpenSearch full-text queries failure; the targeted remediation is to index intended searchable documents and test text analyzer and query behavior.

C:

Run a full table Scan on each keystroke and call it full-text ranking. This does not repair the identified OpenSearch full-text queries failure; the targeted remediation is to index intended searchable documents and test text analyzer and query behavior.

D:

Use S3 object version IDs as a linguistic analyzer. This does not repair the identified OpenSearch full-text queries failure; the targeted remediation is to index intended searchable documents and test text analyzer and query behavior.

Question 543

A task board needs lookups by assignee and due-date while the base table is keyed by task ID. The incident review finds the following problem: Querying a nonkey base attribute without an index forces a scan or invalid key expression. What is the BEST targeted corrective action?

  1. Create the appropriate GSI and update callers to query its keys.
  2. Add a Local Secondary Index to an existing table after creation.
  3. Expect a projection expression to convert a nonkey field into a key.
  4. Use strongly consistent reads on every GSI query.

Explanation

Correct Answer

A:

Create the appropriate GSI and update callers to query its keys. This directly addresses the recorded DynamoDB GSI access pattern failure and should be checked by observing that queries against the index return the requested items without scanning unrelated base-table partitions.

Incorrect Answers

B:

Add a Local Secondary Index to an existing table after creation. This does not repair the identified DynamoDB GSI access pattern failure; the targeted remediation is to create the appropriate GSI and update callers to query its keys.

C:

Expect a projection expression to convert a nonkey field into a key. This does not repair the identified DynamoDB GSI access pattern failure; the targeted remediation is to create the appropriate GSI and update callers to query its keys.

D:

Use strongly consistent reads on every GSI query. This does not repair the identified DynamoDB GSI access pattern failure; the targeted remediation is to create the appropriate GSI and update callers to query its keys.

Question 544

A profile service performs frequent lookups with occasional updates requiring bounded stale data. The incident review finds the following problem: Never expiring cached entries can continue to return stale records after updates. What is the BEST targeted corrective action?

  1. Increase retry counts on cache misses without ever reading the source of truth.
  2. Configure TTL and invalidate or refresh affected keys after writes.
  3. Replace database writes with cache-only updates.
  4. Cache every mutable value forever with no invalidation.

Explanation

Correct Answer

B:

Configure TTL and invalidate or refresh affected keys after writes. This directly addresses the recorded ElastiCache cache-aside failure and should be checked by observing that cache hit-rate increases and backend read load falls while update invalidation keeps freshness within policy.

Incorrect Answers

A:

Increase retry counts on cache misses without ever reading the source of truth. This does not repair the identified ElastiCache cache-aside failure; the targeted remediation is to configure TTL and invalidate or refresh affected keys after writes.

C:

Replace database writes with cache-only updates. This does not repair the identified ElastiCache cache-aside failure; the targeted remediation is to configure TTL and invalidate or refresh affected keys after writes.

D:

Cache every mutable value forever with no invalidation. This does not repair the identified ElastiCache cache-aside failure; the targeted remediation is to configure TTL and invalidate or refresh affected keys after writes.

Question 545

A stage promotion should change the backend alias without copying an entire REST API definition. The incident review finds the following problem: A hardcoded backend alias in a shared integration can route test traffic into production. What is the BEST targeted corrective action?

  1. Update the stage variable or integration alias and confirm invocation permissions and logs.
  2. Delete all API stages and keep one mutable production endpoint.
  3. Treat CloudFront cache invalidation as an integration alias update.
  4. Change only a deployment description and assume backend ARNs update automatically.

Explanation

Correct Answer

A:

Update the stage variable or integration alias and confirm invocation permissions and logs. This directly addresses the recorded API Gateway stage variables failure and should be checked by observing that test and production invoke the correct Lambda alias without unintended cross-stage traffic.

Incorrect Answers

B:

Delete all API stages and keep one mutable production endpoint. This does not repair the identified API Gateway stage variables failure; the targeted remediation is to update the stage variable or integration alias and confirm invocation permissions and logs.

C:

Treat CloudFront cache invalidation as an integration alias update. This does not repair the identified API Gateway stage variables failure; the targeted remediation is to update the stage variable or integration alias and confirm invocation permissions and logs.

D:

Change only a deployment description and assume backend ARNs update automatically. This does not repair the identified API Gateway stage variables failure; the targeted remediation is to update the stage variable or integration alias and confirm invocation permissions and logs.

Question 546

A data processor's release checks need controlled success and failure events for regression testing. The incident review finds the following problem: Tests using only happy-path payloads miss error handling and event-shape incompatibilities. What is the BEST targeted corrective action?

  1. Replace every event fixture with an empty JSON object.
  2. Disable pipeline test steps when a fixture reveals a defect.
  3. Add realistic negative event fixtures and test assertions before promoting the build.
  4. Treat a successful Docker image push as proof all event paths work.

Explanation

Correct Answer

C:

Add realistic negative event fixtures and test assertions before promoting the build. This directly addresses the recorded deployment test event generation failure and should be checked by observing that candidate builds pass deterministic positive and negative test cases with expected response contracts.

Incorrect Answers

A:

Replace every event fixture with an empty JSON object. This does not repair the identified deployment test event generation failure; the targeted remediation is to add realistic negative event fixtures and test assertions before promoting the build.

B:

Disable pipeline test steps when a fixture reveals a defect. This does not repair the identified deployment test event generation failure; the targeted remediation is to add realistic negative event fixtures and test assertions before promoting the build.

D:

Treat a successful Docker image push as proof all event paths work. This does not repair the identified deployment test event generation failure; the targeted remediation is to add realistic negative event fixtures and test assertions before promoting the build.

Question 547

One AWS service integration needs scoped authority to publish to a different service in the same account. The incident review finds the following problem: A backend-to-backend call can fail when identity access exists but a required resource policy denies the principal. What is the BEST targeted corrective action?

  1. Place a permanent admin API key in both Lambda source files.
  2. Make every target endpoint publicly invokable to avoid IAM trust.
  3. Treat a browser-supplied user ID as an AWS service principal.
  4. Correct identity and target resource permissions for the specific service operation.

Explanation

Correct Answer

D:

Correct identity and target resource permissions for the specific service operation. This directly addresses the recorded service-to-service IAM authorization failure and should be checked by observing that cloudTrail and target logs show requests authorized only for the permitted source principal.

Incorrect Answers

A:

Place a permanent admin API key in both Lambda source files. This does not repair the identified service-to-service IAM authorization failure; the targeted remediation is to correct identity and target resource permissions for the specific service operation.

B:

Make every target endpoint publicly invokable to avoid IAM trust. This does not repair the identified service-to-service IAM authorization failure; the targeted remediation is to correct identity and target resource permissions for the specific service operation.

C:

Treat a browser-supplied user ID as an AWS service principal. This does not repair the identified service-to-service IAM authorization failure; the targeted remediation is to correct identity and target resource permissions for the specific service operation.

Question 548

A financial API requires a human approval gate after canary metrics are reviewed. The incident review finds the following problem: A pipeline that rebuilds a different artifact after approval breaks artifact provenance. What is the BEST targeted corrective action?

  1. Bypass failing staging tests automatically.
  2. Pull arbitrary latest images in production instead of the tested digest.
  3. Reuse the approved artifact and enforce test and approval transitions.
  4. Trigger production deployment before build artifacts exist.

Explanation

Correct Answer

C:

Reuse the approved artifact and enforce test and approval transitions. This directly addresses the recorded CodePipeline gated promotion failure and should be checked by observing that pipeline execution history shows the same artifact revision crossing successful gates before production.

Incorrect Answers

A:

Bypass failing staging tests automatically. This does not repair the identified CodePipeline gated promotion failure; the targeted remediation is to reuse the approved artifact and enforce test and approval transitions.

B:

Pull arbitrary latest images in production instead of the tested digest. This does not repair the identified CodePipeline gated promotion failure; the targeted remediation is to reuse the approved artifact and enforce test and approval transitions.

D:

Trigger production deployment before build artifacts exist. This does not repair the identified CodePipeline gated promotion failure; the targeted remediation is to reuse the approved artifact and enforce test and approval transitions.

Question 549

A diagnostic middleware records full request headers including Authorization during a failed API call. The incident review finds the following problem: Dumping secrets into CloudWatch Logs exposes credentials to log readers. What is the BEST targeted corrective action?

  1. Make the log group public so failures are easier to share.
  2. Rely on a KMS key to retroactively hide already logged plaintext.
  3. Remove broad env/header logging and implement explicit allowlisted diagnostics.
  4. Add more verbose logs of complete bearer tokens.

Explanation

Correct Answer

C:

Remove broad env/header logging and implement explicit allowlisted diagnostics. This directly addresses the recorded Lambda environment secret leakage failure and should be checked by observing that controlled failure tests produce usable trace metadata but no credential material in logs.

Incorrect Answers

A:

Make the log group public so failures are easier to share. This does not repair the identified Lambda environment secret leakage failure; the targeted remediation is to remove broad env/header logging and implement explicit allowlisted diagnostics.

B:

Rely on a KMS key to retroactively hide already logged plaintext. This does not repair the identified Lambda environment secret leakage failure; the targeted remediation is to remove broad env/header logging and implement explicit allowlisted diagnostics.

D:

Add more verbose logs of complete bearer tokens. This does not repair the identified Lambda environment secret leakage failure; the targeted remediation is to remove broad env/header logging and implement explicit allowlisted diagnostics.

Question 550

A team rolls out a pricing feature to only a small subset of users with rollback controls. The incident review finds the following problem: Copying production flags into staging accidentally enables functionality in the wrong environment. What is the BEST targeted corrective action?

  1. Store feature flags in an unvalidated browser cookie only.
  2. Rely on IAM key rotation to change application feature behavior.
  3. Commit different copies of the application for every flag value.
  4. Correct the AppConfig environment or profile association and roll back unsafe versions.

Explanation

Correct Answer

D:

Correct the AppConfig environment or profile association and roll back unsafe versions. This directly addresses the recorded environment-specific AppConfig failure and should be checked by observing that the correct environment retrieves its scoped configuration and a failed rollout can be rolled back.

Incorrect Answers

A:

Store feature flags in an unvalidated browser cookie only. This does not repair the identified environment-specific AppConfig failure; the targeted remediation is to correct the AppConfig environment or profile association and roll back unsafe versions.

B:

Rely on IAM key rotation to change application feature behavior. This does not repair the identified environment-specific AppConfig failure; the targeted remediation is to correct the AppConfig environment or profile association and roll back unsafe versions.

C:

Commit different copies of the application for every flag value. This does not repair the identified environment-specific AppConfig failure; the targeted remediation is to correct the AppConfig environment or profile association and roll back unsafe versions.

AWS Certified Developer - Associate DVA-C02 Practice Tests