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 23

Question 220

A product API needs all purchases for a known customer ID and must avoid reading an entire table. After implementing the planned DynamoDB Query versus Scan change, which observation is the MOST direct proof that its specific requirement has been met?

  1. Read capacity and response results are limited to the target key range rather than the whole table.
  2. Cache hit-rate increases and backend read load falls while update invalidation keeps freshness within policy.
  3. Network tests confirm outbound connectivity from the function to the private endpoint on its service port.
  4. The target receives a record including request details and failure response context.

Explanation

Correct Answer

A:

Read capacity and response results are limited to the target key range rather than the whole table. This directly validates DynamoDB Query versus Scan under the stated workload and confirms the intended AWS behavior: query uses key conditions while Scan examines items beyond the requested partition.

Incorrect Answers

B:

This observation tests ElastiCache cache-aside, rather than confirming DynamoDB Query versus Scan. It does not by itself establish that read capacity and response results are limited to the target key range rather than the whole table.

C:

This observation tests Lambda VPC private data access, rather than confirming DynamoDB Query versus Scan. It does not by itself establish that read capacity and response results are limited to the target key range rather than the whole table.

D:

This observation tests Lambda destinations versus DLQ, rather than confirming DynamoDB Query versus Scan. It does not by itself establish that read capacity and response results are limited to the target key range rather than the whole table.

Question 221

A developer must test a Lambda-backed API endpoint before promoting a build to a shared AWS environment. After implementing the planned local SAM API testing change, which observation is the MOST direct proof that its specific requirement has been met?

  1. The correct environment retrieves its scoped configuration and a failed rollout can be rolled back.
  2. Test and production invoke the correct Lambda alias without unintended cross-stage traffic.
  3. Test requests route to the test deployment while production routes keep serving the previous version.
  4. Test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

Explanation

Correct Answer

D:

Test output demonstrates the expected HTTP or handler response for valid and invalid fixtures. This directly validates local SAM API testing under the stated workload and confirms the intended AWS behavior: sAM local testing helps validate handler behavior before a cloud deployment but does not replace all integration tests.

Incorrect Answers

A:

This observation tests environment-specific AppConfig, rather than confirming local SAM API testing. It does not by itself establish that test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

B:

This observation tests API Gateway stage variables, rather than confirming local SAM API testing. It does not by itself establish that test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

C:

This observation tests API Gateway staging endpoints, rather than confirming local SAM API testing. It does not by itself establish that test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

Question 222

Two Lambda functions need different access to the same customer dataset and billing reports. After implementing the planned Lambda execution-role separation change, which observation is the MOST direct proof that its specific requirement has been met?

  1. A seeded test secret blocks the merge and revocation evidence confirms the exposed credential is unusable.
  2. An approved role can decrypt the wrapped data key while an unauthorized role cannot.
  3. IAM policy simulation or live tests show each function cannot use the other's unrelated resources.
  4. A successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

Explanation

Correct Answer

C:

IAM policy simulation or live tests show each function cannot use the other's unrelated resources. This directly validates Lambda execution-role separation under the stated workload and confirms the intended AWS behavior: separate execution roles reduce blast radius when individual workloads are compromised.

Incorrect Answers

A:

This observation tests secret scanning in CI, rather than confirming Lambda execution-role separation. It does not by itself establish that iAM policy simulation or live tests show each function cannot use the other's unrelated resources.

B:

This observation tests KMS envelope encryption, rather than confirming Lambda execution-role separation. It does not by itself establish that iAM policy simulation or live tests show each function cannot use the other's unrelated resources.

D:

This observation tests Cognito user pool authentication, rather than confirming Lambda execution-role separation. It does not by itself establish that iAM policy simulation or live tests show each function cannot use the other's unrelated resources.

Question 223

An asynchronously invoked Lambda repeatedly fails and operators need the failed event context. After implementing the planned Lambda asynchronous failure destination change, which observation is the MOST direct proof that its specific requirement has been met?

  1. The failure destination receives an invocation record after retries or age limits are exhausted.
  2. Test results and code review demonstrate generated changes meet requirements without new permissions exposure.
  3. Invocations in each environment show the configured nonsecret value without changing application source.
  4. Poisoned messages appear in the DLQ after the chosen receives while valid events continue.

Explanation

Correct Answer

A:

The failure destination receives an invocation record after retries or age limits are exhausted. This directly validates Lambda asynchronous failure destination under the stated workload and confirms the intended AWS behavior: asynchronous Lambda destinations provide structured success or failure outcomes for supported invocation modes.

Incorrect Answers

B:

This observation tests Amazon Q Developer review, rather than confirming Lambda asynchronous failure destination. It does not by itself establish that the failure destination receives an invocation record after retries or age limits are exhausted.

