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 4

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.

Question 31

A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records. Select TWO complementary measures that correctly repair and validate this failure.

  1. Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available.
  2. Log structured allowlisted metadata and redact secrets and personal values before emitting operational events.
  3. The running task calls only permitted AWS actions and continues working after the old static keys are revoked.
  4. Use an appropriately scoped ECS task role with SDK default credential retrieval and remove embedded long-lived keys.
  5. Log every request body permanently because a private log group cannot be breached.

Explanation

Correct Answers

A:

Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available. This is the observable result required before accepting the correction.

B:

Log structured allowlisted metadata and redact secrets and personal values before emitting operational events. The underlying cause is: Debug logging ignores data classification and unnecessarily retains sensitive fields outside their intended processing boundary.

Incorrect Answers

C:

This would validate a different case: An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role. It does not verify the outcome required here.

D:

That corrective action is for a different case: An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role. It does not resolve this incident.

E:

Log every request body permanently because a private log group cannot be breached. That shortcut conflicts with the stated requirement.

Question 32

A developer reads one page of a DynamoDB Query response and a history screen omits newer records when an account exceeds the result limit. Which engineering change best addresses the underlying issue?

  1. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
  2. Follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.
  3. Model a supported callback token or bounded status polling state that waits for a verified terminal batch outcome.
  4. Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.

Explanation

Correct Answer

B:

Follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints. It directly addresses the case cause (A single Query call is assumed to return the complete logical result set despite pagination.) and should be verified by: Multi-page test accounts display all authorized records with no gaps or duplicate page boundaries.

Incorrect Answers

A:

That change addresses a Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown; it would not repair this incident.

C:

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

D:

That change addresses an order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order; it would not repair this incident.

Question 33

A Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections. Select TWO complementary measures that correctly repair and validate this failure.

  1. A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window.
  2. Injected permanent partner rejection marks execution failed with context while transient failures follow bounded retries.
  3. Classify retryable versus permanent errors and route terminal failures to an observable failed state or approved recovery.
  4. Emit structured logs with request and trace identifiers while excluding protected values from logged fields.
  5. Return succeeded from every Catch branch so dashboards remain green.

Explanation

Correct Answers

B:

Injected permanent partner rejection marks execution failed with context while transient failures follow bounded retries. This is the observable result required before accepting the correction.

C:

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

Incorrect Answers

A:

This would validate a different case: A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. It does not verify the outcome required here.

D:

That corrective action is for 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 resolve this incident.

E:

Return succeeded from every Catch branch so dashboards remain green. That shortcut conflicts with the stated requirement.

Question 34

A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Transient throttling recovers within the agreed budget while persistent throttling yields a controlled failure instead of a storm.
  2. Test retry and circuit-breaker behavior against simulated 429 and 5xx partner responses.
  3. A maximum-size media fixture completes without ephemeral storage exhaustion and preserves the expected output.
  4. Apply capped exponential backoff with jitter and supported Retry-After handling and fail predictably after a defined retry budget.
  5. Spawn more parallel requests whenever the partner responds with HTTP 429.
  6. Detect or validate the documented compression encoding and decompress safely before schema validation and parsing.

Explanation

Correct Answers

A:

Transient throttling recovers within the agreed budget while persistent throttling yields a controlled failure instead of a storm. This is the observable result required before accepting the correction.

B:

Test retry and circuit-breaker behavior against simulated 429 and 5xx partner responses. This protects against the following risk: The retry loop ignores rate-limit signals and has no bounded backoff or circuit-breaker policy.

D:

Apply capped exponential backoff with jitter and supported Retry-After handling and fail predictably after a defined retry budget. The underlying cause is: The retry loop ignores rate-limit signals and has no bounded backoff or circuit-breaker policy.

Incorrect Answers

C:

This would validate a different case: A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low. It does not verify the outcome required here.

E:

Spawn more parallel requests whenever the partner responds with HTTP 429. That shortcut conflicts with the stated requirement.

F:

That corrective action is for a different case: A Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text. It does not resolve this incident.

Question 35

A CloudFormation update creates a new Lambda alias but a deployment script still targets the old unqualified function ARN in its smoke test. Which engineering change best addresses the underlying issue?

  1. Make deployment explicitly depend on successful integration and security tests for the same immutable revision.
  2. Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms.
  3. Invoke and verify the new qualified alias and inspect the IaC change set before rollout.
  4. Record immutable published versions and implement a tested rollback through alias or supported deployment controls.

Explanation

Correct Answer

C:

Invoke and verify the new qualified alias and inspect the IaC change set before rollout. It directly addresses the case cause (The test invocation does not exercise the exact deployed version and traffic-shift destination.) and should be verified by: The smoke test identifies the intended alias version and fails if traffic routes to the old handler.

Incorrect Answers

A:

That change addresses a CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running; it would not repair this incident.

B:

That change addresses a CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release; 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 36

One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. Which technical dependency most directly explains this behavior?

  1. The API boundary lacks an applicable request validation step for required payload fields.
  2. The external API acknowledgement has been treated as the completed asynchronous business operation.
  3. Default whole-batch failure handling repeats successfully processed records unless partial failures and idempotency are implemented.
  4. Eventually consistent cache reads are being used where the business operation requires current authoritative state.

Explanation

Correct Answer

C:

Default whole-batch failure handling repeats successfully processed records unless partial failures and idempotency are implemented. The corresponding fix is to enable supported partial batch response behavior and return failed message identifiers while keeping sink effects idempotent.

Incorrect Answers

A:

This diagnosis addresses another AWS case: An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. The dependency here is different.

B:

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

D:

This diagnosis addresses another AWS case: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. The dependency here is different.

Question 37

A scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production. Select TWO complementary measures that correctly repair and validate this failure.

  1. Externalize reviewed stage-specific settings through approved parameters or AWS AppConfig and validate them before launch.
  2. Reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.
  3. Set all environments to the same endpoint to eliminate configuration differences.
  4. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  5. A production fixture calls only the approved production endpoint while staging continues to use isolated resources.

Explanation

Correct Answers

A:

Externalize reviewed stage-specific settings through approved parameters or AWS AppConfig and validate them before launch. The underlying cause is: The build embeds environment configuration that does not match its deployment stage.

E:

A production fixture calls only the approved production endpoint while staging continues to use isolated resources. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. It does not resolve this incident.

C:

Set all environments to the same endpoint to eliminate configuration differences. That shortcut conflicts with the stated requirement.

D:

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 38

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. Which engineering change best addresses the underlying issue?

  1. Configure an SNS subscription filter policy for the approved media event attributes and validate publisher metadata.
  2. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.
  3. Emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination.
  4. Configure the actual application readiness path and verify target-group and container health timing under the release.

Explanation

Correct Answer

C:

Emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination. It directly addresses the case cause (Diagnostic log entries are not connected to actionable operational monitoring and delivery notifications.) and should be verified by: A simulated transaction failure triggers a delivered actionable alert and links back to protected diagnostic context.

Incorrect Answers

A:

That change addresses an SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates; it would not repair this incident.

B:

That change addresses a CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching; it would not repair this incident.

D:

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

Question 39

A team applies a reviewed fix for this situation: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. Which observed outcome would most convincingly validate the fix?

  1. A synthetic slow-tail fixture triggers the defined p99 signal even when average latency remains normal.
  2. A mixed-event fixture invokes the image processor only for permitted media events without dropping relevant updates.
  3. The failed request can be traced to a specific denied principal and narrow corrective policy change.
  4. The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost.

Explanation

Correct Answer

A:

A synthetic slow-tail fixture triggers the defined p99 signal even when average latency remains normal. This verifies the result of publish suitable latency distributions and p95/p99 metrics with errors and traffic context.

Incorrect Answers

B:

This would verify another situation: An SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates. 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.

D:

This would verify another situation: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. It does not validate the current case.

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.

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.