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 62

Question 610

A payment-validation worker repeatedly fails on malformed events and should keep good events flowing. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Configure a source queue redrive policy and a dead-letter queue with an appropriate maxReceiveCount.
  2. Increase batch size indefinitely without isolating failures.
  3. Poisoned messages appear in the DLQ after the chosen receives while valid events continue.
  4. Use an SNS topic subscription as a replacement for failed-message storage.
  5. Delete all failures before preserving diagnostics.

Explanation

Correct Answers

A:

Configure a source queue redrive policy and a dead-letter queue with an appropriate maxReceiveCount. This is the concrete implementation required for SQS dead-letter queues.

C:

Poisoned messages appear in the DLQ after the chosen receives while valid events continue. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Increase batch size indefinitely without isolating failures. This is not a suitable implementation or validation step for SQS dead-letter queues; it would leave the risk that without redrive, poison messages are repeatedly delivered and hide useful errors.

D:

Use an SNS topic subscription as a replacement for failed-message storage. This is not a suitable implementation or validation step for SQS dead-letter queues; it would leave the risk that without redrive, poison messages are repeatedly delivered and hide useful errors.

E:

Delete all failures before preserving diagnostics. This is not a suitable implementation or validation step for SQS dead-letter queues; it would leave the risk that without redrive, poison messages are repeatedly delivered and hide useful errors.

Question 611

A consumer app needs password sign-in and standards-based tokens for its own users. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Store all user passwords in Lambda environment variables.
  2. Publish unauthenticated API requests as sufficient proof of identity.
  3. Use an Amazon Cognito user pool as the user directory and authenticate users to obtain tokens.
  4. Use an identity pool alone as a password-based user directory.
  5. A successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

Explanation

Correct Answers

C:

Use an Amazon Cognito user pool as the user directory and authenticate users to obtain tokens. This is the concrete implementation required for Cognito user pool authentication.

E:

A successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

Incorrect Answers

A:

Store all user passwords in Lambda environment variables. This is not a suitable implementation or validation step for Cognito user pool authentication; it would leave the risk that confusing a user pool with an identity pool leaves the app without the expected login and user-directory flow.

B:

Publish unauthenticated API requests as sufficient proof of identity. This is not a suitable implementation or validation step for Cognito user pool authentication; it would leave the risk that confusing a user pool with an identity pool leaves the app without the expected login and user-directory flow.

D:

Use an identity pool alone as a password-based user directory. This is not a suitable implementation or validation step for Cognito user pool authentication; it would leave the risk that confusing a user pool with an identity pool leaves the app without the expected login and user-directory flow.

Question 612

A busy Lambda fetches a secret on each request and causes avoidable Secrets Manager API traffic. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Cache the sensitive value forever in the container image.
  2. Secret-read API volume declines while newly rotated credentials are adopted within the specified refresh window.
  3. Store secrets in publicly writable object tags.
  4. Cache secrets for a bounded interval and refresh on expiry or authentication failure using least-privilege access.
  5. Disable auditing for GetSecretValue requests.

Explanation

Correct Answers

B:

Secret-read API volume declines while newly rotated credentials are adopted within the specified refresh window.

D:

Cache secrets for a bounded interval and refresh on expiry or authentication failure using least-privilege access. This is the concrete implementation required for credential caching refresh.

Incorrect Answers

A:

Cache the sensitive value forever in the container image. This is not a suitable implementation or validation step for credential caching refresh; it would leave the risk that a process-wide cache with no expiry continues to use revoked values.

C:

Store secrets in publicly writable object tags. This is not a suitable implementation or validation step for credential caching refresh; it would leave the risk that a process-wide cache with no expiry continues to use revoked values.

E:

Disable auditing for GetSecretValue requests. This is not a suitable implementation or validation step for credential caching refresh; it would leave the risk that a process-wide cache with no expiry continues to use revoked values.

Question 613

A team uses Amazon Q Developer to propose a test suite for a refactored Python handler. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Review AI-generated tests for assertions, data privacy, and realistic events before adding them to CI.
  2. Disable code review because test source was AI-generated.
  3. The accepted tests fail on a known bug and pass once the defect is fixed without leaking secrets.
  4. Commit customer secrets as fixtures to improve realism.
  5. Assume generated tests always cover every production edge case.

Explanation

Correct Answers

A:

Review AI-generated tests for assertions, data privacy, and realistic events before adding them to CI. This is the concrete implementation required for AI-assisted test review.

C:

The accepted tests fail on a known bug and pass once the defect is fixed without leaking secrets. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Disable code review because test source was AI-generated. This is not a suitable implementation or validation step for AI-assisted test review; it would leave the risk that an AI test that only checks process exit can pass while functional behavior is wrong.

D:

Commit customer secrets as fixtures to improve realism. This is not a suitable implementation or validation step for AI-assisted test review; it would leave the risk that an AI test that only checks process exit can pass while functional behavior is wrong.

