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 6

Question 50

A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. Which technical dependency most directly explains this behavior?

  1. The published package does not contain the runtime dependency closure expected by the handler.
  2. The API deployment target bypasses the intended versioned release and rollback boundary.
  3. The staging and production integration versions are not aligned with the intended release.
  4. A mutable image tag is being treated as an immutable release artifact identity.

Explanation

Correct Answer

B:

The API deployment target bypasses the intended versioned release and rollback boundary. The corresponding fix is to reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment. The dependency here is different.

C:

This diagnosis addresses another AWS case: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. The dependency here is different.

D:

This diagnosis addresses another AWS case: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. The dependency here is different.

Question 51

A login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags. Which technical dependency most directly explains this behavior?

  1. The integration code assumes the wrong documented event-envelope structure for this event source.
  2. The code assumes one ListObjectsV2 response enumerates the complete bucket prefix.
  3. DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation.
  4. Generated source is being treated as trusted rather than code requiring human review and least-privilege validation.

Explanation

Correct Answer

C:

DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation. The corresponding fix is to check the session expiry attribute in application authorization and use TTL only for eventual physical cleanup.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. The dependency here is different.

B:

This diagnosis addresses another AWS case: An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. The dependency here is different.

D:

This diagnosis addresses another AWS case: A developer accepts Amazon Q Developer's suggested IAM and SDK code without reviewing it, and a generated call requests permission to unrelated customer data. The dependency here is different.

Question 52

A Node.js Lambda function allocates large objects at module scope per invocation and memory increases over successive warm requests. Which engineering change best addresses the underlying issue?

  1. Emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination.
  2. Classify retryable versus permanent errors and route terminal failures to an observable failed state or approved recovery.
  3. Use supported trace-context propagation and appropriate downstream instrumentation and permissions.
  4. Eliminate unbounded retained references and profile memory usage under repeated representative warm invocations.

Explanation

Correct Answer

D:

Eliminate unbounded retained references and profile memory usage under repeated representative warm invocations. It directly addresses the case cause (Mutable long-lived in-process references retain request data and create memory pressure across execution reuse.) and should be verified by: Memory stays bounded across a multi-request fixture without changing response correctness.

Incorrect Answers

A:

That change addresses a Lambda service logs detailed failures but has no alarm tied to failed business transactions, so the on-call team learns about a payment outage from customers; it would not repair this incident.

B:

That change addresses a Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections; it would not repair this incident.

C:

That change addresses a developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps; it would not repair this incident.

Question 53

An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Run inventory tests beyond the service page size and store resumable progress for interrupted scans.
  2. Treat a nonempty first page as proof that the inventory is complete.
  3. Check the session expiry attribute in application authorization and use TTL only for eventual physical cleanup.
  4. A fixture larger than one response page reconciles every expected object key without duplicate processing.
  5. A burst test keeps notification latency within the objective while producer backpressure remains controlled.
  6. Iterate through continuation tokens using the supported SDK paginator until the complete intended key set is exhausted.

Explanation

Correct Answers

A:

Run inventory tests beyond the service page size and store resumable progress for interrupted scans. This protects against the following risk: The code assumes one ListObjectsV2 response enumerates the complete bucket prefix.

D:

A fixture larger than one response page reconciles every expected object key without duplicate processing. This is the observable result required before accepting the correction.

F:

Iterate through continuation tokens using the supported SDK paginator until the complete intended key set is exhausted. The underlying cause is: The code assumes one ListObjectsV2 response enumerates the complete bucket prefix.

Incorrect Answers

B:

Treat a nonempty first page as proof that the inventory is complete. That shortcut conflicts with the stated requirement.

C:

That corrective action is for a different 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. It does not resolve this incident.

E:

This would validate a different case: A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. It does not verify the outcome required here.

Question 54

A team applies a reviewed fix for this situation: A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. Which observed outcome would most convincingly validate the fix?

  1. A permanently failing test event creates a reviewable failure record and does not silently disappear.
  2. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.
  3. Numeric range queries return the expected product set and the active alias points to the validated index.
  4. Multi-page test accounts display all authorized records with no gaps or duplicate page boundaries.

Explanation

Correct Answer

B:

A representative event reaches the handler and produces the intended customer operation without missing-field exceptions. This verifies the result of parse the expected EventBridge detail field after validating source, detail-type and event schema.

Incorrect Answers

A:

This would verify another situation: An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end. It does not validate the current case.

C:

This would verify another situation: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. It does not validate the current case.

D:

This would verify another situation: A developer reads one page of a DynamoDB Query response and a history screen omits newer records when an account exceeds the result limit. It does not validate the current case.

Question 55

