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 51

Question 500

A developer manually changes an API Gateway resource outside CloudFormation and deployment behavior diverges. Suppose the team omits the intended infrastructure drift detection safeguard. Which failure mode is the MOST direct risk of that omission?

  1. An AI test that only checks process exit can pass while functional behavior is wrong.
  2. An all-at-once update can take the complete fleet offline if the revision fails.
  3. Switching all traffic at once removes early canary detection.
  4. Manual configuration changes may be overwritten or missed by the next IaC deployment.

Explanation

Correct Answer

D:

Manual configuration changes may be overwritten or missed by the next IaC deployment. The planned prevention is to run CloudFormation drift detection for supported resource types and reconcile unexpected changes into the source template; the most direct verification is that drift results identify divergent supported properties and a later deployment restores intended state.

Incorrect Answers

A:

That failure mechanism is associated with AI-assisted test review. The omitted infrastructure drift detection protection instead causes this problem: manual configuration changes may be overwritten or missed by the next IaC deployment.

B:

That failure mechanism is associated with Elastic Beanstalk immutable update. The omitted infrastructure drift detection protection instead causes this problem: manual configuration changes may be overwritten or missed by the next IaC deployment.

C:

That failure mechanism is associated with CodeDeploy Lambda canary. The omitted infrastructure drift detection protection instead causes this problem: manual configuration changes may be overwritten or missed by the next IaC deployment.

Question 501

A Lambda-backed application connects to an RDS database and wants to avoid a long-lived database password. Suppose the team omits the intended IAM authentication and TLS for RDS safeguard. Which failure mode is the MOST direct risk of that omission?

  1. Omitting the source restriction can leave a supposedly internal API exposed to more callers.
  2. An expired or mismatched certificate causes client TLS verification failures.
  3. A correct IAM token without database user setup or TLS configuration can still fail to connect.
  4. Hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

Explanation

Correct Answer

C:

The planned prevention is to enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants; the most direct verification is that authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.

Incorrect Answers

A:

That failure mechanism is associated with API Gateway resource policy. The omitted IAM authentication and TLS for RDS protection instead causes this problem: a correct IAM token without database user setup or TLS configuration can still fail to connect.

B:

That failure mechanism is associated with TLS certificate rotation ACM. The omitted IAM authentication and TLS for RDS protection instead causes this problem: a correct IAM token without database user setup or TLS configuration can still fail to connect.

D:

That failure mechanism is associated with temporary credential storage. The omitted IAM authentication and TLS for RDS protection instead causes this problem: a correct IAM token without database user setup or TLS configuration can still fail to connect.

Question 502

A SaaS API validates JWTs but must restrict reads to the tenant represented by the caller's verified claims. Suppose the team omits the intended application tenant authorization safeguard. Which failure mode is the MOST direct risk of that omission?

  1. Shipping permanent IAM access keys in a client creates unrestricted reusable credentials.
  2. Treating any valid JWT as permission to read arbitrary tenant IDs leaks cross-tenant data.
  3. Removing a secret from the latest file does not erase its exposure in repository history.
  4. Accepting a caller-supplied tenant key without validation enables cross-tenant record access.

Explanation

Correct Answer

B:

Treating any valid JWT as permission to read arbitrary tenant IDs leaks cross-tenant data. The planned prevention is to enforce tenant ownership checks in application code against validated identity claims for every data access; the most direct verification is that cross-tenant requests receive an authorization failure even with otherwise valid login tokens.

Incorrect Answers

A:

That failure mechanism is associated with Cognito identity pool AWS access. The omitted application tenant authorization protection instead causes this problem: treating any valid JWT as permission to read arbitrary tenant IDs leaks cross-tenant data.

C:

That failure mechanism is associated with secret scanning in CI. The omitted application tenant authorization protection instead causes this problem: treating any valid JWT as permission to read arbitrary tenant IDs leaks cross-tenant data.

D:

That failure mechanism is associated with multi-tenant DynamoDB row isolation. The omitted application tenant authorization protection instead causes this problem: treating any valid JWT as permission to read arbitrary tenant IDs leaks cross-tenant data.

Question 503

A product catalog has repeated reads of slowly changing entries and the database is overloaded. Suppose the team omits the intended ElastiCache cache-aside safeguard. Which failure mode is the MOST direct risk of that omission?

  1. A one-shot Lambda chain obscures per-step recovery and can exceed execution constraints.
  2. A too-short visibility timeout lets another consumer receive unfinished work.
  3. Never expiring cached entries can continue to return stale records after updates.
  4. Unfinished multipart uploads accumulate stored parts and cannot be read as a completed object.

Explanation

Correct Answer

C:

Never expiring cached entries can continue to return stale records after updates. The planned prevention is to use a cache-aside pattern with a defined TTL and invalidation on application updates; the most direct verification is that cache hit-rate increases and backend read load falls while update invalidation keeps freshness within policy.

