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 3

Question 20

A deployment build must install dependencies, execute tests, and package a versioned Lambda artifact. Which implementation approach BEST addresses this requirement?

  1. Mark every test command with ignore-error behavior.
  2. Use CodeDeploy health checks as a replacement for compiling source.
  3. Upload artifacts before dependencies are installed.
  4. Define buildspec phases that install, test, and package artifacts in the correct order with failure propagation.

Explanation

Correct Answer

D:

Define buildspec phases that install, test, and package artifacts in the correct order with failure propagation. CodeBuild buildspec phases and exit codes control which artifacts advance in CI. A confirming test would show: The build fails on a seeded test failure and publishes an artifact only after tests succeed.

Incorrect Answers

A:

Mark every test command with ignore-error behavior. This suggestion does not establish the required CodeBuild buildspec sequencing; the relevant risk is that packaging before test validation can promote artifacts containing known defects.

B:

Use CodeDeploy health checks as a replacement for compiling source. This suggestion does not establish the required CodeBuild buildspec sequencing; the relevant risk is that packaging before test validation can promote artifacts containing known defects.

C:

Upload artifacts before dependencies are installed. This suggestion does not establish the required CodeBuild buildspec sequencing; the relevant risk is that packaging before test validation can promote artifacts containing known defects.

Question 21

A legacy backend expects a compact JSON shape while clients send a differently named field. Which implementation approach BEST addresses this requirement?

  1. Define an API Gateway mapping template or parameter mapping that explicitly transforms the incoming request.
  2. Add more SQS consumers without changing the request shape.
  3. Disable all API authorizers to bypass mapping errors.
  4. Change the Lambda runtime version to alter JSON keys automatically.

Explanation

Correct Answer

A:

Define an API Gateway mapping template or parameter mapping that explicitly transforms the incoming request. Integration mapping is a boundary transformation rather than a change to the client's published contract. A confirming test would show: Recorded integration requests contain the exact backend field names and values expected by the service.

Incorrect Answers

B:

Add more SQS consumers without changing the request shape. This suggestion does not establish the required API Gateway mapping templates; the relevant risk is that a mismatched integration payload causes field-level validation errors even with a healthy backend.

C:

Disable all API authorizers to bypass mapping errors. This suggestion does not establish the required API Gateway mapping templates; the relevant risk is that a mismatched integration payload causes field-level validation errors even with a healthy backend.

D:

Change the Lambda runtime version to alter JSON keys automatically. This suggestion does not establish the required API Gateway mapping templates; the relevant risk is that a mismatched integration payload causes field-level validation errors even with a healthy backend.

Question 22

A developer accidentally commits an AWS access key to a feature branch that is reviewed before merge. Which implementation approach BEST addresses 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. Encrypt only the build status badge.

Explanation

Correct Answer

A:

Run automated secret scanning in CI and revoke exposed credentials instead of merely deleting one commit. Secret scanning reduces accidental credential publication but exposed keys must be invalidated. A confirming test would show: 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 suggestion does not establish the required secret scanning in CI; the relevant risk is 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 suggestion does not establish the required secret scanning in CI; the relevant risk is that removing a secret from the latest file does not erase its exposure in repository history.

D:

Encrypt only the build status badge. This suggestion does not establish the required secret scanning in CI; the relevant risk is that removing a secret from the latest file does not erase its exposure in repository history.

Question 23

A shared AWS account has several Lambda functions and one bursty worker should not exhaust all available concurrency. Which implementation approach BEST addresses this requirement?

  1. Set every function reserved concurrency equal to the account total.
  2. Configure reserved concurrency for the critical function at a measured level within account limits.
  3. Expect higher Lambda memory alone to impose a safe concurrency cap.
  4. Use CloudFront cache invalidation to reserve Lambda execution slots.

Explanation

Correct Answer

B:

Configure reserved concurrency for the critical function at a measured level within account limits. Reserved concurrency reserves and caps function concurrency; provisioned concurrency addresses pre-initialized capacity. A confirming test would show: Function concurrency metrics show the reserved limit applied and other functions retain available capacity.

Incorrect Answers

A:

Set every function reserved concurrency equal to the account total. This suggestion does not establish the required Lambda concurrency reservation; the relevant risk is that uncontrolled shared concurrency can let a noisy function starve other executions.

C:

Expect higher Lambda memory alone to impose a safe concurrency cap. This suggestion does not establish the required Lambda concurrency reservation; the relevant risk is that uncontrolled shared concurrency can let a noisy function starve other executions.

D:

