Amazon AWS Certified Developer - Associate DVA-C02 Exam Dumps, Practice Test Questions

100% Latest & Updated Amazon AWS Certified Developer - Associate DVA-C02 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!

Amazon AWS Certified Developer - Associate DVA-C02 Premium Bundle
$79.97
$59.98

AWS Certified Developer - Associate DVA-C02 Premium Bundle

  • Premium File: 653 Questions & Answers. Last update: Nov 12, 2026
  • Training Course: 430 Video Lectures
  • Study Guide: 1091 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates

AWS Certified Developer - Associate DVA-C02 Premium Bundle

Amazon AWS Certified Developer - Associate DVA-C02 Premium Bundle
  • Premium File: 653 Questions & Answers. Last update: Nov 12, 2026
  • Training Course: 430 Video Lectures
  • Study Guide: 1091 Pages
  • Latest Questions
  • 100% Accurate Answers
  • Fast Exam Updates
$79.97
$59.98

Amazon AWS Certified Developer - Associate DVA-C02 Practice Test 49

Question 480

A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. Which engineering change best addresses the underlying issue?

  1. Implement a lightweight readiness endpoint that reflects required startup dependencies without exposing secrets.
  2. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.
  3. Emit structured logs with request and trace identifiers while excluding protected values from logged fields.
  4. Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits.

Explanation

Correct Answer

B:

Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries. It directly addresses the case cause (The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.) and should be verified by: Repeat requests hit the edge cache, origin requests decline and a new asset version displays correctly.

Incorrect Answers

A:

That change addresses a Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup; it would not repair this incident.

C:

That change addresses an order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda; it would not repair this incident.

D:

That change addresses a Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy; it would not repair this incident.

Question 481

A team applies a reviewed fix for this situation: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. Which observed outcome would most convincingly validate the fix?

  1. The approved function publishes a test event while unauthorized roles in either account remain denied.
  2. A controlled token rotation succeeds and unauthorized developers cannot read the production secret.
  3. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  4. A valid intended token is accepted while tampered, expired and wrong-user-pool tokens are rejected.

Explanation

Correct Answer

C:

No key material appears in log fixtures and only authorized principals decrypt sample protected responses. This verifies the result of keep keys out of application logs, use appropriate managed key protection and limit decrypt rights to intended principals.

Incorrect Answers

A:

This would verify another situation: A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. It does not validate the current case.

B:

This would verify another situation: An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. It does not validate the current case.

D:

This would verify another situation: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It does not validate the current case.

Question 482

A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Increase the function timeout and assume its initialization latency improves automatically.
  2. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.
  3. An expired session is denied immediately even if its DynamoDB item still exists during background cleanup.
  4. Trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement.
  5. Cold and warm invocation latency meet the service objective with the same correct business response.
  6. Track initialization duration and dependency size in pre-release Lambda performance tests.

Explanation

Correct Answers

D:

Trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement. The underlying cause is: Cold-start initialization performs unnecessary work before the request handler can serve traffic.

E:

Cold and warm invocation latency meet the service objective with the same correct business response. This is the observable result required before accepting the correction.

F:

Track initialization duration and dependency size in pre-release Lambda performance tests. This protects against the following risk: Cold-start initialization performs unnecessary work before the request handler can serve traffic.

Incorrect Answers

A:

Increase the function timeout and assume its initialization latency improves automatically. That shortcut conflicts with the stated requirement.

B:

That corrective action is for a different case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It does not resolve this incident.

C:

This would validate a different case: A login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags. It does not verify the outcome required here.

Question 483

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role.

  1. Scan task definitions for stored keys and test role trust and denied-resource boundaries.
  2. Test source/target key grants and expected encryption context after cross-account data-flow changes.
  3. Test key rotation and decryption authorization with versions and denied identity fixtures.
  4. Scan redacted logs and review cryptographic key permissions in every release that handles sensitive values.

Explanation

Correct Answer

A:

Scan task definitions for stored keys and test role trust and denied-resource boundaries. This safeguards against a recurring cause: Static credentials bypass role-based rotation and may override the intended scoped task role credential chain.

Incorrect Answers

B:

That safeguard addresses another case: An application decrypts data with a customer-managed KMS key in the source AWS account but fails after moving the encrypted data to a second account. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It is not the control for this recurring failure.

Question 484

A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. Select TWO complementary measures that correctly repair and validate this failure.

  1. Ignore database throttle errors whenever Lambda memory usage remains normal.
  2. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  3. Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits.
  4. Repeat requests hit the edge cache, origin requests decline and a new asset version displays correctly.
  5. Implement a lightweight readiness endpoint that reflects required startup dependencies without exposing secrets.

Explanation

Correct Answers

B:

A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling. This is the observable result required before accepting the correction.

C:

Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits. The underlying cause is: Function compute utilization is not evidence that an external database dependency has sufficient read or write capacity.

Incorrect Answers

A:

Ignore database throttle errors whenever Lambda memory usage remains normal. That shortcut conflicts with the stated requirement.

D:

This would validate a different case: A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. It does not verify the outcome required here.

E:

That corrective action is for a different case: A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. It does not resolve this incident.

Question 485

