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 3

Question 20

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags.

  1. Version and regression-test SNS filter attributes and subscription policies when events evolve.
  2. Test business expiry behavior separately from eventual storage deletion and TTL metrics.
  3. Pin tested layer ARNs and run build checks for each supported runtime and architecture combination.
  4. Monitor partition-key hot spots and verify distribution during producer release tests.

Explanation

Correct Answer

B:

Test business expiry behavior separately from eventual storage deletion and TTL metrics. This safeguards against a recurring cause: DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation.

Incorrect Answers

A:

That safeguard addresses another case: A publishing service sends an SNS notification to every subscriber even though only the fraud service should receive alerts with eventType equal to high_risk. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. 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 21

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock.

  1. Monitor partition-key hot spots and verify distribution during producer release tests.
  2. Run inventory tests beyond the service page size and store resumable progress for interrupted scans.
  3. Test network connectivity independently from credential validity whenever Lambda VPC configuration changes.
  4. Test cache lag against concurrency and document which reads must bypass caches for correctness.

Explanation

Correct Answer

D:

Test cache lag against concurrency and document which reads must bypass caches for correctness. This safeguards against a recurring cause: Eventually consistent cache reads are being used where the business operation requires current authoritative state.

Incorrect Answers

A:

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.

B:

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

C:

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

Question 22

A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. Which technical dependency most directly explains this behavior?

  1. Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.
  2. Averages conceal tail latency and do not represent the stated high-percentile service objective.
  3. The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.
  4. The investigation lacks identity and authorization context to diagnose which execution role or resource policy denied the call.

Explanation

Correct Answer

D:

The investigation lacks identity and authorization context to diagnose which execution role or resource policy denied the call. The corresponding fix is to correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. The dependency here is different.

B:

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: 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.

Question 23

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. Which technical dependency most directly explains this behavior?

  1. A successful function invocation is incorrectly treated as proof that its domain logic is correct.
  2. The deployment plan has an unreviewed destructive infrastructure change outside the intended application code update.
  3. The handler import path does not match the archive root and Python module structure at runtime.
  4. The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.

Explanation

Correct Answer

A:

A successful function invocation is incorrectly treated as proof that its domain logic is correct. The corresponding fix is to assert response schema, important business fields, and expected side effects against a controlled fixture.

Incorrect Answers

B:

This diagnosis addresses another AWS case: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. The dependency here is different.

C:

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.

D:

This diagnosis addresses another AWS case: An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published. The dependency here is different.

Question 24

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end.

  1. Exercise asynchronous retry exhaustion and destination permissions in a dedicated failure-path test.
  2. Capture required access patterns and query costs before adopting new DynamoDB tables or indexes.
  3. Test cache lag against concurrency and document which reads must bypass caches for correctness.
  4. Test unknown-success network failures with concurrent requests and verify durable request deduplication.

Explanation

Correct Answer

A:

Exercise asynchronous retry exhaustion and destination permissions in a dedicated failure-path test. This safeguards against a recurring cause: The asynchronous failure path lacks a correctly configured destination or equivalent durable failure capture.

Incorrect Answers

B:

That safeguard addresses another case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It is not the control for this recurring failure.

C:

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.

D:

That safeguard addresses another case: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It is not the control for this recurring failure.

Question 25

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. Which technical dependency most directly explains this behavior?

  1. The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.
  2. A cryptographic secret is exposed through operational telemetry and is not protected by access separation.
  3. The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions.
  4. The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.

Explanation

Correct Answer

D:

The Lambda execution role controls AWS service access but does not enforce each end user's business permissions. The corresponding fix is to enforce application-level role and resource authorization in the handler before performing privileged actions.

Incorrect Answers

A:

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.

B:

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.

C:

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.

Question 26

A microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account. Select TWO complementary measures that correctly repair and validate this failure.

  1. Grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.
  2. Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately.
  3. Add AdministratorAccess to the caller while leaving the target trust policy unchanged.
  4. A controlled token rotation succeeds and unauthorized developers cannot read the production secret.
  5. An approved principal assumes the role and a neighboring unintended principal is rejected.

Explanation

Correct Answers

A:

Grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal. The underlying cause is: Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal.

E:

An approved principal assumes the role and a neighboring unintended principal is rejected. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. It does not resolve this incident.

C:

Add AdministratorAccess to the caller while leaving the target trust policy unchanged. That shortcut conflicts with the stated requirement.

D:

This would validate a different case: An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. It does not verify the outcome required here.

Question 27

A team applies a reviewed fix for this situation: A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. Which observed outcome would most convincingly validate the fix?

  1. A controlled rejected purchase increments invocation metrics but not successful purchase counts.
  2. A simulated transaction failure triggers a delivered actionable alert and links back to protected diagnostic context.
  3. The failed request can be traced to a specific denied principal and narrow corrective policy change.
  4. A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window.

Explanation

Correct Answer

D:

A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window. This verifies the result of cache approved nonsecret configuration with expiration and refresh behavior appropriate to staleness requirements.

Incorrect Answers

A:

This would verify another situation: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. It does not validate the current case.

B:

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

C:

This would verify another situation: A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. It does not validate the current case.

Question 28

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low.

  1. Run inventory tests beyond the service page size and store resumable progress for interrupted scans.
  2. Version and regression-test SNS filter attributes and subscription policies when events evolve.
  3. Test cache lag against concurrency and document which reads must bypass caches for correctness.
  4. Include peak temporary-disk checks and cleanup paths in the function's performance test suite.

Explanation

Correct Answer

D:

Include peak temporary-disk checks and cleanup paths in the function's performance test suite. This safeguards against a recurring cause: The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.

Incorrect Answers

A:

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

B:

That safeguard addresses another case: A publishing service sends an SNS notification to every subscriber even though only the fraud service should receive alerts with eventType equal to high_risk. It is not the control for this recurring failure.

C:

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.

Question 29

A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. 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. Correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence.
  4. Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.

Explanation

Correct Answer

C:

Correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence. It directly addresses the case cause (The investigation lacks identity and authorization context to diagnose which execution role or resource policy denied the call.) and should be verified by: The failed request can be traced to a specific denied principal and narrow corrective policy change.

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.

D:

That change addresses a Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing; it would not repair this incident.

Question 30

A team applies a reviewed fix for this situation: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. Which observed outcome would most convincingly validate the fix?

  1. The designated target principal decrypts only approved data while an unrelated account principal cannot use the key.
  2. The connection remains trusted after controlled certificate renewal and rejects an expired certificate.
  3. An unintended service cannot replay the caller token against a different protected backend.
  4. An agent sees only the permitted masked representation, and a request for restricted fields is denied.

Explanation

Correct Answer

D:

An agent sees only the permitted masked representation, and a request for restricted fields is denied. This verifies the result of return an allowlisted projection with approved masking and enforce least-privilege access for support roles.

Incorrect Answers

A:

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

B:

This would verify another situation: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. It does not validate the current case.

C:

This would verify another situation: A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. It does not validate the current case.

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.