Use CloudFront cache invalidation to reserve Lambda execution slots. This suggestion does not establish the required Lambda concurrency reservation; the relevant risk is that uncontrolled shared concurrency can let a noisy function starve other executions.

Question 24

A shared SaaS table stores records for many tenants under tenant-prefixed partition keys. Which implementation approach BEST addresses this requirement?

  1. Trust an unsigned request header as proof of ownership.
  2. Cache shared query results without a tenant-specific key.
  3. Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query.
  4. Permit any valid user to choose any tenant partition key.

Explanation

Correct Answer

C:

Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query. A tenant identifier from verified claims must control data scoping instead of untrusted request parameters. A confirming test would show: Authorized requests query only their tenant partition while cross-tenant requests are blocked.

Incorrect Answers

A:

Trust an unsigned request header as proof of ownership. This suggestion does not establish the required multi-tenant DynamoDB row isolation; the relevant risk is that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

B:

Cache shared query results without a tenant-specific key. This suggestion does not establish the required multi-tenant DynamoDB row isolation; the relevant risk is that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

D:

Permit any valid user to choose any tenant partition key. This suggestion does not establish the required multi-tenant DynamoDB row isolation; the relevant risk is that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

Question 25

Two workers attempt to claim the same job and only one may transition it from PENDING to RUNNING. Which implementation approach BEST addresses this requirement?

  1. Read an item and later overwrite it unconditionally without checking state.
  2. Use DynamoDB ConditionExpression with an expected state or version for the atomic update.
  3. Enable eventual consistency to guarantee serialized writes.
  4. Move concurrency control to each worker's local memory.

Explanation

Correct Answer

B:

Use DynamoDB ConditionExpression with an expected state or version for the atomic update. Conditional writes enforce state preconditions atomically during concurrent writes. A confirming test would show: One competing write succeeds and the other receives a conditional-check failure.

Incorrect Answers

A:

Read an item and later overwrite it unconditionally without checking state. This suggestion does not establish the required DynamoDB conditional update; the relevant risk is that an unconditional PutItem can overwrite valid concurrent state without a conflict signal.

C:

Enable eventual consistency to guarantee serialized writes. This suggestion does not establish the required DynamoDB conditional update; the relevant risk is that an unconditional PutItem can overwrite valid concurrent state without a conflict signal.

D:

Move concurrency control to each worker's local memory. This suggestion does not establish the required DynamoDB conditional update; the relevant risk is that an unconditional PutItem can overwrite valid concurrent state without a conflict signal.

Question 26

A support platform emits typed ticket-updated events and several services need only selected event kinds. Which implementation approach BEST addresses this requirement?

  1. Put events on an EventBridge bus and create rules matching the required event patterns to targets.
  2. Treat EventBridge as a relational database query engine.
  3. Put filtering logic only in the front-end browser.
  4. Configure every event to invoke every target irrespective of type.

Explanation

Correct Answer

A:

Put events on an EventBridge bus and create rules matching the required event patterns to targets. EventBridge rules route structured events by matching attributes without embedding consumer addresses in producer code. A confirming test would show: Rule-matching events reach the intended targets while nonmatching event types do not.

Incorrect Answers

B:

Treat EventBridge as a relational database query engine. This suggestion does not establish the required EventBridge event routing; the relevant risk is that a producer hardcoded to one downstream endpoint cannot independently route new event types.

C:

Put filtering logic only in the front-end browser. This suggestion does not establish the required EventBridge event routing; the relevant risk is that a producer hardcoded to one downstream endpoint cannot independently route new event types.

D:

Configure every event to invoke every target irrespective of type. This suggestion does not establish the required EventBridge event routing; the relevant risk is that a producer hardcoded to one downstream endpoint cannot independently route new event types.

Question 27

A user-facing API has intermittent 429 or ProvisionedThroughputExceeded responses for one hot key. Which implementation approach BEST addresses this requirement?

  1. Increase CloudFront TTL to change a DynamoDB partition key.
  2. Grant the API role AdministratorAccess as the only throttling fix.
  3. Inspect DynamoDB throttling and consumed-capacity metrics, key access patterns, and application retry behavior.
  4. Disable all DynamoDB retry handling permanently.

Explanation

Correct Answer

C:

Inspect DynamoDB throttling and consumed-capacity metrics, key access patterns, and application retry behavior. DynamoDB throttling can reflect hot partitions or configured capacity constraints, not just network faults. A confirming test would show: Metrics and request logs identify concentrated key traffic or exhausted write/read capacity.

Incorrect Answers

A:

