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 33

Question 320

A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. Which engineering change best addresses the underlying issue?

  1. Inspect the stack change set, correct the template and enforce appropriate retention or protection policies before execution.
  2. Make deployment explicitly depend on successful integration and security tests for the same immutable revision.
  3. Review generated assertions against versioned API requirements and run current contract and regression fixtures.
  4. Repackage the code so the deployed handler path, modules and ZIP directory root agree.

Explanation

Correct Answer

C:

Review generated assertions against versioned API requirements and run current contract and regression fixtures. It directly addresses the case cause (Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.) and should be verified by: The obsolete test assertion fails review while the approved request and response contract passes.

Incorrect Answers

A:

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.

B:

That change addresses a CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running; it would not repair this incident.

D:

That change addresses a Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler; it would not repair this incident.

Question 321

A team applies a reviewed fix for this situation: A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. Which observed outcome would most convincingly validate the fix?

  1. A controlled markup payload displays as inert text while legitimate comments remain readable.
  2. An unintended service cannot replay the caller token against a different protected backend.
  3. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  4. The approved GET succeeds while unauthorized writes and access to unrelated object keys fail.

Explanation

Correct Answer

B:

An unintended service cannot replay the caller token against a different protected backend. This verifies the result of use validated workload credentials or a supported token-exchange model with explicit audience and authorization boundaries.

Incorrect Answers

A:

This would verify another situation: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It does not validate the current case.

C:

This would verify another situation: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It does not validate the current case.

D:

This would verify another situation: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It does not validate the current case.

Question 322

A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. Select TWO complementary measures that correctly repair and validate this failure.

  1. Validate inputs server-side and contextually encode user-controlled content in the response template.
  2. An unintended service cannot replay the caller token against a different protected backend.
  3. Forward any bearer token unchanged and trust every service that can read it.
  4. An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.
  5. Use validated workload credentials or a supported token-exchange model with explicit audience and authorization boundaries.

Explanation

Correct Answers

B:

An unintended service cannot replay the caller token against a different protected backend. This is the observable result required before accepting the correction.

E:

Use validated workload credentials or a supported token-exchange model with explicit audience and authorization boundaries. The underlying cause is: The downstream service lacks a clear issuer, audience and delegation contract for the token it receives.

Incorrect Answers

A:

That corrective action is for a different case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It does not resolve this incident.

C:

Forward any bearer token unchanged and trust every service that can read it. That shortcut conflicts with the stated requirement.

D:

This would validate a different case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It does not verify the outcome required here.

Question 323

A team applies a reviewed fix for this situation: A Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text. Which observed outcome would most convincingly validate the fix?

  1. Representative compressed and malformed payloads follow the intended success or error paths without silent data corruption.
  2. Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted.
  3. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  4. The resulting application performs its authorized task while tests show access to unrelated customer data is denied.

Explanation

Correct Answer

A:

Representative compressed and malformed payloads follow the intended success or error paths without silent data corruption. This verifies the result of detect or validate the documented compression encoding and decompress safely before schema validation and parsing.

Incorrect Answers

B:

This would verify another situation: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It does not validate the current case.

C:

This would verify another situation: A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. It does not validate the current case.

D:

This would verify another situation: A developer accepts Amazon Q Developer's suggested IAM and SDK code without reviewing it, and a generated call requests permission to unrelated customer data. It does not validate the current case.

Question 324

An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. Select TWO complementary measures that correctly repair and validate this failure.

  1. Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately.
  2. Validate the signature with the expected Cognito JWKS and check issuer, intended client, token use, expiry and scopes.
  3. Include every environment variable in error responses to improve debugging speed.
  4. Clients receive actionable codes without tokens, and authorized operators can trace the error securely.
  5. The designated target principal decrypts only approved data while an unrelated account principal cannot use the key.

Explanation

Correct Answers

A:

Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately. The underlying cause is: Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.

D:

Clients receive actionable codes without tokens, and authorized operators can trace the error securely. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It does not resolve this incident.

C:

Include every environment variable in error responses to improve debugging speed. That shortcut conflicts with the stated requirement.

E:

This would validate a different 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 does not verify the outcome required here.

Question 325

An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. Which technical dependency most directly explains this behavior?

  1. DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation.
  2. Cold-start initialization performs unnecessary work before the request handler can serve traffic.
  3. The API boundary lacks an applicable request validation step for required payload fields.
  4. The credential lifecycle is coupled to code deployment and risks accidental exposure in artifacts and logs.

Explanation

Correct Answer

C:

The API boundary lacks an applicable request validation step for required payload fields. The corresponding fix is to define the required request model and enable request validation before the integration proceeds to Lambda.

Incorrect Answers

A:

This diagnosis addresses another AWS 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. The dependency here is different.

