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 11

Question 100

A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. Select TWO complementary measures that correctly repair and validate this failure.

  1. Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time.
  2. Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.
  3. Production requests use only the production table while test-stage data stays isolated.
  4. Copy all stage variables from testing directly into production without inspection.
  5. A request to the public custom domain reaches the intended stage without accessing staging-only operations.

Explanation

Correct Answers

A:

Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time. The underlying cause is: Environment-specific runtime configuration is not validated against the production deployment boundary.

C:

Production requests use only the production table while test-stage data stays isolated. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. It does not resolve this incident.

D:

Copy all stage variables from testing directly into production without inspection. That shortcut conflicts with the stated requirement.

E:

This would validate a different case: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. It does not verify the outcome required here.

Question 101

A CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release. Which engineering change best addresses the underlying issue?

  1. Bundle or layer the tested compatible dependency set and validate imports from the actual deployment artifact.
  2. Externalize reviewed stage-specific settings through approved parameters or AWS AppConfig and validate them before launch.
  3. Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template.
  4. Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms.

Explanation

Correct Answer

D:

Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms. It directly addresses the case cause (The deployment has no staged exposure or effective rollback trigger for the new code.) and should be verified by: Injected failures during initial traffic shift stop promotion and restore the intended prior version.

Incorrect Answers

A:

That change addresses a Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment; it would not repair this incident.

B:

That change addresses a scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production; it would not repair this incident.

C:

That change addresses a developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need; it would not repair this incident.

Question 102

A Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler. Which engineering change best addresses the underlying issue?

  1. Repackage the code so the deployed handler path, modules and ZIP directory root agree.
  2. Assert response schema, important business fields, and expected side effects against a controlled fixture.
  3. Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.
  4. Record immutable published versions and implement a tested rollback through alias or supported deployment controls.

Explanation

Correct Answer

A:

Repackage the code so the deployed handler path, modules and ZIP directory root agree. It directly addresses the case cause (The handler import path does not match the archive root and Python module structure at runtime.) and should be verified by: A fresh Lambda initialization imports the configured handler and processes the expected test event successfully.

Incorrect Answers

B:

That change addresses a deployment pipeline sends a test event to a Lambda but never asserts output values, so a handler returns HTTP 200 with an invalid business result; it would not repair this incident.

C:

That change addresses an application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure; it would not repair this incident.

D:

That change addresses a Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest; it would not repair this incident.

Question 103

An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. Which technical dependency most directly explains this behavior?

  1. The external side effect outlives the handler deadline and the application does not track idempotent completion.
  2. The code assumes one ListObjectsV2 response enumerates the complete bucket prefix.
  3. Cold-start initialization performs unnecessary work before the request handler can serve traffic.
  4. Correct credentials cannot bypass a missing VPC route, private DNS or restrictive security group path.

Explanation

Correct Answer

B:

The code assumes one ListObjectsV2 response enumerates the complete bucket prefix. The corresponding fix is to iterate through continuation tokens using the supported SDK paginator until the complete intended key set is exhausted.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. The dependency here is different.

C:

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 function runs in a private VPC subnet and cannot reach its intended RDS endpoint, although the stored database username and password are correct. The dependency here is different.

Question 104

A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. Which technical dependency most directly explains this behavior?

  1. Cross-account access may also require the target topic's resource policy to allow the approved caller.
  2. The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions.
  3. A cryptographic secret is exposed through operational telemetry and is not protected by access separation.
  4. The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.

Explanation

Correct Answer

A:

Cross-account access may also require the target topic's resource policy to allow the approved caller. The corresponding fix is to review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal.

Incorrect Answers

B:

This diagnosis addresses another AWS case: An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. The dependency here is different.

C:

This diagnosis addresses another AWS case: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. The dependency here is different.

D:

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

Question 105

An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end. Which engineering change best addresses the underlying issue?

  1. Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields.
  2. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  3. Persist the authorized cart in an appropriately keyed durable store or scoped distributed session service.
  4. Create a compatible mapping with an appropriate numeric field and reindex verified documents under a controlled alias cutover.

Explanation

Correct Answer

A:

Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields. It directly addresses the case cause (The asynchronous failure path lacks a correctly configured destination or equivalent durable failure capture.) and should be verified by: A permanently failing test event creates a reviewable failure record and does not silently disappear.

Incorrect Answers

B:

That change addresses a DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version; it would not repair this incident.