Increase CloudFront TTL to change a DynamoDB partition key. This suggestion does not establish the required DynamoDB throttling investigation; the relevant risk is that assuming every throttle is a client DNS issue misses partition and capacity evidence.

B:

Grant the API role AdministratorAccess as the only throttling fix. This suggestion does not establish the required DynamoDB throttling investigation; the relevant risk is that assuming every throttle is a client DNS issue misses partition and capacity evidence.

D:

Disable all DynamoDB retry handling permanently. This suggestion does not establish the required DynamoDB throttling investigation; the relevant risk is that assuming every throttle is a client DNS issue misses partition and capacity evidence.

Question 28

A team uses AI assistance to propose AWS SDK code but must prevent unchecked suggestions from reaching production. Which implementation approach BEST addresses this requirement?

  1. Treat AI output as authoritative without executing tests.
  2. Use Amazon Q Developer for suggestions and review generated code with tests, IAM checks, and human approval.
  3. Disable version control because suggestions are machine-generated.
  4. Grant administrator access to every generated component.

Explanation

Correct Answer

B:

Use Amazon Q Developer for suggestions and review generated code with tests, IAM checks, and human approval. AI coding suggestions accelerate development but do not replace validation or security review. A confirming test would show: Test results and code review demonstrate generated changes meet requirements without new permissions exposure.

Incorrect Answers

A:

Treat AI output as authoritative without executing tests. This suggestion does not establish the required Amazon Q Developer review; the relevant risk is that accepting generated code without review can introduce incorrect APIs or excessive permissions.

C:

Disable version control because suggestions are machine-generated. This suggestion does not establish the required Amazon Q Developer review; the relevant risk is that accepting generated code without review can introduce incorrect APIs or excessive permissions.

D:

Grant administrator access to every generated component. This suggestion does not establish the required Amazon Q Developer review; the relevant risk is that accepting generated code without review can introduce incorrect APIs or excessive permissions.

Question 29

An ECS service needs to deploy a new task definition while retaining immediate rollback to the prior revision. Which implementation approach BEST addresses this requirement?

  1. Point both target groups at an unrelated static S3 site.
  2. Terminate the healthy original task set before testing replacement tasks.
  3. Disable load-balancer checks to force an unhealthy task set live.
  4. Use a blue-green ECS deployment with CodeDeploy and controlled target-group traffic switching.

Explanation

Correct Answer

D:

Use a blue-green ECS deployment with CodeDeploy and controlled target-group traffic switching. ECS blue-green deployments route traffic between old and new task sets using load-balancer target groups. A confirming test would show: The replacement task set passes health checks before traffic moves and the old target remains available for rollback.

Incorrect Answers

A:

Point both target groups at an unrelated static S3 site. This suggestion does not establish the required CodeDeploy ECS blue-green; the relevant risk is that replacing all tasks in place can increase downtime or remove a quick rollback path.

B:

Terminate the healthy original task set before testing replacement tasks. This suggestion does not establish the required CodeDeploy ECS blue-green; the relevant risk is that replacing all tasks in place can increase downtime or remove a quick rollback path.

C:

Disable load-balancer checks to force an unhealthy task set live. This suggestion does not establish the required CodeDeploy ECS blue-green; the relevant risk is that replacing all tasks in place can increase downtime or remove a quick rollback path.

Question 30

A Lambda processes SQS batches where one bad record should not cause nine successful records to repeat. Which implementation approach BEST addresses this requirement?

  1. Delete the full SQS queue when one record fails.
  2. Enable partial batch responses and return the identifiers of failed batch items from the handler.
  3. Increase API Gateway rate limits to control SQS batch acknowledgements.
  4. Mark every batch entry failed to preserve one error.

Explanation

Correct Answer

B:

Enable partial batch responses and return the identifiers of failed batch items from the handler. SQS partial batch response avoids unnecessary redelivery of successful records in a partially failed batch. A confirming test would show: Only failed message IDs are retried while acknowledged batch records remain completed.

Incorrect Answers

A:

Delete the full SQS queue when one record fails. This suggestion does not establish the required Lambda event source partial batch response; the relevant risk is that raising an exception for the whole batch makes the entire batch eligible for retry.

C:

Increase API Gateway rate limits to control SQS batch acknowledgements. This suggestion does not establish the required Lambda event source partial batch response; the relevant risk is that raising an exception for the whole batch makes the entire batch eligible for retry.

D:

Mark every batch entry failed to preserve one error. This suggestion does not establish the required Lambda event source partial batch response; the relevant risk is that raising an exception for the whole batch makes the entire batch eligible for retry.

AWS Certified Developer - Associate DVA-C02 Practice Tests