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 18

Question 170

A team needs repeatable local invocation of SAM-defined handlers using saved JSON events. Which developer action MOST directly meets the stated constraint?

  1. Unit-test only a text file containing the handler name.
  2. Build test events using realistic SQS Records metadata and verify handler output plus failure identifiers.
  3. Deploy directly to production to inspect each syntax error.
  4. Run AWS SAM CLI local API or invoke tests with representative events and runtime-compatible containers.

Explanation

Correct Answer

D:

Run AWS SAM CLI local API or invoke tests with representative events and runtime-compatible containers. SAM local testing helps validate handler behavior before a cloud deployment but does not replace all integration tests. For this second operating case, verify that test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

Incorrect Answers

A:

Unit-test only a text file containing the handler name. This shortcut would leave the local SAM API testing requirement unresolved; skipping runtime-compatible local tests can miss event-shape and handler configuration bugs.

B:

This technique primarily addresses SQS handler contract tests; it would not demonstrate local SAM API testing or directly prove that test output demonstrates the expected HTTP or handler response for valid and invalid fixtures.

C:

Deploy directly to production to inspect each syntax error. This shortcut would leave the local SAM API testing requirement unresolved; skipping runtime-compatible local tests can miss event-shape and handler configuration bugs.

Question 171

A Lambda handler must read a nonsecret feature mode and memory setting for its deployed environment. Which developer action MOST directly meets the stated constraint?

  1. Commit a different handler source for every environment variable.
  2. Treat environment variables as shared storage between parallel invocations.
  3. Use a Lambda asynchronous failure destination for an invocation record instead of relying solely on a DLQ.
  4. Set environment-specific Lambda configuration or AWS AppConfig values and read them at runtime.

Explanation

Correct Answer

D:

Set environment-specific Lambda configuration or AWS AppConfig values and read them at runtime. Runtime configuration separates deployment settings from executable code when values differ by environment. For this second operating case, verify that invocations in each environment show the configured nonsecret value without changing application source.

Incorrect Answers

A:

Commit a different handler source for every environment variable. This shortcut would leave the Lambda environment configuration requirement unresolved; hardcoded stage URLs in application source can send production traffic to the wrong backend.

B:

Treat environment variables as shared storage between parallel invocations. This shortcut would leave the Lambda environment configuration requirement unresolved; hardcoded stage URLs in application source can send production traffic to the wrong backend.

C:

This technique primarily addresses Lambda destinations versus DLQ; it would not demonstrate Lambda environment configuration or directly prove that invocations in each environment show the configured nonsecret value without changing application source.

Question 172

A client uploads confidential data and needs the server never to receive unencrypted object bytes. Which developer action MOST directly meets the stated constraint?

  1. Ensure the principal has S3 object permission and the required KMS decrypt permission on the encryption key.
  2. Encode the JSON payload with Base64.
  3. Encrypt in the client with properly protected keys before uploading ciphertext to storage.
  4. Enable SSE-S3 and call it encryption before upload.

Explanation

Correct Answer

C:

Encrypt in the client with properly protected keys before uploading ciphertext to storage. Client-side encryption protects data prior to upload; SSE encrypts it after S3 receives the request. For this second operating case, verify that network captures and storage samples contain encrypted payloads before S3 receives them.

Incorrect Answers

A:

This technique primarily addresses S3 SSE-KMS access; it would not demonstrate client-side versus server-side encryption or directly prove that network captures and storage samples contain encrypted payloads before S3 receives them.

B:

Encode the JSON payload with Base64. This shortcut would leave the client-side versus server-side encryption requirement unresolved; using only S3 server-side encryption does not satisfy a requirement to encrypt before transmission.

D:

Enable SSE-S3 and call it encryption before upload. This shortcut would leave the client-side versus server-side encryption requirement unresolved; using only S3 server-side encryption does not satisfy a requirement to encrypt before transmission.

Question 173

A DynamoDB Streams consumer needs to process only modifications with a specific status value. Which developer action MOST directly meets the stated constraint?

  1. Attach Lambda to appropriate subnets and security groups with allowed routes and database connectivity.
  2. Configure a supported Lambda event source filtering pattern matching the required record fields.
  3. Raise the function timeout to filter records automatically.
  4. Rebuild the DynamoDB table on every event.

Explanation

Correct Answer

B:

Configure a supported Lambda event source filtering pattern matching the required record fields. Event-source filtering applies selection before Lambda invokes the function for supported sources. For this second operating case, verify that matching records reach the handler and unrelated records do not produce application processing.

Incorrect Answers

A:

This technique primarily addresses Lambda VPC private data access; it would not demonstrate Lambda event filtering or directly prove that matching records reach the handler and unrelated records do not produce application processing.

C:

Raise the function timeout to filter records automatically. This shortcut would leave the Lambda event filtering requirement unresolved; missing or incorrect event filter patterns cause unwanted work or dropped eligible records.

D:

Rebuild the DynamoDB table on every event. This shortcut would leave the Lambda event filtering requirement unresolved; missing or incorrect event filter patterns cause unwanted work or dropped eligible records.

Question 174

A financial API requires a human approval gate after canary metrics are reviewed. Which developer action MOST directly meets the stated constraint?

  1. Bypass failing staging tests automatically.
  2. Pull arbitrary latest images in production instead of the tested digest.
  3. Configure stage-specific variables or integrations pointing to the intended Lambda alias and grant invoke permissions.
  4. Configure the existing pipeline stages to build, test, approve where required, and promote immutable artifacts.

Explanation

Correct Answer

D:

Configure the existing pipeline stages to build, test, approve where required, and promote immutable artifacts. CI/CD stage ordering and approvals reduce uncontrolled deployment changes. For this second operating case, verify that pipeline execution history shows the same artifact revision crossing successful gates before production.

Incorrect Answers

A:

Bypass failing staging tests automatically. This shortcut would leave the CodePipeline gated promotion requirement unresolved; a pipeline that rebuilds a different artifact after approval breaks artifact provenance.

B:

Pull arbitrary latest images in production instead of the tested digest. This shortcut would leave the CodePipeline gated promotion requirement unresolved; a pipeline that rebuilds a different artifact after approval breaks artifact provenance.

C:

This technique primarily addresses API Gateway stage variables; it would not demonstrate CodePipeline gated promotion or directly prove that pipeline execution history shows the same artifact revision crossing successful gates before production.

Question 175

A serverless handler emits structured events and wants CloudWatch to extract metrics from logs. Which developer action MOST directly meets the stated constraint?

  1. Include unique session IDs as dimensions for every request.
  2. Emit valid CloudWatch Embedded Metric Format JSON with metric definitions and safe dimension cardinality.
  3. Enable supported tracing and propagate trace context through service calls and instrumentation.
  4. Write unstructured text and assume EMF auto-discovers numeric fields.

Explanation

Correct Answer

B:

Emit valid CloudWatch Embedded Metric Format JSON with metric definitions and safe dimension cardinality. EMF lets supported log consumers extract metrics from structured events and dimensions affect metric series count. For this second operating case, verify that cloudWatch extracts a named custom metric from the structured log events with the expected dimensions.

Incorrect Answers

A:

Include unique session IDs as dimensions for every request. This shortcut would leave the CloudWatch embedded metric format requirement unresolved; including a unique request ID as a metric dimension can create excessive high-cardinality metric series.

C:

This technique primarily addresses X-Ray trace propagation; it would not demonstrate CloudWatch embedded metric format or directly prove that cloudWatch extracts a named custom metric from the structured log events with the expected dimensions.

D:

Write unstructured text and assume EMF auto-discovers numeric fields. This shortcut would leave the CloudWatch embedded metric format requirement unresolved; including a unique request ID as a metric dimension can create excessive high-cardinality metric series.

Question 176

A feature branch needs a disposable serverless stack with test-only API endpoints. Which developer action MOST directly meets the stated constraint?

  1. Review AI-generated tests for assertions, data privacy, and realistic events before adding them to CI.
  2. Run destructive integration tests on the production table.
  3. Deploy a separate IaC-managed test stack with isolated resource names and clean it up after testing.
  4. Reuse the production queue URL because it is convenient.

Explanation

Correct Answer

C:

Deploy a separate IaC-managed test stack with isolated resource names and clean it up after testing. Environment isolation prevents test mutations from affecting production state. For this second operating case, verify that integration tests use temporary resource ARNs and cleanup leaves production resources unchanged.

Incorrect Answers

A:

This technique primarily addresses AI-assisted test review; it would not demonstrate stage-isolated integration stack or directly prove that integration tests use temporary resource ARNs and cleanup leaves production resources unchanged.