C:

That change addresses a stateless containerized checkout API stores shopping-cart state only in a process dictionary and loses carts when traffic shifts to a new task; it would not repair this incident.

D:

That change addresses a customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly; it would not repair this incident.

Question 106

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records.

  1. Test the authorizer's cache policy scope and denied-method fixtures with realistic identities.
  2. Run privacy-redaction log fixtures and enforce scoped retention and readers for sensitive services.
  3. Add cross-tenant negative tests for list, read, update and delete methods, including cached responses.
  4. Test source/target key grants and expected encryption context after cross-account data-flow changes.

Explanation

Correct Answer

B:

Run privacy-redaction log fixtures and enforce scoped retention and readers for sensitive services. This safeguards against a recurring cause: Debug logging ignores data classification and unnecessarily retains sensitive fields outside their intended processing boundary.

Incorrect Answers

A:

That safeguard addresses another case: An API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource. It is not the control for this recurring failure.

C:

That safeguard addresses another case: An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. It is not the control for this recurring failure.

D:

That safeguard addresses another 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 is not the control for this recurring failure.

Question 107

A Lambda unit test mocks an EventBridge event as a flat payload but the actual event carries fields under detail and the deployed handler crashes. Which technical dependency most directly explains this behavior?

  1. The test fixture does not represent the service's documented event envelope.
  2. Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.
  3. A successful function invocation is incorrectly treated as proof that its domain logic is correct.
  4. The handler import path does not match the archive root and Python module structure at runtime.

Explanation

Correct Answer

A:

The test fixture does not represent the service's documented event envelope. The corresponding fix is to build representative EventBridge envelopes and run handler contract tests against the actual integration schema.

Incorrect Answers

B:

This diagnosis addresses another AWS case: A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. The dependency here is different.

C:

This diagnosis addresses another AWS case: A deployment pipeline sends a test event to a Lambda but never asserts output values, so a handler returns HTTP 200 with an invalid business result. The dependency here is different.

D:

This diagnosis addresses another AWS case: A Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler. The dependency here is different.

Question 108

A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. Which technical dependency most directly explains this behavior?

  1. Averages conceal tail latency and do not represent the stated high-percentile service objective.
  2. The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.
  3. The operational events lack a stable correlation identifier shared through the request path.
  4. Infrastructure invocation metrics have been confused with an accepted domain-specific business outcome.

Explanation

Correct Answer

B:

The edge distribution's caching policy is inconsistent with the versioned static-content access pattern. The corresponding fix is to use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.

Incorrect Answers

A:

This diagnosis addresses another AWS case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. The dependency here is different.

C:

This diagnosis addresses another AWS case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. The dependency here is different.

D:

This diagnosis addresses another AWS case: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. The dependency here is different.

Question 109

A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. Which technical dependency most directly explains this behavior?

  1. DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation.
  2. Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.
  3. Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture.
  4. The partition-key strategy concentrates a large workload on a small physical key distribution.

Explanation

Correct Answer

C:

Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture. The corresponding fix is to publish or select a layer compiled for the actual runtime and architecture and test imports in that environment.

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: An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization. The dependency here is different.

D:

This diagnosis addresses another AWS case: A DynamoDB table partitions all tenant activity by one static calendar-day key and hot writes throttle despite spare overall capacity. The dependency here is different.

Question 110

A stateless containerized checkout API stores shopping-cart state only in a process dictionary and loses carts when traffic shifts to a new task. Which engineering change best addresses the underlying issue?

  1. Detect or validate the documented compression encoding and decompress safely before schema validation and parsing.
  2. Persist the authorized cart in an appropriately keyed durable store or scoped distributed session service.
  3. Use supported partial batch response or bisect handling where applicable and idempotent downstream writes.
  4. Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns.

Explanation

Correct Answer

B:

Persist the authorized cart in an appropriately keyed durable store or scoped distributed session service. It directly addresses the case cause (Application state is tied to one transient compute instance rather than a shared state contract.) and should be verified by: The same authorized cart survives container replacement and remains isolated from other shopper identities.

Incorrect Answers

A:

That change addresses a Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text; it would not repair this incident.

C:

That change addresses a Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception; it would not repair this incident.

D:

That change addresses a DynamoDB table partitions all tenant activity by one static calendar-day key and hot writes throttle despite spare overall capacity; it would not repair this incident.

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.