Incorrect Answers

A:

That failure mechanism is associated with Step Functions orchestration. The omitted ElastiCache cache-aside protection instead causes this problem: never expiring cached entries can continue to return stale records after updates.

B:

That failure mechanism is associated with SQS visibility timeout. The omitted ElastiCache cache-aside protection instead causes this problem: never expiring cached entries can continue to return stale records after updates.

D:

That failure mechanism is associated with S3 multipart upload recovery. The omitted ElastiCache cache-aside protection instead causes this problem: never expiring cached entries can continue to return stale records after updates.

Question 504

A development workstation authenticates an AWS SDK application and must avoid long-lived keys in code. Suppose the team omits the intended temporary credential storage safeguard. Which failure mode is the MOST direct risk of that omission?

  1. A correct IAM token without database user setup or TLS configuration can still fail to connect.
  2. Hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.
  3. A role allowed to GetObject but denied KMS Decrypt cannot read the plaintext.
  4. Logging or returning raw records before masking exposes PII despite correct database encryption.

Explanation

Correct Answer

B:

Hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end. The planned prevention is to use the AWS SDK default credential chain with short-lived credentials from an approved profile or federation; the most direct verification is that the application authenticates using temporary provider credentials and the repository contains no keys.

Incorrect Answers

A:

That failure mechanism is associated with IAM authentication and TLS for RDS. The omitted temporary credential storage protection instead causes this problem: hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

C:

That failure mechanism is associated with S3 SSE-KMS access. The omitted temporary credential storage protection instead causes this problem: hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

D:

That failure mechanism is associated with PII response field masking. The omitted temporary credential storage protection instead causes this problem: hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

Question 505

A Lambda producer invokes an internal Lambda consumer and must avoid shared static API keys. Suppose the team omits the intended service-to-service IAM authorization safeguard. Which failure mode is the MOST direct risk of that omission?

  1. A backend-to-backend call can fail when identity access exists but a required resource policy denies the principal.
  2. A correct IAM token without database user setup or TLS configuration can still fail to connect.
  3. A role allowed to GetObject but denied KMS Decrypt cannot read the plaintext.
  4. Ignoring exp claims leaves a path for stale tokens to be reused as authorization.

Explanation

Correct Answer

A:

The planned prevention is to use IAM-authenticated AWS SDK calls with a narrowly scoped identity policy and resource policy when required; the most direct verification is that cloudTrail and target logs show requests authorized only for the permitted source principal.

Incorrect Answers

B:

That failure mechanism is associated with IAM authentication and TLS for RDS. The omitted service-to-service IAM authorization protection instead causes this problem: a backend-to-backend call can fail when identity access exists but a required resource policy denies the principal.

C:

That failure mechanism is associated with S3 SSE-KMS access. The omitted service-to-service IAM authorization protection instead causes this problem: a backend-to-backend call can fail when identity access exists but a required resource policy denies the principal.

D:

That failure mechanism is associated with bearer token refresh and expiry. The omitted service-to-service IAM authorization protection instead causes this problem: a backend-to-backend call can fail when identity access exists but a required resource policy denies the principal.

Question 506

A downstream client depends on a stable JSON error body even when backend implementation changes. The incident review finds the following problem: Changing required response shapes without consumer tests can break callers after deployment. What is the BEST targeted corrective action?

  1. Restore backward-compatible fields or version the API, then rerun consumer contract tests.
  2. Skip compatibility checks because the code compiles.
  3. Rename all response fields to match the newest client only.
  4. Change the certificate expiry date to repair JSON schema compatibility.

Explanation

Correct Answer

A:

Restore backward-compatible fields or version the API, then rerun consumer contract tests. This directly addresses the recorded contract testing versioned API failure and should be checked by observing that older client fixtures and the revised contract both pass against the candidate API stage.

Incorrect Answers

B:

Skip compatibility checks because the code compiles. This does not repair the identified contract testing versioned API failure; the targeted remediation is to restore backward-compatible fields or version the API, then rerun consumer contract tests.

C:

Rename all response fields to match the newest client only. This does not repair the identified contract testing versioned API failure; the targeted remediation is to restore backward-compatible fields or version the API, then rerun consumer contract tests.

D:

Change the certificate expiry date to repair JSON schema compatibility. This does not repair the identified contract testing versioned API failure; the targeted remediation is to restore backward-compatible fields or version the API, then rerun consumer contract tests.

Question 507

A production application rotates a certificate on a load-balanced HTTPS endpoint without a plaintext fallback. The incident review finds the following problem: An expired or mismatched certificate causes client TLS verification failures. What is the BEST targeted corrective action?

  1. Renew or replace the certificate and update the listener or API custom-domain association.
  2. Disable HTTPS verification permanently on every client.
  3. Replace TLS with Base64 encoding of response bodies.
  4. Put the certificate's private key in client JavaScript.