B:

Run destructive integration tests on the production table. This shortcut would leave the stage-isolated integration stack requirement unresolved; sharing production tables with integration tests can corrupt real data.

D:

Reuse the production queue URL because it is convenient. This shortcut would leave the stage-isolated integration stack requirement unresolved; sharing production tables with integration tests can corrupt real data.

Question 177

A deployment artifact should use the same IaC source but separate S3 bucket names by environment. Which developer action MOST directly meets the stated constraint?

  1. Parameterize the CloudFormation or SAM template and supply environment-specific values at deployment.
  2. Configure Lambda ephemeral storage capacity appropriately and clean temporary files between invocations.
  3. Duplicate production secrets in template descriptions.
  4. Hand-edit each deployed resource in the console after every commit.

Explanation

Correct Answer

A:

Parameterize the CloudFormation or SAM template and supply environment-specific values at deployment. Template parameters and mappings allow controlled environment variation from one IaC definition. For this second operating case, verify that the change set shows the intended resource values for the selected environment without modifying source templates.

Incorrect Answers

B:

This technique primarily addresses Lambda ephemeral disk sizing; it would not demonstrate CloudFormation resource parameters or directly prove that the change set shows the intended resource values for the selected environment without modifying source templates.

C:

Duplicate production secrets in template descriptions. This shortcut would leave the CloudFormation resource parameters requirement unresolved; hardcoding production resource names in a shared template can cause cross-environment collisions.

D:

Hand-edit each deployed resource in the console after every commit. This shortcut would leave the CloudFormation resource parameters requirement unresolved; hardcoding production resource names in a shared template can cause cross-environment collisions.

Question 178

An API integration must map headers and body properties to a required downstream payload contract. Which developer action MOST directly meets the stated constraint?

  1. Disable all API authorizers to bypass mapping errors.
  2. Change the Lambda runtime version to alter JSON keys automatically.
  3. Define an API Gateway mapping template or parameter mapping that explicitly transforms the incoming request.
  4. Select a stable partition key for each entity and distribute different keys across Kinesis shards.

Explanation

Correct Answer

C:

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. For this second operating case, verify that recorded integration requests contain the exact backend field names and values expected by the service.

Incorrect Answers

A:

Disable all API authorizers to bypass mapping errors. This shortcut would leave the API Gateway mapping templates requirement unresolved; a mismatched integration payload causes field-level validation errors even with a healthy backend.

B:

Change the Lambda runtime version to alter JSON keys automatically. This shortcut would leave the API Gateway mapping templates requirement unresolved; a mismatched integration payload causes field-level validation errors even with a healthy backend.

D:

This technique primarily addresses Kinesis shard partitioning; it would not demonstrate API Gateway mapping templates or directly prove that recorded integration requests contain the exact backend field names and values expected by the service.

Question 179

A function unpacks a compressed model into ephemeral storage before processing requests. Which developer action MOST directly meets the stated constraint?

  1. Use CloudFront invalidation to enlarge Lambda scratch storage.
  2. Parameterize the CloudFormation or SAM template and supply environment-specific values at deployment.
  3. Configure Lambda ephemeral storage capacity appropriately and clean temporary files between invocations.
  4. Increase the API Gateway request timeout to add /tmp disk space.

Explanation

Correct Answer

C:

Configure Lambda ephemeral storage capacity appropriately and clean temporary files between invocations. Lambda ephemeral storage is separately configurable from memory and has finite per-environment capacity. For this second operating case, verify that peak /tmp usage remains within configured capacity during the largest supported input.

Incorrect Answers

A:

Use CloudFront invalidation to enlarge Lambda scratch storage. This shortcut would leave the Lambda ephemeral disk sizing requirement unresolved; insufficient /tmp space causes disk write failures regardless of the function's available heap.

B:

This technique primarily addresses CloudFormation resource parameters; it would not demonstrate Lambda ephemeral disk sizing or directly prove that peak /tmp usage remains within configured capacity during the largest supported input.

D:

Increase the API Gateway request timeout to add /tmp disk space. This shortcut would leave the Lambda ephemeral disk sizing requirement unresolved; insufficient /tmp space causes disk write failures regardless of the function's available heap.

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.

AWS Certified Developer - Associate DVA-C02 Practice Tests