B:

This diagnosis addresses another AWS case: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. The dependency here is different.

D:

This diagnosis addresses another AWS case: A Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code. The dependency here is different.

Question 326

A team applies a reviewed fix for this situation: An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. Which observed outcome would most convincingly validate the fix?

  1. Representative compressed and malformed payloads follow the intended success or error paths without silent data corruption.
  2. Concurrent checkout attempts never reserve more stock than exists even when cached views are stale.
  3. Replaying the same order event produces a single shipment while a different order still processes normally.
  4. Cold and warm invocation latency meet the service objective with the same correct business response.

Explanation

Correct Answer

C:

Replaying the same order event produces a single shipment while a different order still processes normally. This verifies the result of attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.

Incorrect Answers

A:

This would verify another situation: A Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text. It does not validate the current case.

B:

This would verify another situation: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. It does not validate the current case.

D:

This would verify another situation: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. It does not validate the current case.

Question 327

A developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Require authenticated TLS transport and approved endpoint identity validation for the outbound request.
  2. Test certificate failures and transport enforcement as separate security scenarios from storage encryption.
  3. Enforce application-level role and resource authorization in the handler before performing privileged actions.
  4. Assume SSE-KMS in the source bucket guarantees encryption for every later network hop.
  5. The client refuses an invalid certificate and transfers the payload only through the intended encrypted endpoint.
  6. Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available.

Explanation

Correct Answers

A:

Require authenticated TLS transport and approved endpoint identity validation for the outbound request. The underlying cause is: Encryption at rest is not a transport security control for the application-to-partner connection.

B:

Test certificate failures and transport enforcement as separate security scenarios from storage encryption. This protects against the following risk: Encryption at rest is not a transport security control for the application-to-partner connection.

E:

The client refuses an invalid certificate and transfers the payload only through the intended encrypted endpoint. This is the observable result required before accepting the correction.

Incorrect Answers

C:

That corrective action is for a different case: An API Gateway route sends every authenticated request to a Lambda with broad IAM permissions, and the handler never checks the user's permitted action. It does not resolve this incident.

D:

Assume SSE-KMS in the source bucket guarantees encryption for every later network hop. That shortcut conflicts with the stated requirement.

F:

This would validate a different case: A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records. It does not verify the outcome required here.

Question 328

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An ECS rolling deployment keeps replacing tasks because the container health check targets a removed HTTP route even though the application serves traffic on a new path.

  1. Monitor percentile behavior and error budgets under representative workload mixes.
  2. Include deployment health probe routes and failure status behavior in release smoke tests.
  3. Profile call waterfalls and concurrency limits rather than only measuring individual SDK method duration.
  4. Review subscription filter coverage when event schemas evolve and monitor filtered delivery counts.

Explanation

Correct Answer

B:

Include deployment health probe routes and failure status behavior in release smoke tests. This safeguards against a recurring cause: The health-check configuration is out of sync with the deployed application's readiness endpoint.

Incorrect Answers

A:

That safeguard addresses another case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. It is not the control for this recurring failure.

D:

That safeguard addresses another case: An SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates. It is not the control for this recurring failure.

Question 329

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda request makes an SDK call that succeeds in one Region but fails with ResourceNotFound in another because its client uses a default Region.

  1. Monitor percentile behavior and error budgets under representative workload mixes.
  2. Log safe Region and resource identifiers and test cross-Region configuration in staging.
  3. Profile call waterfalls and concurrency limits rather than only measuring individual SDK method duration.
  4. Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations.

Explanation

Correct Answer

B:

Log safe Region and resource identifiers and test cross-Region configuration in staging. This safeguards against a recurring cause: Service client configuration references a different Region from the intended resource and deployment context.

Incorrect Answers

A:

That safeguard addresses another case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. It is not the control for this recurring failure.

Question 330

A team applies a reviewed fix for this situation: A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. Which observed outcome would most convincingly validate the fix?

  1. A measured load test completes without out-of-memory termination while resource consumption stays within budget.
  2. The deployed function reads its intended fixture and receives denial on an unrelated table.
  3. The deployed package hash matches the artifact tested in CI and dependency behavior remains stable.
  4. A deliberately failing integration test blocks production promotion and preserves the last approved artifact.

Explanation

Correct Answer

B:

The deployed function reads its intended fixture and receives denial on an unrelated table. This verifies the result of add a constrained integration test with the actual execution-role permissions and approved test table.

Incorrect Answers

A:

This would verify another situation: A developer increases an ECS application's memory needs but the deployment task definition still uses the old hard memory limit and the new task is killed. It does not validate the current case.

C:

This would verify another situation: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. It does not validate the current case.

D:

This would verify another situation: A CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running. It does not validate the current case.

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.