E:

Assume generated tests always cover every production edge case. This is not a suitable implementation or validation step for AI-assisted test review; it would leave the risk that an AI test that only checks process exit can pass while functional behavior is wrong.

Question 614

A Lambda processes SQS batches where one bad record should not cause nine successful records to repeat. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Increase API Gateway rate limits to control SQS batch acknowledgements.
  2. Mark every batch entry failed to preserve one error.
  3. Only failed message IDs are retried while acknowledged batch records remain completed.
  4. Enable partial batch responses and return the identifiers of failed batch items from the handler.
  5. Delete the full SQS queue when one record fails.

Explanation

Correct Answers

C:

Only failed message IDs are retried while acknowledged batch records remain completed. This is the workload-specific evidence needed to validate the change.

D:

Enable partial batch responses and return the identifiers of failed batch items from the handler. This is the concrete implementation required for Lambda event source partial batch response.

Incorrect Answers

A:

Increase API Gateway rate limits to control SQS batch acknowledgements. This is not a suitable implementation or validation step for Lambda event source partial batch response; it would leave the risk that raising an exception for the whole batch makes the entire batch eligible for retry.

B:

Mark every batch entry failed to preserve one error. This is not a suitable implementation or validation step for Lambda event source partial batch response; it would leave the risk that raising an exception for the whole batch makes the entire batch eligible for retry.

E:

Delete the full SQS queue when one record fails. This is not a suitable implementation or validation step for Lambda event source partial batch response; it would leave the risk that raising an exception for the whole batch makes the entire batch eligible for retry.

Question 615

A Lambda log shows AccessDenied when reading an object encrypted by a customer-managed KMS key. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Turn off all application logging before testing policies.
  2. Assume successful TCP connectivity proves encryption authorization.
  3. Trace the caller identity, the requested S3 action, and the KMS key permissions with CloudTrail evidence.
  4. Rename the S3 key without reviewing the KMS failure.
  5. The denied API event identifies the principal and missing permission or key-policy condition.

Explanation

Correct Answers

C:

Trace the caller identity, the requested S3 action, and the KMS key permissions with CloudTrail evidence. This is the concrete implementation required for AccessDenied troubleshooting chain.

E:

The denied API event identifies the principal and missing permission or key-policy condition. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Turn off all application logging before testing policies. This is not a suitable implementation or validation step for AccessDenied troubleshooting chain; it would leave the risk that only adjusting s3:GetObject cannot fix an explicit KMS decrypt denial.

B:

Assume successful TCP connectivity proves encryption authorization. This is not a suitable implementation or validation step for AccessDenied troubleshooting chain; it would leave the risk that only adjusting s3:GetObject cannot fix an explicit KMS decrypt denial.

D:

Rename the S3 key without reviewing the KMS failure. This is not a suitable implementation or validation step for AccessDenied troubleshooting chain; it would leave the risk that only adjusting s3:GetObject cannot fix an explicit KMS decrypt denial.

Question 616

A full-text search endpoint is slow for broad wildcard queries despite healthy application instances. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Move the query into a browser loop with more requests.
  2. Disable index refresh permanently without assessing search freshness.
  3. Profile output identifies the costly query phase and a revised query reduces latency under representative load.
  4. Add unused DynamoDB read capacity to reduce OpenSearch shard work.
  5. Inspect query profiles, shard pressure, and index mappings before optimizing the search request.

Explanation

Correct Answers

C:

Profile output identifies the costly query phase and a revised query reduces latency under representative load.

E:

Inspect query profiles, shard pressure, and index mappings before optimizing the search request. This is the concrete implementation required for OpenSearch query performance profiling.

Incorrect Answers

A:

Move the query into a browser loop with more requests. This is not a suitable implementation or validation step for OpenSearch query performance profiling; it would leave the risk that scaling only the API tier does not correct an expensive OpenSearch query pattern.

B:

Disable index refresh permanently without assessing search freshness. This is not a suitable implementation or validation step for OpenSearch query performance profiling; it would leave the risk that scaling only the API tier does not correct an expensive OpenSearch query pattern.

D:

Add unused DynamoDB read capacity to reduce OpenSearch shard work. This is not a suitable implementation or validation step for OpenSearch query performance profiling; it would leave the risk that scaling only the API tier does not correct an expensive OpenSearch query pattern.

Question 617

A custom API domain has an expiring public TLS certificate and its clients must keep authenticating endpoints. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Replace TLS with Base64 encoding of response bodies.
  2. TLS handshakes present a valid chain and expected hostname before and after rotation.
  3. Provision and validate the certificate using AWS Certificate Manager and associate the renewed certificate with the endpoint.
  4. Put the certificate's private key in client JavaScript.
  5. Disable HTTPS verification permanently on every client.

Explanation

Correct Answers

B:

TLS handshakes present a valid chain and expected hostname before and after rotation. This is the workload-specific evidence needed to validate the change.

C:

Provision and validate the certificate using AWS Certificate Manager and associate the renewed certificate with the endpoint. This is the concrete implementation required for TLS certificate rotation ACM.

Incorrect Answers

A:

Replace TLS with Base64 encoding of response bodies. This is not a suitable implementation or validation step for TLS certificate rotation ACM; it would leave the risk that an expired or mismatched certificate causes client TLS verification failures.

D:

Put the certificate's private key in client JavaScript. This is not a suitable implementation or validation step for TLS certificate rotation ACM; it would leave the risk that an expired or mismatched certificate causes client TLS verification failures.

E:

Disable HTTPS verification permanently on every client. This is not a suitable implementation or validation step for TLS certificate rotation ACM; it would leave the risk that an expired or mismatched certificate causes client TLS verification failures.

Question 618

A Lambda-backed application connects to an RDS database and wants to avoid a long-lived database password. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. IAM database authentication issues short-lived login tokens but database user permissions still control SQL access.
  2. Enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants.
  3. Use a Cognito user-pool token as the database password.
  4. Authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.
  5. Store the database master password in every function's source code.
  6. Disable database-side access controls because IAM auth exists.

Explanation

Correct Answers

A:

IAM database authentication issues short-lived login tokens but database user permissions still control SQL access. This states the AWS behavior that makes the implementation valid.

B:

Enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants. This is the concrete implementation required for IAM authentication and TLS for RDS.

D:

Authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.

Incorrect Answers

C:

Use a Cognito user-pool token as the database password. This is not a suitable implementation or validation step for IAM authentication and TLS for RDS; it would leave the risk that a correct IAM token without database user setup or TLS configuration can still fail to connect.

E:

Store the database master password in every function's source code. This is not a suitable implementation or validation step for IAM authentication and TLS for RDS; it would leave the risk that a correct IAM token without database user setup or TLS configuration can still fail to connect.

F:

Disable database-side access controls because IAM auth exists. This is not a suitable implementation or validation step for IAM authentication and TLS for RDS; it would leave the risk that a correct IAM token without database user setup or TLS configuration can still fail to connect.

Question 619

Two Lambda functions need different access to the same customer dataset and billing reports. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Share an IAM user's long-term key as a global environment variable.
  2. Attach AdministratorAccess to every Lambda to avoid policy errors.
  3. IAM policy simulation or live tests show each function cannot use the other's unrelated resources.
  4. Assign distinct least-privilege execution roles to functions according to their required service calls.
  5. Make the data bucket public so both functions can access it.

Explanation

Correct Answers

C:

IAM policy simulation or live tests show each function cannot use the other's unrelated resources. This is the workload-specific evidence needed to validate the change.

D:

Assign distinct least-privilege execution roles to functions according to their required service calls. This is the concrete implementation required for Lambda execution-role separation.

Incorrect Answers

A:

Share an IAM user's long-term key as a global environment variable. This is not a suitable implementation or validation step for Lambda execution-role separation; it would leave the risk that reusing an administrator role for every function violates workload-level least privilege.

B:

Attach AdministratorAccess to every Lambda to avoid policy errors. This is not a suitable implementation or validation step for Lambda execution-role separation; it would leave the risk that reusing an administrator role for every function violates workload-level least privilege.

E:

Make the data bucket public so both functions can access it. This is not a suitable implementation or validation step for Lambda execution-role separation; it would leave the risk that reusing an administrator role for every function violates workload-level least privilege.

Question 620

A support representative can view order state but must not see full customer identity numbers. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Hide fields only with CSS in the browser.
  2. Apply field-level authorization and mask sensitive attributes before serializing responses.
  3. Set an S3 lifecycle rule on the API response body.
  4. Return all PII in JSON and rely on users not opening dev tools.
  5. Requests from nonprivileged roles contain masked fields while approved roles get only permitted detail.

Explanation

Correct Answers

B:

Apply field-level authorization and mask sensitive attributes before serializing responses. This is the concrete implementation required for PII response field masking.

E:

Requests from nonprivileged roles contain masked fields while approved roles get only permitted detail.

Incorrect Answers

A:

Hide fields only with CSS in the browser. This is not a suitable implementation or validation step for PII response field masking; it would leave the risk that logging or returning raw records before masking exposes PII despite correct database encryption.

C:

Set an S3 lifecycle rule on the API response body. This is not a suitable implementation or validation step for PII response field masking; it would leave the risk that logging or returning raw records before masking exposes PII despite correct database encryption.

D:

Return all PII in JSON and rely on users not opening dev tools. This is not a suitable implementation or validation step for PII response field masking; it would leave the risk that logging or returning raw records before masking exposes PII despite correct database encryption.

AWS Certified Developer - Associate DVA-C02 Practice Tests