C:

This observation tests Lambda environment configuration, rather than confirming Lambda asynchronous failure destination. It does not by itself establish that the failure destination receives an invocation record after retries or age limits are exhausted.

D:

This observation tests SQS dead-letter queues, rather than confirming Lambda asynchronous failure destination. It does not by itself establish that the failure destination receives an invocation record after retries or age limits are exhausted.

Question 224

A serverless handler loads a vendor token but currently prints all environment variables on errors. After implementing the planned Lambda environment secret leakage change, which observation is the MOST direct proof that its specific requirement has been met?

  1. Federated users obtain expiring role credentials constrained to the intended S3 paths.
  2. Authorized reads with decryption return the intended value while unauthorized callers cannot decrypt it.
  3. Controlled failure tests produce usable trace metadata but no credential material in logs.
  4. Requests from the intended endpoint succeed and other source contexts receive access denied.

Explanation

Correct Answer

C:

Controlled failure tests produce usable trace metadata but no credential material in logs. This directly validates Lambda environment secret leakage under the stated workload and confirms the intended AWS behavior: encryption at rest does not stop an application from leaking plaintext secrets during logging.

Incorrect Answers

A:

This observation tests Cognito identity pool AWS access, rather than confirming Lambda environment secret leakage. It does not by itself establish that controlled failure tests produce usable trace metadata but no credential material in logs.

B:

This observation tests Parameter Store secure strings, rather than confirming Lambda environment secret leakage. It does not by itself establish that controlled failure tests produce usable trace metadata but no credential material in logs.

D:

This observation tests API Gateway resource policy, rather than confirming Lambda environment secret leakage. It does not by itself establish that controlled failure tests produce usable trace metadata but no credential material in logs.

Question 225

One API Gateway deployment serves test and production stages that use different backend Lambda aliases. After implementing the planned API Gateway stage variables change, which observation is the MOST direct proof that its specific requirement has been met?

  1. Older client fixtures and the revised contract both pass against the candidate API stage.
  2. The change set shows the intended resource values for the selected environment without modifying source templates.
  3. Test and production invoke the correct Lambda alias without unintended cross-stage traffic.
  4. Alias routing starts at the selected small percentage and alarms can trigger rollback.

Explanation

Correct Answer

C:

Test and production invoke the correct Lambda alias without unintended cross-stage traffic. This directly validates API Gateway stage variables under the stated workload and confirms the intended AWS behavior: aPI Gateway stage configuration can parameterize integrations for separate environments.

Incorrect Answers

A:

This observation tests contract testing versioned API, rather than confirming API Gateway stage variables. It does not by itself establish that test and production invoke the correct Lambda alias without unintended cross-stage traffic.

B:

This observation tests CloudFormation resource parameters, rather than confirming API Gateway stage variables. It does not by itself establish that test and production invoke the correct Lambda alias without unintended cross-stage traffic.

D:

This observation tests CodeDeploy Lambda canary, rather than confirming API Gateway stage variables. It does not by itself establish that test and production invoke the correct Lambda alias without unintended cross-stage traffic.

Question 226

A mobile client must gracefully recover when a short-lived OAuth access token expires. After implementing the planned bearer token refresh and expiry change, which observation is the MOST direct proof that its specific requirement has been met?

  1. The application authenticates using temporary provider credentials and the repository contains no keys.
  2. Requests from the intended endpoint succeed and other source contexts receive access denied.
  3. The client obtains a fresh access token and the protected API rejects an expired one.
  4. Authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.

Explanation

Correct Answer

C:

The client obtains a fresh access token and the protected API rejects an expired one. This directly validates bearer token refresh and expiry under the stated workload and confirms the intended AWS behavior: bearer tokens are bounded credentials and server-side expiry checks cannot be replaced by client clock trust.

Incorrect Answers

A:

This observation tests temporary credential storage, rather than confirming bearer token refresh and expiry. It does not by itself establish that the client obtains a fresh access token and the protected API rejects an expired one.

B:

This observation tests API Gateway resource policy, rather than confirming bearer token refresh and expiry. It does not by itself establish that the client obtains a fresh access token and the protected API rejects an expired one.

D:

This observation tests IAM authentication and TLS for RDS, rather than confirming bearer token refresh and expiry. It does not by itself establish that the client obtains a fresh access token and the protected API rejects an expired one.

Question 227

An ECS service unexpectedly runs a different build because the pipeline reuses the mutable latest tag. After implementing the planned immutable container image tags change, which observation is the MOST direct proof that its specific requirement has been met?

  1. The running task image digest matches the tested build artifact after deployment and rollback.
  2. Test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.
  3. The change set shows the intended resource values for the selected environment without modifying source templates.
  4. Invocations through the alias immediately resolve to the prior version and error rates recover.

