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 5

Question 40

A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. Which engineering change best addresses the underlying issue?

  1. Build an allowlisted sanitized event schema that excludes bearer credentials and unrelated personal fields.
  2. Bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.
  3. Review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal.
  4. Configure an authorized cross-account key policy and permitted IAM use, including encryption context constraints where appropriate.

Explanation

Correct Answer

C:

Review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal. It directly addresses the case cause (Cross-account access may also require the target topic's resource policy to allow the approved caller.) and should be verified by: The approved function publishes a test event while unauthorized roles in either account remain denied.

Incorrect Answers

A:

That change addresses a microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status; it would not repair this incident.

B:

That change addresses a multi-tenant data export Lambda assumes an S3 key prefix from the request body and permits tenant A to select tenant B's export prefix; it would not repair this incident.

D:

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

Question 41

A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. Which engineering change best addresses the underlying issue?

  1. Inject a deterministic payment mock or provider-approved sandbox in CI and reserve live calls for explicitly authorized tests.
  2. Reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.
  3. Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template.
  4. Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time.

Explanation

Correct Answer

B:

Reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment. It directly addresses the case cause (The API deployment target bypasses the intended versioned release and rollback boundary.) and should be verified by: The production endpoint invokes the planned alias version and rollback changes only the controlled release mapping.

Incorrect Answers

A:

That change addresses a checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs; 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.

D:

That change addresses a production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records; it would not repair this incident.

Question 42

A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low. Which technical dependency most directly explains this behavior?

  1. The partition-key strategy concentrates a large workload on a small physical key distribution.
  2. The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.
  3. Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.
  4. The integration code assumes the wrong documented event-envelope structure for this event source.

Explanation

Correct Answer

B:

The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates. The corresponding fix is to right-size Lambda ephemeral storage or stream and clean intermediate content in bounded chunks.

Incorrect Answers

A:

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.

C:

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 Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. The dependency here is different.

Question 43

A team applies a reviewed fix for this situation: A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access. Which observed outcome would most convincingly validate the fix?

  1. A controlled invocation opens the intended database connection without exposing its port to the public internet.
  2. A burst test keeps notification latency within the objective while producer backpressure remains controlled.
  3. Transient throttling recovers within the agreed budget while persistent throttling yields a controlled failure instead of a storm.
  4. Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted.

Explanation

Correct Answer

C:

Transient throttling recovers within the agreed budget while persistent throttling yields a controlled failure instead of a storm. This verifies the result of apply capped exponential backoff with jitter and supported Retry-After handling and fail predictably after a defined retry budget.

Incorrect Answers

A:

This would verify another situation: 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. It does not validate the current case.

B:

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

D:

This would verify another situation: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It does not validate the current case.

Question 44

An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. Which technical dependency most directly explains this behavior?

  1. A cryptographic secret is exposed through operational telemetry and is not protected by access separation.
  2. The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.
  3. Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.
  4. The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions.

Explanation

Correct Answer

D:

The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions. The corresponding fix is to move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Incorrect Answers

A:

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.

B:

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.

C:

This diagnosis addresses another AWS case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. The dependency here is different.

Question 45

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access.

  1. Test retry and circuit-breaker behavior against simulated 429 and 5xx partner responses.
  2. Test cache lag against concurrency and document which reads must bypass caches for correctness.
  3. Simulate lost acknowledgements and ensure all retries use the same logical operation identity.
  4. Check representative field mappings and query results before index version promotion.

Explanation

Correct Answer

A:

Test retry and circuit-breaker behavior against simulated 429 and 5xx partner responses. This safeguards against a recurring cause: The retry loop ignores rate-limit signals and has no bounded backoff or circuit-breaker policy.

Incorrect Answers

B:

That safeguard addresses another case: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. It is not the control for this recurring failure.

D:

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.

Question 46

A developer increases an ECS application's memory needs but the deployment task definition still uses the old hard memory limit and the new task is killed. Select TWO complementary measures that correctly repair and validate this failure.

  1. Review actual memory usage and publish a task-definition revision with appropriate supported CPU and memory settings.
  2. CI tests produce predictable success and rejection cases without any real payment transaction.
  3. A measured load test completes without out-of-memory termination while resource consumption stays within budget.
  4. Increase HTTP retries while leaving the task's insufficient memory allocation unchanged.
  5. Generate and test a provenance-tagged artifact and deploy the same digest after all required checks pass.

Explanation

Correct Answers

A:

Review actual memory usage and publish a task-definition revision with appropriate supported CPU and memory settings. The underlying cause is: The packaged workload's resource requirements are not reflected in the deployed task definition.

C:

A measured load test completes without out-of-memory termination while resource consumption stays within budget. This is the observable result required before accepting the correction.

Incorrect Answers

B:

This would validate a different case: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. It does not verify the outcome required here.

D:

Increase HTTP retries while leaving the task's insufficient memory allocation unchanged. That shortcut conflicts with the stated requirement.

E:

That corrective action is for a different case: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. It does not resolve this incident.

Question 47

A Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections. Which technical dependency most directly explains this behavior?

  1. The operational events lack a stable correlation identifier shared through the request path.
  2. The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.
  3. Distributed trace propagation is not applied across the service-to-service network boundary.
  4. Catch-all exception handling misclassifies terminal failures and removes meaningful incident evidence.

Explanation

Correct Answer

D:

Catch-all exception handling misclassifies terminal failures and removes meaningful incident evidence. The corresponding fix is to classify retryable versus permanent errors and route terminal failures to an observable failed state or approved recovery.

Incorrect Answers

A:

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.

B:

This diagnosis addresses another AWS case: A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. The dependency here is different.

C:

This diagnosis addresses another AWS case: A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. The dependency here is different.

Question 48

A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Cache authorization decisions forever and never revalidate changed entitlements.
  2. Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations.
  3. A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window.
  4. Publish suitable latency distributions and p95/p99 metrics with errors and traffic context.
  5. A single transaction's safe logs can be joined across services without exposing credentials or raw customer data.
  6. Cache approved nonsecret configuration with expiration and refresh behavior appropriate to staleness requirements.

Explanation

Correct Answers

B:

Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations. This protects against the following risk: Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.

C:

A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window. This is the observable result required before accepting the correction.

F:

Cache approved nonsecret configuration with expiration and refresh behavior appropriate to staleness requirements. The underlying cause is: Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.

Incorrect Answers

A:

Cache authorization decisions forever and never revalidate changed entitlements. That shortcut conflicts with the stated requirement.

D:

That corrective action is for a different case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It does not resolve this incident.

E:

This would validate a different case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. It does not verify the outcome required here.

Question 49

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository.

  1. Test key rotation and decryption authorization with versions and denied identity fixtures.
  2. Exercise authenticated-but-unauthorized requests separately from missing or invalid token tests.
  3. Test audience mismatch, identity propagation and cross-service authorization under least privilege.
  4. Test URL, body, header and storage-prefix tenant tampering in every export release.

Explanation

Correct Answer

A:

Test key rotation and decryption authorization with versions and denied identity fixtures. This safeguards against a recurring cause: The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.

Incorrect Answers

B:

That safeguard addresses another case: An API Gateway route sends every authenticated request to a Lambda with broad IAM permissions, and the handler never checks the user's permitted action. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A multi-tenant data export Lambda assumes an S3 key prefix from the request body and permits tenant A to select tenant B's export prefix. It is not the control for this recurring failure.

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.

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.