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 65

Question 640

A single infrastructure template must deploy a dev and prod stack with different memory settings. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Hand-edit each deployed resource in the console after every commit.
  2. Parameterize the CloudFormation or SAM template and supply environment-specific values at deployment.
  3. Duplicate production secrets in template descriptions.
  4. Change DNS cache time-to-live instead of template parameters.
  5. The change set shows the intended resource values for the selected environment without modifying source templates.

Explanation

Correct Answers

B:

Parameterize the CloudFormation or SAM template and supply environment-specific values at deployment. This is the concrete implementation required for CloudFormation resource parameters.

E:

The change set shows the intended resource values for the selected environment without modifying source templates.

Incorrect Answers

A:

Hand-edit each deployed resource in the console after every commit. This is not a suitable implementation or validation step for CloudFormation resource parameters; it would leave the risk that hardcoding production resource names in a shared template can cause cross-environment collisions.

C:

Duplicate production secrets in template descriptions. This is not a suitable implementation or validation step for CloudFormation resource parameters; it would leave the risk that hardcoding production resource names in a shared template can cause cross-environment collisions.

D:

Change DNS cache time-to-live instead of template parameters. This is not a suitable implementation or validation step for CloudFormation resource parameters; it would leave the risk that hardcoding production resource names in a shared template can cause cross-environment collisions.

Question 641

A search box must find phrases and relevance-ranked matches across an indexed document corpus. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Index searchable fields in Amazon OpenSearch Service and query the text index with an appropriate analyzer.
  2. Search results return ranked text matches according to indexed tokens and query clauses.
  3. Use S3 object version IDs as a linguistic analyzer.
  4. Put every document into a single DynamoDB partition and use Query for relevance.
  5. Run a full table Scan on each keystroke and call it full-text ranking.

Explanation

Correct Answers

A:

Index searchable fields in Amazon OpenSearch Service and query the text index with an appropriate analyzer. This is the concrete implementation required for OpenSearch full-text queries.

B:

Search results return ranked text matches according to indexed tokens and query clauses. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

C:

Use S3 object version IDs as a linguistic analyzer. This is not a suitable implementation or validation step for OpenSearch full-text queries; it would leave the risk that a DynamoDB key-only Query cannot perform arbitrary relevance-ranked text search.

D:

Put every document into a single DynamoDB partition and use Query for relevance. This is not a suitable implementation or validation step for OpenSearch full-text queries; it would leave the risk that a DynamoDB key-only Query cannot perform arbitrary relevance-ranked text search.

E:

Run a full table Scan on each keystroke and call it full-text ranking. This is not a suitable implementation or validation step for OpenSearch full-text queries; it would leave the risk that a DynamoDB key-only Query cannot perform arbitrary relevance-ranked text search.

Question 642

A SAM update rolls back because a new Lambda event source resource cannot be created. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Change only the API base URL for an IAM resource creation error.
  2. Ignore stack events and deploy the same malformed template repeatedly.
  3. The failed resource event includes a concrete status reason that matches the attempted operation.
  4. Inspect CloudFormation stack events and failed resource status to identify the underlying deployment error.
  5. Raise a DynamoDB item TTL to repair a template validation failure.

Explanation

Correct Answers

C:

The failed resource event includes a concrete status reason that matches the attempted operation. This is the workload-specific evidence needed to validate the change.

D:

Inspect CloudFormation stack events and failed resource status to identify the underlying deployment error. This is the concrete implementation required for failed CloudFormation deployment.

Incorrect Answers

A:

Change only the API base URL for an IAM resource creation error. This is not a suitable implementation or validation step for failed CloudFormation deployment; it would leave the risk that debugging handler business code cannot fix a stack resource creation permission error.

B:

Ignore stack events and deploy the same malformed template repeatedly. This is not a suitable implementation or validation step for failed CloudFormation deployment; it would leave the risk that debugging handler business code cannot fix a stack resource creation permission error.

E:

Raise a DynamoDB item TTL to repair a template validation failure. This is not a suitable implementation or validation step for failed CloudFormation deployment; it would leave the risk that debugging handler business code cannot fix a stack resource creation permission error.

Question 643

Telemetry events from a million devices need ordered processing for each device and scaled parallel consumers. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Kinesis ordering is guaranteed within a shard and partition key choices determine shard affinity.
  2. Expect global order across unrelated shards.
  3. Records for one entity remain ordered while shard-level incoming and processing rates stay within quotas.
  4. Store streaming checkpoints in browser cookies.
  5. Publish all records with a single literal partition key.
  6. Select a stable partition key for each entity and distribute different keys across Kinesis shards.

Explanation

Correct Answers

A:

Kinesis ordering is guaranteed within a shard and partition key choices determine shard affinity. This states the AWS behavior that makes the implementation valid.

C:

Records for one entity remain ordered while shard-level incoming and processing rates stay within quotas.

F:

Select a stable partition key for each entity and distribute different keys across Kinesis shards. This is the concrete implementation required for Kinesis shard partitioning.

Incorrect Answers

B:

Expect global order across unrelated shards. This is not a suitable implementation or validation step for Kinesis shard partitioning; it would leave the risk that using one constant partition key creates a hot shard even when more shards are available.

D:

Store streaming checkpoints in browser cookies. This is not a suitable implementation or validation step for Kinesis shard partitioning; it would leave the risk that using one constant partition key creates a hot shard even when more shards are available.

E:

Publish all records with a single literal partition key. This is not a suitable implementation or validation step for Kinesis shard partitioning; it would leave the risk that using one constant partition key creates a hot shard even when more shards are available.

Question 644

A CPU-bound Lambda runs slowly and has billed time far above the business latency target. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Benchmark memory settings and pick a measured memory and CPU allocation optimizing duration and total cost.
  2. Add an API Gateway authorizer to increase Lambda CPU shares.
  3. Reduce memory to the absolute minimum without benchmarking.
  4. Comparative load tests show latency and billed cost at the chosen memory setting.
  5. Increase S3 bucket version retention to speed CPU operations.

Explanation

Correct Answers

A:

Benchmark memory settings and pick a measured memory and CPU allocation optimizing duration and total cost. This is the concrete implementation required for Lambda duration versus memory tradeoff.

D:

Comparative load tests show latency and billed cost at the chosen memory setting. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Add an API Gateway authorizer to increase Lambda CPU shares. This is not a suitable implementation or validation step for Lambda duration versus memory tradeoff; it would leave the risk that simply reducing memory can raise duration and total cost for CPU-bound code.

C:

Reduce memory to the absolute minimum without benchmarking. This is not a suitable implementation or validation step for Lambda duration versus memory tradeoff; it would leave the risk that simply reducing memory can raise duration and total cost for CPU-bound code.

E:

Increase S3 bucket version retention to speed CPU operations. This is not a suitable implementation or validation step for Lambda duration versus memory tradeoff; it would leave the risk that simply reducing memory can raise duration and total cost for CPU-bound code.

Question 645

A Lambda function update must route only 10 percent of traffic to a new version before full rollout. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Configure CodeDeploy Lambda traffic shifting with alarms and a tested rollback policy.
  2. Overwrite the production published version instead of using aliases.
  3. Delete CloudWatch alarms during the canary window.
  4. Alias routing starts at the selected small percentage and alarms can trigger rollback.
  5. Use an S3 lifecycle rule to split Lambda alias requests.

Explanation

Correct Answers

A:

Configure CodeDeploy Lambda traffic shifting with alarms and a tested rollback policy. This is the concrete implementation required for CodeDeploy Lambda canary.

D:

Alias routing starts at the selected small percentage and alarms can trigger rollback. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Overwrite the production published version instead of using aliases. This is not a suitable implementation or validation step for CodeDeploy Lambda canary; it would leave the risk that switching all traffic at once removes early canary detection.

C:

Delete CloudWatch alarms during the canary window. This is not a suitable implementation or validation step for CodeDeploy Lambda canary; it would leave the risk that switching all traffic at once removes early canary detection.

E:

Use an S3 lifecycle rule to split Lambda alias requests. This is not a suitable implementation or validation step for CodeDeploy Lambda canary; it would leave the risk that switching all traffic at once removes early canary detection.

Question 646

An application encrypts large exported reports while keeping master keys protected by KMS. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Generate a data key using AWS KMS, encrypt the payload locally, and store the encrypted data key alongside the ciphertext.
  2. Hardcode a plaintext symmetric key in source control.
  3. Use Base64 encoding and call it encryption.
  4. An approved role can decrypt the wrapped data key while an unauthorized role cannot.
  5. Log plaintext generated data keys for debugging.

Explanation

Correct Answers

A:

Generate a data key using AWS KMS, encrypt the payload locally, and store the encrypted data key alongside the ciphertext. This is the concrete implementation required for KMS envelope encryption.

D:

An approved role can decrypt the wrapped data key while an unauthorized role cannot. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

B:

Hardcode a plaintext symmetric key in source control. This is not a suitable implementation or validation step for KMS envelope encryption; it would leave the risk that sending large documents directly through a small KMS Encrypt API payload is unsuitable.

C:

Use Base64 encoding and call it encryption. This is not a suitable implementation or validation step for KMS envelope encryption; it would leave the risk that sending large documents directly through a small KMS Encrypt API payload is unsuitable.

E:

Log plaintext generated data keys for debugging. This is not a suitable implementation or validation step for KMS envelope encryption; it would leave the risk that sending large documents directly through a small KMS Encrypt API payload is unsuitable.

Question 647

A queue worker occasionally needs four minutes to finish processing a PDF invoice and a second worker receives the same message early. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Set the SQS visibility timeout above the expected processing interval and delete the message after successful work.
  2. No second delivery occurs during the normal work interval and a completed message is explicitly deleted.
  3. Rely on process memory to mark every SQS message complete.
  4. Remove DeleteMessage calls entirely.
  5. Reduce the visibility timeout to one second.

Explanation

Correct Answers

A:

Set the SQS visibility timeout above the expected processing interval and delete the message after successful work. This is the concrete implementation required for SQS visibility timeout.