An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Mark the complete workflow passed whenever the producer returns HTTP 202.
  2. A successful test creates the intended downstream state while a poison message routes through the defined failure path.
  3. Inspect the stack change set, correct the template and enforce appropriate retention or protection policies before execution.
  4. Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.
  5. Production requests use only the production table while test-stage data stays isolated.
  6. Track end-to-end event IDs in tests instead of relying solely on producer status codes.

Explanation

Correct Answers

B:

A successful test creates the intended downstream state while a poison message routes through the defined failure path. This is the observable result required before accepting the correction.

D:

Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery. The underlying cause is: Request acceptance is being confused with completion of the end-to-end event processing contract.

F:

Track end-to-end event IDs in tests instead of relying solely on producer status codes. This protects against the following risk: Request acceptance is being confused with completion of the end-to-end event processing contract.

Incorrect Answers

A:

Mark the complete workflow passed whenever the producer returns HTTP 202. That shortcut conflicts with the stated requirement.

C:

That corrective action is for a different case: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. It does not resolve this incident.

E:

This would validate a different case: A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. It does not verify the outcome required here.

Question 486

An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. Which engineering change best addresses the underlying issue?

  1. Publish the intended message attributes and configure a subscription filter policy for the fraud alert category.
  2. Retrieve the approved credential from an access-controlled secrets store with narrow runtime authorization and rotation handling.
  3. Iterate through continuation tokens using the supported SDK paginator until the complete intended key set is exhausted.
  4. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Explanation

Correct Answer

D:

Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization. It directly addresses the case cause (The read implementation lacks a designed key or index matching the predominant query predicate.) and should be verified by: Login lookups use a bounded key-based access path and avoid reading unrelated account records.

Incorrect Answers

A:

That change addresses a publishing service sends an SNS notification to every subscriber even though only the fraud service should receive alerts with eventType equal to high_risk; it would not repair this incident.

B:

That change addresses a Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code; it would not repair this incident.

C:

That change addresses an AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit; it would not repair this incident.

Question 487

A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. Which engineering change best addresses the underlying issue?

  1. Publish an immutable digest and deploy that exact digest in the reviewed task definition revision.
  2. Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time.
  3. Reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.
  4. Inspect the stack change set, correct the template and enforce appropriate retention or protection policies before execution.

Explanation

Correct Answer

B:

Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time. It directly addresses the case cause (Environment-specific runtime configuration is not validated against the production deployment boundary.) and should be verified by: Production requests use only the production table while test-stage data stays isolated.

Incorrect Answers

A:

That change addresses a CI workflow publishes Docker images under one mutable tag and the ECS service pulls a different image during a multi-AZ scale-out; it would not repair this incident.

C:

That change addresses a team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias; it would not repair this incident.

D:

That change addresses a new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly; it would not repair this incident.

Question 488

A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. Which engineering change best addresses the underlying issue?

  1. Grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.
  2. Use an appropriately scoped ECS task role with SDK default credential retrieval and remove embedded long-lived keys.
  3. Log structured allowlisted metadata and redact secrets and personal values before emitting operational events.
  4. Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint.

Explanation

Correct Answer

D:

Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint. It directly addresses the case cause (Certificate lifecycle and deployment artifact lifetimes are incorrectly coupled without monitoring or rotation.) and should be verified by: The connection remains trusted after controlled certificate renewal and rejects an expired certificate.

Incorrect Answers

A:

That change addresses a microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account; it would not repair this incident.

B:

That change addresses an ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role; it would not repair this incident.

C:

That change addresses a Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records; it would not repair this incident.

Question 489

A team applies a reviewed fix for this situation: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. Which observed outcome would most convincingly validate the fix?

  1. Transient throttling recovers within the agreed budget while persistent throttling yields a controlled failure instead of a storm.
  2. Login lookups use a bounded key-based access path and avoid reading unrelated account records.
  3. A maximum-size media fixture completes without ephemeral storage exhaustion and preserves the expected output.
  4. Replaying the same order event produces a single shipment while a different order still processes normally.

Explanation

Correct Answer

B:

Login lookups use a bounded key-based access path and avoid reading unrelated account records. This verifies the result of define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Incorrect Answers

A:

This would verify another situation: A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access. It does not validate the current case.

C:

This would verify another situation: A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low. It does not validate the current case.

D:

This would verify another situation: An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. It does not validate the current case.

Question 490

A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. Which engineering change best addresses the underlying issue?

  1. Return an allowlisted projection with approved masking and enforce least-privilege access for support roles.
  2. Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.
  3. Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context.
  4. Require authenticated TLS transport and approved endpoint identity validation for the outbound request.

Explanation

Correct Answer

A:

Return an allowlisted projection with approved masking and enforce least-privilege access for support roles. It directly addresses the case cause (The response model does not enforce data minimization and permits sensitive fields beyond the support purpose.) and should be verified by: An agent sees only the permitted masked representation, and a request for restricted fields is denied.

Incorrect Answers

B:

That change addresses a DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository; it would not repair this incident.

C:

That change addresses an API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource; it would not repair this incident.

D:

That change addresses a developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection; it would not repair this incident.

AWS Certified Developer - Associate DVA-C02 Practice Tests

UP

SPECIAL OFFER: GET 10% OFF

This is ONE TIME OFFER

ExamSnap Discount Offer
Enter Your Email Address to Receive Your 10% Off Discount Code

A confirmation link will be sent to this email address to verify your login. *We value your privacy. We will not rent or sell your email address.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.