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 66

Question 650

A shared SaaS table stores records for many tenants under tenant-prefixed partition keys. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Trust an unsigned request header as proof of ownership.
  2. Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query.
  3. Authorized requests query only their tenant partition while cross-tenant requests are blocked.
  4. Cache shared query results without a tenant-specific key.
  5. Permit any valid user to choose any tenant partition key.
  6. A tenant identifier from verified claims must control data scoping instead of untrusted request parameters.

Explanation

Correct Answers

B:

Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query. This is the concrete implementation required for multi-tenant DynamoDB row isolation.

C:

Authorized requests query only their tenant partition while cross-tenant requests are blocked. This is the workload-specific evidence needed to validate the change.

F:

A tenant identifier from verified claims must control data scoping instead of untrusted request parameters. This states the AWS behavior that makes the implementation valid.

Incorrect Answers

A:

Trust an unsigned request header as proof of ownership. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

D:

Cache shared query results without a tenant-specific key. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

E:

Permit any valid user to choose any tenant partition key. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

Question 651

A session store records an expiration timestamp but the app must deny an expired session immediately. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Use a GSI to force TTL deletion instantly.
  2. Check the epoch expiration attribute in application logic while using DynamoDB TTL for eventual cleanup.
  3. An expired item is denied by the app even when the physical DynamoDB item has not yet disappeared.
  4. Turn off expiration checks when Time to Live is enabled.
  5. Assume DynamoDB TTL removes a record at the exact second.

Explanation

Correct Answers

B:

Check the epoch expiration attribute in application logic while using DynamoDB TTL for eventual cleanup. This is the concrete implementation required for DynamoDB TTL expiry semantics.

C:

An expired item is denied by the app even when the physical DynamoDB item has not yet disappeared. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Use a GSI to force TTL deletion instantly. This is not a suitable implementation or validation step for DynamoDB TTL expiry semantics; it would leave the risk that treating TTL cleanup as synchronous can keep expired data valid until deletion occurs.

D:

Turn off expiration checks when Time to Live is enabled. This is not a suitable implementation or validation step for DynamoDB TTL expiry semantics; it would leave the risk that treating TTL cleanup as synchronous can keep expired data valid until deletion occurs.

E:

Assume DynamoDB TTL removes a record at the exact second. This is not a suitable implementation or validation step for DynamoDB TTL expiry semantics; it would leave the risk that treating TTL cleanup as synchronous can keep expired data valid until deletion occurs.

Question 652

An API fanout causes thousands of concurrent calls to a downstream rate-limited billing system. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Limit parallelism and introduce queue-based backpressure with bounded retries and metrics.
  2. Disable all rate-limit metrics during load testing.
  3. Drop every delayed event without a recovery or retention strategy.
  4. Increase the number of parallel calls after every 429 response.
  5. Downstream 429 rates fall while queue depth and processing age remain within the service objective.
  6. Concurrency controls must reflect downstream capacity rather than only upstream invocation volume.

Explanation

Correct Answers

A:

Limit parallelism and introduce queue-based backpressure with bounded retries and metrics. This is the concrete implementation required for concurrency backpressure.

E:

Downstream 429 rates fall while queue depth and processing age remain within the service objective. This is the workload-specific evidence needed to validate the change.

F:

Concurrency controls must reflect downstream capacity rather than only upstream invocation volume. This states the AWS behavior that makes the implementation valid.

Incorrect Answers

B:

Disable all rate-limit metrics during load testing. This is not a suitable implementation or validation step for concurrency backpressure; it would leave the risk that unbounded fanout can overwhelm a dependency even if the caller has ample compute capacity.

C:

Drop every delayed event without a recovery or retention strategy. This is not a suitable implementation or validation step for concurrency backpressure; it would leave the risk that unbounded fanout can overwhelm a dependency even if the caller has ample compute capacity.

D:

Increase the number of parallel calls after every 429 response. This is not a suitable implementation or validation step for concurrency backpressure; it would leave the risk that unbounded fanout can overwhelm a dependency even if the caller has ample compute capacity.

Question 653

A build service in one account needs read-only access to a deployment artifact bucket in a second account. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Copy the destination account's root keys into the source account.
  2. CloudTrail shows the expected assumed role session and only the allowed target-account API actions succeed.
  3. Add only an S3 bucket tag and expect STS authorization to change.
  4. Cross-account roles require both role trust and permission policy authorization.
  5. Allow any AWS principal in the role trust policy.
  6. Assume a scoped IAM role through STS with a trust policy permitting the source principal.

Explanation

Correct Answers

B:

CloudTrail shows the expected assumed role session and only the allowed target-account API actions succeed.

D:

Cross-account roles require both role trust and permission policy authorization. This states the AWS behavior that makes the implementation valid.

F:

Assume a scoped IAM role through STS with a trust policy permitting the source principal. This is the concrete implementation required for IAM STS AssumeRole cross-account.

Incorrect Answers

A:

Copy the destination account's root keys into the source account. This is not a suitable implementation or validation step for IAM STS AssumeRole cross-account; it would leave the risk that a correct permission policy without an allowed trust relationship cannot be assumed.

C:

Add only an S3 bucket tag and expect STS authorization to change. This is not a suitable implementation or validation step for IAM STS AssumeRole cross-account; it would leave the risk that a correct permission policy without an allowed trust relationship cannot be assumed.

E:

Allow any AWS principal in the role trust policy. This is not a suitable implementation or validation step for IAM STS AssumeRole cross-account; it would leave the risk that a correct permission policy without an allowed trust relationship cannot be assumed.

Question 654

A Lambda function in a VPC must reach a private RDS endpoint without exposing the database publicly. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Attach Lambda to appropriate subnets and security groups with allowed routes and database connectivity.
  2. Replace the execution role with broad IAM access to repair TCP connectivity.
  3. Network tests confirm outbound connectivity from the function to the private endpoint on its service port.
  4. Make the RDS instance publicly accessible by default.
  5. Put database credentials in a public API Gateway stage variable.

Explanation

Correct Answers

A:

Attach Lambda to appropriate subnets and security groups with allowed routes and database connectivity. This is the concrete implementation required for Lambda VPC private data access.

C:

Network tests confirm outbound connectivity from the function to the private endpoint on its service port.

Incorrect Answers

B:

Replace the execution role with broad IAM access to repair TCP connectivity. This is not a suitable implementation or validation step for Lambda VPC private data access; it would leave the risk that missing security-group or routing rules prevent TCP access to a private endpoint.

D:

Make the RDS instance publicly accessible by default. This is not a suitable implementation or validation step for Lambda VPC private data access; it would leave the risk that missing security-group or routing rules prevent TCP access to a private endpoint.

E:

Put database credentials in a public API Gateway stage variable. This is not a suitable implementation or validation step for Lambda VPC private data access; it would leave the risk that missing security-group or routing rules prevent TCP access to a private endpoint.

Question 655

A deployment build must install dependencies, execute tests, and package a versioned Lambda artifact. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Define buildspec phases that install, test, and package artifacts in the correct order with failure propagation.
  2. The build fails on a seeded test failure and publishes an artifact only after tests succeed.
  3. CodeBuild buildspec phases and exit codes control which artifacts advance in CI.
  4. Upload artifacts before dependencies are installed.
  5. Mark every test command with ignore-error behavior.
  6. Use CodeDeploy health checks as a replacement for compiling source.

Explanation

Correct Answers

A:

Define buildspec phases that install, test, and package artifacts in the correct order with failure propagation. This is the concrete implementation required for CodeBuild buildspec sequencing.

B:

The build fails on a seeded test failure and publishes an artifact only after tests succeed. This is the workload-specific evidence needed to validate the change.

C:

CodeBuild buildspec phases and exit codes control which artifacts advance in CI. This states the AWS behavior that makes the implementation valid.

Incorrect Answers

D:

Upload artifacts before dependencies are installed. This is not a suitable implementation or validation step for CodeBuild buildspec sequencing; it would leave the risk that packaging before test validation can promote artifacts containing known defects.

E:

Mark every test command with ignore-error behavior. This is not a suitable implementation or validation step for CodeBuild buildspec sequencing; it would leave the risk that packaging before test validation can promote artifacts containing known defects.

F:

Use CodeDeploy health checks as a replacement for compiling source. This is not a suitable implementation or validation step for CodeBuild buildspec sequencing; it would leave the risk that packaging before test validation can promote artifacts containing known defects.

Question 656

A developer accidentally commits an AWS access key to a feature branch that is reviewed before merge. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Run automated secret scanning in CI and revoke exposed credentials instead of merely deleting one commit.
  2. Grant the exposed key broader permissions so existing builds do not break.
  3. Assume renaming the branch makes the key private again.
  4. A seeded test secret blocks the merge and revocation evidence confirms the exposed credential is unusable.
  5. Encrypt only the build status badge.

Explanation

Correct Answers

A:

Run automated secret scanning in CI and revoke exposed credentials instead of merely deleting one commit. This is the concrete implementation required for secret scanning in CI.

D:

A seeded test secret blocks the merge and revocation evidence confirms the exposed credential is unusable.

Incorrect Answers

B:

Grant the exposed key broader permissions so existing builds do not break. This is not a suitable implementation or validation step for secret scanning in CI; it would leave the risk that removing a secret from the latest file does not erase its exposure in repository history.

C:

Assume renaming the branch makes the key private again. This is not a suitable implementation or validation step for secret scanning in CI; it would leave the risk that removing a secret from the latest file does not erase its exposure in repository history.

E:

Encrypt only the build status badge. This is not a suitable implementation or validation step for secret scanning in CI; it would leave the risk that removing a secret from the latest file does not erase its exposure in repository history.

Question 657

An HTTP GET response varies by locale and authorization scope but a shared cache currently serves the wrong language. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Configure cache keys or origin request policies using the required safe variation dimensions.
  2. Disable origin validation and accept all cached variants.
  3. Set all Cache-Control headers to public for private account responses.
  4. Cache tests show each allowed variant returns its own response without cross-user leakage.
  5. Cache every authenticated response under one key.