B:

No second delivery occurs during the normal work interval and a completed message is explicitly deleted.

Incorrect Answers

C:

Rely on process memory to mark every SQS message complete. This is not a suitable implementation or validation step for SQS visibility timeout; it would leave the risk that a too-short visibility timeout lets another consumer receive unfinished work.

D:

Remove DeleteMessage calls entirely. This is not a suitable implementation or validation step for SQS visibility timeout; it would leave the risk that a too-short visibility timeout lets another consumer receive unfinished work.

E:

Reduce the visibility timeout to one second. This is not a suitable implementation or validation step for SQS visibility timeout; it would leave the risk that a too-short visibility timeout lets another consumer receive unfinished work.

Question 648

A developer manually changes an API Gateway resource outside CloudFormation and deployment behavior diverges. Select TWO statements that together form a sound implementation and validation plan for this requirement.

  1. Run CloudFormation drift detection for supported resource types and reconcile unexpected changes into the source template.
  2. Manually edit each resource again after every pipeline run.
  3. Drift results identify divergent supported properties and a later deployment restores intended state.
  4. Delete the entire cloud account when one property differs.
  5. Assume a successful unit test proves there is no stack drift.

Explanation

Correct Answers

A:

Run CloudFormation drift detection for supported resource types and reconcile unexpected changes into the source template. This is the concrete implementation required for infrastructure drift detection.

C:

Drift results identify divergent supported properties and a later deployment restores intended state.

Incorrect Answers

B:

Manually edit each resource again after every pipeline run. This is not a suitable implementation or validation step for infrastructure drift detection; it would leave the risk that manual configuration changes may be overwritten or missed by the next IaC deployment.

D:

Delete the entire cloud account when one property differs. This is not a suitable implementation or validation step for infrastructure drift detection; it would leave the risk that manual configuration changes may be overwritten or missed by the next IaC deployment.

E:

Assume a successful unit test proves there is no stack drift. This is not a suitable implementation or validation step for infrastructure drift detection; it would leave the risk that manual configuration changes may be overwritten or missed by the next IaC deployment.

Question 649

A Lambda role has an allow statement for S3 reads but calls are still denied by a higher-scope policy. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Attach an additional wildcard Allow to override every Deny.
  2. Evaluate explicit denies in identity, resource, permissions-boundary, and organization policy paths.
  3. Disable CloudTrail to make denied API calls succeed.
  4. An explicit Deny takes precedence over any applicable Allow in AWS policy evaluation.
  5. Policy evaluation identifies a matching explicit deny even though an Allow statement also matches.
  6. Rename the role without inspecting policy statements.

Explanation

Correct Answers

B:

Evaluate explicit denies in identity, resource, permissions-boundary, and organization policy paths. This is the concrete implementation required for IAM policy explicit deny.

D:

An explicit Deny takes precedence over any applicable Allow in AWS policy evaluation. This states the AWS behavior that makes the implementation valid.

E:

Policy evaluation identifies a matching explicit deny even though an Allow statement also matches. This is the workload-specific evidence needed to validate the change.

Incorrect Answers

A:

Attach an additional wildcard Allow to override every Deny. This is not a suitable implementation or validation step for IAM policy explicit deny; it would leave the risk that adding another Allow statement does not override an explicit Deny.

C:

Disable CloudTrail to make denied API calls succeed. This is not a suitable implementation or validation step for IAM policy explicit deny; it would leave the risk that adding another Allow statement does not override an explicit Deny.

F:

Rename the role without inspecting policy statements. This is not a suitable implementation or validation step for IAM policy explicit deny; it would leave the risk that adding another Allow statement does not override an explicit Deny.

Question 650

A shared SaaS table stores records for many tenants under tenant-prefixed partition keys. Select THREE statements that together form a sound implementation and validation plan for this requirement.

  1. Trust an unsigned request header as proof of ownership.
  2. Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query.
  3. Authorized requests query only their tenant partition while cross-tenant requests are blocked.
  4. Cache shared query results without a tenant-specific key.
  5. Permit any valid user to choose any tenant partition key.
  6. A tenant identifier from verified claims must control data scoping instead of untrusted request parameters.

Explanation

Correct Answers

B:

Derive a tenant-scoped key prefix from verified identity and enforce tenant authorization on each query. This is the concrete implementation required for multi-tenant DynamoDB row isolation.

C:

Authorized requests query only their tenant partition while cross-tenant requests are blocked. This is the workload-specific evidence needed to validate the change.

F:

A tenant identifier from verified claims must control data scoping instead of untrusted request parameters. This states the AWS behavior that makes the implementation valid.

Incorrect Answers

A:

Trust an unsigned request header as proof of ownership. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

D:

Cache shared query results without a tenant-specific key. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

E:

Permit any valid user to choose any tenant partition key. This is not a suitable implementation or validation step for multi-tenant DynamoDB row isolation; it would leave the risk that accepting a caller-supplied tenant key without validation enables cross-tenant record access.

AWS Certified Developer - Associate DVA-C02 Practice Tests