Explanation

Correct Answer

A:

Renew or replace the certificate and update the listener or API custom-domain association. This directly addresses the recorded TLS certificate rotation ACM failure and should be checked by observing that tLS handshakes present a valid chain and expected hostname before and after rotation.

Incorrect Answers

B:

Disable HTTPS verification permanently on every client. This does not repair the identified TLS certificate rotation ACM failure; the targeted remediation is to renew or replace the certificate and update the listener or API custom-domain association.

C:

Replace TLS with Base64 encoding of response bodies. This does not repair the identified TLS certificate rotation ACM failure; the targeted remediation is to renew or replace the certificate and update the listener or API custom-domain association.

D:

Put the certificate's private key in client JavaScript. This does not repair the identified TLS certificate rotation ACM failure; the targeted remediation is to renew or replace the certificate and update the listener or API custom-domain association.

Question 508

A federated user must obtain scoped temporary AWS credentials instead of embedding access keys in the app. The incident review finds the following problem: Shipping permanent IAM access keys in a client creates unrestricted reusable credentials. What is the BEST targeted corrective action?

  1. Configure identity-provider trust and map identities to restricted IAM roles.
  2. Mark every bucket public to bypass client authorization.
  3. Embed root account access keys in the app bundle.
  4. Use only a user pool token as an S3 SigV4 signing secret.

Explanation

Correct Answer

A:

Configure identity-provider trust and map identities to restricted IAM roles. This directly addresses the recorded Cognito identity pool AWS access failure and should be checked by observing that federated users obtain expiring role credentials constrained to the intended S3 paths.

Incorrect Answers

B:

Mark every bucket public to bypass client authorization. This does not repair the identified Cognito identity pool AWS access failure; the targeted remediation is to configure identity-provider trust and map identities to restricted IAM roles.

C:

Embed root account access keys in the app bundle. This does not repair the identified Cognito identity pool AWS access failure; the targeted remediation is to configure identity-provider trust and map identities to restricted IAM roles.

D:

Use only a user pool token as an S3 SigV4 signing secret. This does not repair the identified Cognito identity pool AWS access failure; the targeted remediation is to configure identity-provider trust and map identities to restricted IAM roles.

Question 509

An internal integration test requires a separate base path for new API behavior. The incident review finds the following problem: Updating the production stage for every test exposes incomplete behavior to consumers. What is the BEST targeted corrective action?

  1. Delete the API deployment after each individual request.
  2. Treat API custom-domain DNS as a replacement for deployed stages.
  3. Deploy to a dedicated test stage and validate stage variables and integration routes.
  4. Point every test client at production without a stage boundary.

Explanation

Correct Answer

C:

Deploy to a dedicated test stage and validate stage variables and integration routes. This directly addresses the recorded API Gateway staging endpoints failure and should be checked by observing that test requests route to the test deployment while production routes keep serving the previous version.

Incorrect Answers

A:

Delete the API deployment after each individual request. This does not repair the identified API Gateway staging endpoints failure; the targeted remediation is to deploy to a dedicated test stage and validate stage variables and integration routes.

B:

Treat API custom-domain DNS as a replacement for deployed stages. This does not repair the identified API Gateway staging endpoints failure; the targeted remediation is to deploy to a dedicated test stage and validate stage variables and integration routes.

D:

Point every test client at production without a stage boundary. This does not repair the identified API Gateway staging endpoints failure; the targeted remediation is to deploy to a dedicated test stage and validate stage variables and integration routes.

Question 510

A Lambda handler must read a nonsecret feature mode and memory setting for its deployed environment. The incident review finds the following problem: Hardcoded stage URLs in application source can send production traffic to the wrong backend. What is the BEST targeted corrective action?

  1. Publish the correct environment configuration and redeploy or refresh affected consumers.
  2. Treat environment variables as shared storage between parallel invocations.
  3. Put sensitive credentials directly in plaintext logs.
  4. Commit a different handler source for every environment variable.

Explanation

Correct Answer

A:

Publish the correct environment configuration and redeploy or refresh affected consumers. This directly addresses the recorded Lambda environment configuration failure and should be checked by observing that invocations in each environment show the configured nonsecret value without changing application source.

Incorrect Answers

B:

Treat environment variables as shared storage between parallel invocations. This does not repair the identified Lambda environment configuration failure; the targeted remediation is to publish the correct environment configuration and redeploy or refresh affected consumers.

C:

Put sensitive credentials directly in plaintext logs. This does not repair the identified Lambda environment configuration failure; the targeted remediation is to publish the correct environment configuration and redeploy or refresh affected consumers.

D:

Commit a different handler source for every environment variable. This does not repair the identified Lambda environment configuration failure; the targeted remediation is to publish the correct environment configuration and redeploy or refresh affected consumers.

AWS Certified Developer - Associate DVA-C02 Practice Tests