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 19

Question 180

An inventory service sees intermittent upstream 503 responses while a partner's rate limit tightens. Which developer action MOST directly meets the stated constraint?

  1. Put events on an EventBridge bus and create rules matching the required event patterns to targets.
  2. Retry every 4xx response forever.
  3. Issue all retry attempts in parallel immediately.
  4. Use bounded exponential backoff with jitter, an explicit timeout, and an idempotent request design.

Explanation

Correct Answer

D:

Use bounded exponential backoff with jitter, an explicit timeout, and an idempotent request design. Jittered bounded retries spread transient failure load instead of synchronized retry spikes. For this second operating case, verify that retry telemetry shows spaced attempts with eventual success or a controlled terminal error.

Incorrect Answers

A:

This technique primarily addresses EventBridge event routing; it would not demonstrate SDK adaptive retries or directly prove that retry telemetry shows spaced attempts with eventual success or a controlled terminal error.

B:

Retry every 4xx response forever. This shortcut would leave the SDK adaptive retries requirement unresolved; immediate unbounded retries amplify throttling and can repeat non-idempotent operations.

C:

Issue all retry attempts in parallel immediately. This shortcut would leave the SDK adaptive retries requirement unresolved; immediate unbounded retries amplify throttling and can repeat non-idempotent operations.

Question 181

A job encrypts multi-megabyte objects and needs controlled decryption by approved services. Which developer action MOST directly meets the stated constraint?

  1. Hardcode a plaintext symmetric key in source control.
  2. Generate a data key using AWS KMS, encrypt the payload locally, and store the encrypted data key alongside the ciphertext.
  3. Provision and validate the certificate using AWS Certificate Manager and associate the renewed certificate with the endpoint.
  4. Use Base64 encoding and call it encryption.

Explanation

Correct Answer

B:

Envelope encryption uses a data key for payload encryption and protects that key using a KMS key.

Incorrect Answers

A:

Hardcode a plaintext symmetric key in source control. This shortcut would leave the KMS envelope encryption requirement unresolved; sending large documents directly through a small KMS Encrypt API payload is unsuitable.

C:

This technique primarily addresses TLS certificate rotation ACM; it would not demonstrate KMS envelope encryption or directly prove that an approved role can decrypt the wrapped data key while an unauthorized role cannot.

D:

Use Base64 encoding and call it encryption. This shortcut would leave the KMS envelope encryption requirement unresolved; sending large documents directly through a small KMS Encrypt API payload is unsuitable.

Question 182

A partner application must call an AWS API in a customer account for a limited session. Which developer action MOST directly meets the stated constraint?

  1. Copy the destination account's root keys into the source account.
  2. Assume a scoped IAM role through STS with a trust policy permitting the source principal.
  3. Allow any AWS principal in the role trust policy.
  4. Exchange trusted identities through a Cognito identity pool for role-scoped temporary AWS credentials.

Explanation

Correct Answer

B:

Assume a scoped IAM role through STS with a trust policy permitting the source principal. Cross-account roles require both role trust and permission policy authorization. For this second operating case, verify that cloudTrail shows the expected assumed role session and only the allowed target-account API actions succeed.

Incorrect Answers

A:

Copy the destination account's root keys into the source account. This shortcut would leave the IAM STS AssumeRole cross-account requirement unresolved; a correct permission policy without an allowed trust relationship cannot be assumed.

C:

Allow any AWS principal in the role trust policy. This shortcut would leave the IAM STS AssumeRole cross-account requirement unresolved; a correct permission policy without an allowed trust relationship cannot be assumed.

D:

This technique primarily addresses Cognito identity pool AWS access; it would not demonstrate IAM STS AssumeRole cross-account or directly prove that cloudTrail shows the expected assumed role session and only the allowed target-account API actions succeed.

Question 183

An application principal has matching resource access but an explicit deny in its policy boundary. Which developer action MOST directly meets the stated constraint?

  1. Evaluate explicit denies in identity, resource, permissions-boundary, and organization policy paths.
  2. Attach an additional wildcard Allow to override every Deny.
  3. Use an AWS SDK with its default credential provider chain and SigV4 request signing.
  4. Rename the role without inspecting policy statements.

Explanation

Correct Answer

A:

Evaluate explicit denies in identity, resource, permissions-boundary, and organization policy paths. An explicit Deny takes precedence over any applicable Allow in AWS policy evaluation. For this second operating case, verify that policy evaluation identifies a matching explicit deny even though an Allow statement also matches.

Incorrect Answers

B:

Attach an additional wildcard Allow to override every Deny. This shortcut would leave the IAM policy explicit deny requirement unresolved; adding another Allow statement does not override an explicit Deny.

C:

This technique primarily addresses SigV4 authenticated SDK requests; it would not demonstrate IAM policy explicit deny or directly prove that policy evaluation identifies a matching explicit deny even though an Allow statement also matches.

D:

Rename the role without inspecting policy statements. This shortcut would leave the IAM policy explicit deny requirement unresolved; adding another Allow statement does not override an explicit Deny.

Question 184

An order-created event must reach separate inventory and loyalty queues even when one consumer is offline. Which developer action MOST directly meets the stated constraint?

  1. Publish the event to SNS and subscribe separate SQS queues for each independently processed concern.
  2. Define an API Gateway mapping template or parameter mapping that explicitly transforms the incoming request.
  3. Send events to one shared SQS queue expecting every consumer to see every event.
  4. Call each worker inside one HTTP request.

Explanation

Correct Answer

A:

Publish the event to SNS and subscribe separate SQS queues for each independently processed concern. SNS fanout plus durable SQS subscriptions decouples independent asynchronous consumers. For this second operating case, verify that each subscriber queue receives its own copy and an unavailable worker can process its backlog later.

Incorrect Answers

B:

This technique primarily addresses API Gateway mapping templates; it would not demonstrate SNS fanout delivery or directly prove that each subscriber queue receives its own copy and an unavailable worker can process its backlog later.

C:

Send events to one shared SQS queue expecting every consumer to see every event. This shortcut would leave the SNS fanout delivery requirement unresolved; invoking each downstream worker synchronously couples availability and latency.

D:

Call each worker inside one HTTP request. This shortcut would leave the SNS fanout delivery requirement unresolved; invoking each downstream worker synchronously couples availability and latency.

Question 185

A developer needs a distributed trace of an asynchronous dependency call chain. Which developer action MOST directly meets the stated constraint?

  1. Replace trace context with a fixed user password.
  2. Generate an unrelated trace ID for every internal call.
  3. Enable supported tracing and propagate trace context through service calls and instrumentation.
  4. Emit valid CloudWatch Embedded Metric Format JSON with metric definitions and safe dimension cardinality.

Explanation

Correct Answer

C:

Enable supported tracing and propagate trace context through service calls and instrumentation. Trace propagation links work across components; isolated logs alone cannot reconstruct spans reliably. For this second operating case, verify that a trace view shows related segments or subsegments with timing for the connected service path.

Incorrect Answers

A:

Replace trace context with a fixed user password. This shortcut would leave the X-Ray trace propagation requirement unresolved; missing trace context between calls breaks a distributed trace even when local segments exist.

B:

Generate an unrelated trace ID for every internal call. This shortcut would leave the X-Ray trace propagation requirement unresolved; missing trace context between calls breaks a distributed trace even when local segments exist.

D:

This technique primarily addresses CloudWatch embedded metric format; it would not demonstrate X-Ray trace propagation or directly prove that a trace view shows related segments or subsegments with timing for the connected service path.

Question 186

Concurrent inventory updates must reject a stale version instead of silently overwriting each other. Which developer action MOST directly meets the stated constraint?

  1. Use DynamoDB ConditionExpression with an expected state or version for the atomic update.
  2. Use a cache-aside pattern with a defined TTL and invalidation on application updates.
  3. Enable eventual consistency to guarantee serialized writes.
  4. Read an item and later overwrite it unconditionally without checking state.

Explanation

Correct Answer

A:

Use DynamoDB ConditionExpression with an expected state or version for the atomic update. Conditional writes enforce state preconditions atomically during concurrent writes. For this second operating case, verify that one competing write succeeds and the other receives a conditional-check failure.

Incorrect Answers

B:

This technique primarily addresses ElastiCache cache-aside; it would not demonstrate DynamoDB conditional update or directly prove that one competing write succeeds and the other receives a conditional-check failure.

C:

Enable eventual consistency to guarantee serialized writes. This shortcut would leave the DynamoDB conditional update requirement unresolved; an unconditional PutItem can overwrite valid concurrent state without a conflict signal.

D:

Read an item and later overwrite it unconditionally without checking state. This shortcut would leave the DynamoDB conditional update requirement unresolved; an unconditional PutItem can overwrite valid concurrent state without a conflict signal.

Question 187

An internal REST API needs to deny requests outside approved network-origin conditions. Which developer action MOST directly meets the stated constraint?

  1. Use an Amazon Cognito user pool as the user directory and authenticate users to obtain tokens.
  2. Set a low throttling burst rate to block unauthorized networks.
  3. Define an API Gateway resource policy with explicit conditions for approved source VPC endpoints.
  4. Configure CORS headers as the only network access restriction.

Explanation

Correct Answer

C:

Define an API Gateway resource policy with explicit conditions for approved source VPC endpoints. Resource policies can restrict the source principals or network context independently from route authorizers. For this second operating case, verify that requests from the intended endpoint succeed and other source contexts receive access denied.

Incorrect Answers

A:

This technique primarily addresses Cognito user pool authentication; it would not demonstrate API Gateway resource policy or directly prove that requests from the intended endpoint succeed and other source contexts receive access denied.

B:

Set a low throttling burst rate to block unauthorized networks. This shortcut would leave the API Gateway resource policy requirement unresolved; omitting the source restriction can leave a supposedly internal API exposed to more callers.

D:

Configure CORS headers as the only network access restriction. This shortcut would leave the API Gateway resource policy requirement unresolved; omitting the source restriction can leave a supposedly internal API exposed to more callers.

Question 188

A popular key expires during a promotion and every worker requests the same expensive database value. Which developer action MOST directly meets the stated constraint?

  1. Remove cache invalidation and hold every value forever.
  2. Add expiration jitter and single-flight request coalescing or locking around cache repopulation.
  3. Set all popular cache keys to expire at the same exact second.
  4. Limit parallelism and introduce queue-based backpressure with bounded retries and metrics.

Explanation

Correct Answer

B:

Add expiration jitter and single-flight request coalescing or locking around cache repopulation. Coordinated cache refresh and TTL jitter reduce thundering-herd load. For this second operating case, verify that cache-miss burst metrics shrink and backend query rates stay controlled during expiration.

Incorrect Answers

A:

Remove cache invalidation and hold every value forever. This shortcut would leave the application cache stampede requirement unresolved; simultaneous expiry of a hot key can cause redundant backend load even with a high steady-state hit rate.

C:

Set all popular cache keys to expire at the same exact second. This shortcut would leave the application cache stampede requirement unresolved; simultaneous expiry of a hot key can cause redundant backend load even with a high steady-state hit rate.

D:

This technique primarily addresses concurrency backpressure; it would not demonstrate application cache stampede or directly prove that cache-miss burst metrics shrink and backend query rates stay controlled during expiration.

Question 189

A Node.js Lambda package cannot load its dependency because the build omitted node_modules. Which developer action MOST directly meets the stated constraint?

  1. Configure Lambda ephemeral storage capacity appropriately and clean temporary files between invocations.
  2. Build the deployment archive with runtime-compatible dependencies at the expected package paths.
  3. Increase function concurrency to install dependencies automatically.
  4. Put dependency names only in a deployment README.

Explanation

Correct Answer

B:

Build the deployment archive with runtime-compatible dependencies at the expected package paths. Zip packages must include importable dependencies in correct paths for the target runtime. For this second operating case, verify that a deployment smoke test imports all required modules in the deployed Lambda runtime.

Incorrect Answers

A:

This technique primarily addresses Lambda ephemeral disk sizing; it would not demonstrate Lambda deployment package dependencies or directly prove that a deployment smoke test imports all required modules in the deployed Lambda runtime.

C:

Increase function concurrency to install dependencies automatically. This shortcut would leave the Lambda deployment package dependencies requirement unresolved; missing or wrongly packaged dependencies cause runtime import failures before handler logic runs.

D:

Put dependency names only in a deployment README. This shortcut would leave the Lambda deployment package dependencies requirement unresolved; missing or wrongly packaged dependencies cause runtime import failures before handler logic runs.

Question 190

An event-driven worker retries DynamoDB writes heavily during a predictable product launch. Which developer action MOST directly meets the stated constraint?

  1. Inspect Lambda init-duration and handler-duration metrics and reduce startup work or use provisioned concurrency when justified.
  2. Increase CloudFront TTL to change a DynamoDB partition key.
  3. Disable all DynamoDB retry handling permanently.
  4. Inspect DynamoDB throttling and consumed-capacity metrics, key access patterns, and application retry behavior.

Explanation

Correct Answer

D:

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. For this second operating case, verify that metrics and request logs identify concentrated key traffic or exhausted write/read capacity.

Incorrect Answers

A:

This technique primarily addresses Lambda Init Duration diagnosis; it would not demonstrate DynamoDB throttling investigation or directly prove that metrics and request logs identify concentrated key traffic or exhausted write/read capacity.

B:

Increase CloudFront TTL to change a DynamoDB partition key. This shortcut would leave the DynamoDB throttling investigation requirement unresolved; assuming every throttle is a client DNS issue misses partition and capacity evidence.

C:

Disable all DynamoDB retry handling permanently. This shortcut would leave the DynamoDB throttling investigation requirement unresolved; assuming every throttle is a client DNS issue misses partition and capacity evidence.

AWS Certified Developer - Associate DVA-C02 Practice Tests