Explanation

Correct Answers

A:

Configure cache keys or origin request policies using the required safe variation dimensions. This is the concrete implementation required for API response caching variation.

D:

Cache tests show each allowed variant returns its own response without cross-user leakage. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Disable origin validation and accept all cached variants. This is not a suitable implementation or validation step for API response caching variation; it would leave the risk that ignoring a response-varying header can serve incorrect or sensitive content from cache.

C:

Set all Cache-Control headers to public for private account responses. This is not a suitable implementation or validation step for API response caching variation; it would leave the risk that ignoring a response-varying header can serve incorrect or sensitive content from cache.

E:

Cache every authenticated response under one key. This is not a suitable implementation or validation step for API response caching variation; it would leave the risk that ignoring a response-varying header can serve incorrect or sensitive content from cache.

Question 658

An asynchronously invoked Lambda repeatedly fails and operators need the failed event context. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Delete application logs to reduce retry errors.
  2. Configure an asynchronous on-failure destination and permitted target delivery for terminal failures.
  3. Increase provisioned concurrency to guarantee application correctness.
  4. The failure destination receives an invocation record after retries or age limits are exhausted.
  5. Configure a synchronous API Gateway response header as an async destination.

Explanation

Correct Answers

B:

Configure an asynchronous on-failure destination and permitted target delivery for terminal failures. This is the concrete implementation required for Lambda asynchronous failure destination.

D:

The failure destination receives an invocation record after retries or age limits are exhausted. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Delete application logs to reduce retry errors. This is not a suitable implementation or validation step for Lambda asynchronous failure destination; it would leave the risk that a missing destination silently loses terminal failure context beyond default handling.

C:

Increase provisioned concurrency to guarantee application correctness. This is not a suitable implementation or validation step for Lambda asynchronous failure destination; it would leave the risk that a missing destination silently loses terminal failure context beyond default handling.

E:

Configure a synchronous API Gateway response header as an async destination. This is not a suitable implementation or validation step for Lambda asynchronous failure destination; it would leave the risk that a missing destination silently loses terminal failure context beyond default handling.

Question 659

A new Lambda release raises error rates and the production alias must promptly return to the prior healthy version. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Change the deployment package filename while leaving the alias unchanged.
  2. Delete the previous healthy version before performing rollback.
  3. Point the production Lambda alias back to the previously tested immutable version.
  4. Edit published version code in place as though it were mutable.
  5. Invocations through the alias immediately resolve to the prior version and error rates recover.

Explanation

Correct Answers

C:

Point the production Lambda alias back to the previously tested immutable version. This is the concrete implementation required for Lambda alias rollback.

E:

Invocations through the alias immediately resolve to the prior version and error rates recover. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Change the deployment package filename while leaving the alias unchanged. This is not a suitable implementation or validation step for Lambda alias rollback; it would leave the risk that editing $LATEST does not necessarily change an alias pinned to a published version.

B:

Delete the previous healthy version before performing rollback. This is not a suitable implementation or validation step for Lambda alias rollback; it would leave the risk that editing $LATEST does not necessarily change an alias pinned to a published version.

D:

Edit published version code in place as though it were mutable. This is not a suitable implementation or validation step for Lambda alias rollback; it would leave the risk that editing $LATEST does not necessarily change an alias pinned to a published version.

Question 660

A product API needs all purchases for a known customer ID and must avoid reading an entire table. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Put the customer identifier only into an unused document attribute.
  2. Use DynamoDB Query with the customer partition key and an appropriate sort-key condition.
  3. Call BatchWriteItem to retrieve customer records.
  4. Query uses key conditions while Scan examines items beyond the requested partition.
  5. Filter a full-table Scan after reading every item.
  6. Read capacity and response results are limited to the target key range rather than the whole table.

Explanation

Correct Answers

B:

Use DynamoDB Query with the customer partition key and an appropriate sort-key condition. This is the concrete implementation required for DynamoDB Query versus Scan.

D:

Query uses key conditions while Scan examines items beyond the requested partition. This states the AWS behavior that makes the implementation valid.

F:

Read capacity and response results are limited to the target key range rather than the whole table. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Put the customer identifier only into an unused document attribute. This is not a suitable implementation or validation step for DynamoDB Query versus Scan; it would leave the risk that using Scan for a predictable partition lookup wastes read capacity and creates latency.

C:

Call BatchWriteItem to retrieve customer records. This is not a suitable implementation or validation step for DynamoDB Query versus Scan; it would leave the risk that using Scan for a predictable partition lookup wastes read capacity and creates latency.

E:

Filter a full-table Scan after reading every item. This is not a suitable implementation or validation step for DynamoDB Query versus Scan; it would leave the risk that using Scan for a predictable partition lookup wastes read capacity and creates latency.

AWS Certified Developer - Associate DVA-C02 Practice Tests