A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. Which engineering change best addresses the underlying issue?

  1. Externalize reviewed stage-specific settings through approved parameters or AWS AppConfig and validate them before launch.
  2. Record immutable published versions and implement a tested rollback through alias or supported deployment controls.
  3. Review generated assertions against versioned API requirements and run current contract and regression fixtures.
  4. Build representative EventBridge envelopes and run handler contract tests against the actual integration schema.

Explanation

Correct Answer

B:

Record immutable published versions and implement a tested rollback through alias or supported deployment controls. It directly addresses the case cause (Release history and alias version identifiers are not preserved as rollback artifacts.) and should be verified by: A simulated bad release restores the exact previously verified version with expected response behavior.

Incorrect Answers

A:

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 team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification; it would not repair this incident.

D:

That change addresses 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; it would not repair this incident.

Question 56

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? 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.

  1. Test network connectivity independently from credential validity whenever Lambda VPC configuration changes.
  2. Integration-test callback delays, lost tokens, job failures and workflow timeouts independently of request success.
  3. Check representative field mappings and query results before index version promotion.
  4. Monitor partition-key hot spots and verify distribution during producer release tests.

Explanation

Correct Answer

A:

Test network connectivity independently from credential validity whenever Lambda VPC configuration changes. This safeguards against a recurring cause: Correct credentials cannot bypass a missing VPC route, private DNS or restrictive security group path.

Incorrect Answers

B:

That safeguard addresses another case: A Step Functions state sends an API request that starts a third-party batch job and immediately marks the workflow complete before the batch finishes. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. It is not the control for this recurring failure.

Question 57

A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. Which engineering change best addresses the underlying issue?

  1. Publish suitable latency distributions and p95/p99 metrics with errors and traffic context.
  2. Emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination.
  3. Classify retryable versus permanent errors and route terminal failures to an observable failed state or approved recovery.
  4. Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.

Explanation

Correct Answer

D:

Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance. It directly addresses the case cause (Insufficient allocated compute resources prolong CPU-bound execution and can make total runtime less cost-efficient.) and should be verified by: The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost.

Incorrect Answers

A:

That change addresses an application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective; it would not repair this incident.

B:

That change addresses a Lambda service logs detailed failures but has no alarm tied to failed business transactions, so the on-call team learns about a payment outage from customers; it would not repair this incident.

C:

That change addresses a Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections; it would not repair this incident.

Question 58

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching.

  1. Test cache headers, invalidation and auth-sensitive path exclusions before distribution changes.
  2. Monitor percentile behavior and error budgets under representative workload mixes.
  3. Include deployment health probe routes and failure status behavior in release smoke tests.
  4. Periodically test alarm thresholds, subscription delivery and escalation ownership independently of logs.

Explanation

Correct Answer

A:

Test cache headers, invalidation and auth-sensitive path exclusions before distribution changes. This safeguards against a recurring cause: The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.

Incorrect Answers

B:

That safeguard addresses another case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It is not the control for this recurring failure.

C:

That safeguard addresses another case: An ECS rolling deployment keeps replacing tasks because the container health check targets a removed HTTP route even though the application serves traffic on a new path. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda service logs detailed failures but has no alarm tied to failed business transactions, so the on-call team learns about a payment outage from customers. It is not the control for this recurring failure.

Question 59

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need.

  1. Include custom-domain route and certificate checks in post-deploy verification.
  2. Validate change sets and stage scoping in shared-environment deployment reviews.
  3. Audit image digest provenance and reject mutable-only release identifiers in production pipelines.
  4. Perform clean package builds with dependency locks and deployment-artifact smoke tests before release.

Explanation

Correct Answer

B:

Validate change sets and stage scoping in shared-environment deployment reviews. This safeguards against a recurring cause: The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.

Incorrect Answers

A:

That safeguard addresses another case: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. It is not the control for this recurring failure.

C:

That safeguard addresses another case: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment. It is not the control for this recurring failure.

Question 60

An API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Test the authorizer's cache policy scope and denied-method fixtures with realistic identities.
  2. Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context.
  3. Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint.
  4. The same user can GET the approved record but cannot DELETE a different record through the authorization cache.
  5. A controlled markup payload displays as inert text while legitimate comments remain readable.
  6. Return Allow for every API method once a user has signed in successfully.

Explanation

Correct Answers

A:

Test the authorizer's cache policy scope and denied-method fixtures with realistic identities. This protects against the following risk: An authorization decision for one method and resource is incorrectly generalized to privileged routes.

B:

Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context. The underlying cause is: An authorization decision for one method and resource is incorrectly generalized to privileged routes.

D:

The same user can GET the approved record but cannot DELETE a different record through the authorization cache. This is the observable result required before accepting the correction.

Incorrect Answers

C:

That corrective action is for a different case: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. It does not resolve this incident.

E:

This would validate a different case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It does not verify the outcome required here.

F:

Return Allow for every API method once a user has signed in successfully. That shortcut conflicts with the stated requirement.

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.