Explanation

Correct Answer

A:

The running task image digest matches the tested build artifact after deployment and rollback. This directly validates immutable container image tags under the stated workload and confirms the intended AWS behavior: immutable artifact references make releases and rollbacks reproducible.

Incorrect Answers

B:

This observation tests local SAM API testing, rather than confirming immutable container image tags. It does not by itself establish that the running task image digest matches the tested build artifact after deployment and rollback.

C:

This observation tests CloudFormation resource parameters, rather than confirming immutable container image tags. It does not by itself establish that the running task image digest matches the tested build artifact after deployment and rollback.

D:

This observation tests Lambda alias rollback, rather than confirming immutable container image tags. It does not by itself establish that the running task image digest matches the tested build artifact after deployment and rollback.

Question 228

Multiple Python Lambda functions must share a versioned dependency without copying vendor packages into each source tree. After implementing the planned Lambda layer dependency management change, which observation is the MOST direct proof that its specific requirement has been met?

  1. The target receives a record including request details and failure response context.
  2. Search results return ranked text matches according to indexed tokens and query clauses.
  3. Queries against the index return the requested items without scanning unrelated base-table partitions.
  4. Each function loads the expected dependency version under the declared runtime and architecture.

Explanation

Correct Answer

D:

Each function loads the expected dependency version under the declared runtime and architecture. This directly validates Lambda layer dependency management under the stated workload and confirms the intended AWS behavior: lambda layers package reusable dependencies separately while runtime compatibility must still match.

Incorrect Answers

A:

This observation tests Lambda destinations versus DLQ, rather than confirming Lambda layer dependency management. It does not by itself establish that each function loads the expected dependency version under the declared runtime and architecture.

B:

This observation tests OpenSearch full-text queries, rather than confirming Lambda layer dependency management. It does not by itself establish that each function loads the expected dependency version under the declared runtime and architecture.

C:

This observation tests DynamoDB GSI access pattern, rather than confirming Lambda layer dependency management. It does not by itself establish that each function loads the expected dependency version under the declared runtime and architecture.

Question 229

A consumer app needs password sign-in and standards-based tokens for its own users. After implementing the planned Cognito user pool authentication change, which observation is the MOST direct proof that its specific requirement has been met?

  1. Older ciphertext remains decryptable using protected historical key material and new operations use current material.
  2. Secret-read API volume declines while newly rotated credentials are adopted within the specified refresh window.
  3. A successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.
  4. CloudTrail and target logs show requests authorized only for the permitted source principal.

Explanation

Correct Answer

C:

A successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate. This directly validates Cognito user pool authentication under the stated workload and confirms the intended AWS behavior: cognito user pools handle user sign-in and tokens, while identity pools serve temporary AWS credentials.

Incorrect Answers

A:

This observation tests KMS rotation scope, rather than confirming Cognito user pool authentication. It does not by itself establish that a successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

B:

This observation tests credential caching refresh, rather than confirming Cognito user pool authentication. It does not by itself establish that a successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

D:

This observation tests service-to-service IAM authorization, rather than confirming Cognito user pool authentication. It does not by itself establish that a successfully signed-in user receives correctly issued tokens whose signature, issuer, audience, and expiry validate.

Question 230

A shared SaaS table stores records for many tenants under tenant-prefixed partition keys. After implementing the planned multi-tenant DynamoDB row isolation change, which observation is the MOST direct proof that its specific requirement has been met?

  1. An approved role can decrypt the wrapped data key while an unauthorized role cannot.
  2. Authorized requests query only their tenant partition while cross-tenant requests are blocked.
  3. Secret-read API volume declines while newly rotated credentials are adopted within the specified refresh window.
  4. TLS handshakes present a valid chain and expected hostname before and after rotation.

Explanation

Correct Answer

B:

Authorized requests query only their tenant partition while cross-tenant requests are blocked. This directly validates multi-tenant DynamoDB row isolation under the stated workload and confirms the intended AWS behavior: a tenant identifier from verified claims must control data scoping instead of untrusted request parameters.

Incorrect Answers

A:

This observation tests KMS envelope encryption, rather than confirming multi-tenant DynamoDB row isolation. It does not by itself establish that authorized requests query only their tenant partition while cross-tenant requests are blocked.

C:

This observation tests credential caching refresh, rather than confirming multi-tenant DynamoDB row isolation. It does not by itself establish that authorized requests query only their tenant partition while cross-tenant requests are blocked.

D:

This observation tests TLS certificate rotation ACM, rather than confirming multi-tenant DynamoDB row isolation. It does not by itself establish that authorized requests query only their tenant partition while cross-tenant requests are blocked.

AWS Certified Developer - Associate DVA-C02 Practice Tests