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 40

Question 390

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. 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. Detect or validate the documented compression encoding and decompress safely before schema validation and parsing.
  3. Use supported partial batch response or bisect handling where applicable and idempotent downstream writes.
  4. Publish the intended message attributes and configure a subscription filter policy for the fraud alert category.

Explanation

Correct Answer

D:

Publish the intended message attributes and configure a subscription filter policy for the fraud alert category. It directly addresses the case cause (The subscription has no effective message-attribute filtering contract and routes all eligible published messages.) and should be verified by: A controlled normal transaction is excluded while high-risk events reach only the approved fraud subscription.

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.

B:

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.

Question 391

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers.

  1. Test key rotation and decryption authorization with versions and denied identity fixtures.
  2. Apply response redaction and negative secret fixtures to all error paths, including integration failures.
  3. Add cross-tenant negative tests for list, read, update and delete methods, including cached responses.
  4. Test presigned URL method misuse and credential scope whenever link-generation code changes.

Explanation

Correct Answer

B:

Apply response redaction and negative secret fixtures to all error paths, including integration failures. This safeguards against a recurring cause: Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.

Incorrect Answers

A:

That safeguard addresses another case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. 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: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It is not the control for this recurring failure.

Question 392

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection.

  1. Test signing-key rotation and negative JWT fixtures in authentication middleware changes.
  2. Test the authorizer's cache policy scope and denied-method fixtures with realistic identities.
  3. Review role trust policies and action/resource boundaries in Step Functions deployment tests.
  4. Test certificate failures and transport enforcement as separate security scenarios from storage encryption.

Explanation

Correct Answer

D:

Test certificate failures and transport enforcement as separate security scenarios from storage encryption. This safeguards against a recurring cause: Encryption at rest is not a transport security control for the application-to-partner connection.

Incorrect Answers

A:

That safeguard addresses another case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It is not the control for this recurring failure.

B:

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: A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. It is not the control for this recurring failure.

Question 393

An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. A rollback restores the identical image digest and reproduces the previous known-good application behavior.
  2. Deploy pinned image digests or immutable release tags and record the exact reviewed artifact in the service revision.
  3. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  4. Inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls.
  5. Audit image digest provenance and reject mutable-only release identifiers in production pipelines.
  6. Pull latest on every restart and call that a deterministic rollback.

Explanation

Correct Answers

A:

A rollback restores the identical image digest and reproduces the previous known-good application behavior. This is the observable result required before accepting the correction.

B:

Deploy pinned image digests or immutable release tags and record the exact reviewed artifact in the service revision. The underlying cause is: A mutable image tag is being treated as an immutable release artifact identity.

E:

Audit image digest provenance and reject mutable-only release identifiers in production pipelines. This protects against the following risk: A mutable image tag is being treated as an immutable release artifact identity.

Incorrect Answers

C:

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.

D:

That corrective action is for a different case: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. It does not resolve this incident.

F:

Pull latest on every restart and call that a deterministic rollback. That shortcut conflicts with the stated requirement.

Question 394

A team applies a reviewed fix for this situation: 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. Which observed outcome would most convincingly validate the fix?

  1. An approved encrypted object is readable while decrypting another customer's objects remains denied.
  2. Cross-tenant prefix probes fail while an authorized tenant can export only its own records.
  3. The approved GET succeeds while unauthorized writes and access to unrelated object keys fail.
  4. The running task calls only permitted AWS actions and continues working after the old static keys are revoked.

Explanation

Correct Answer

B:

Cross-tenant prefix probes fail while an authorized tenant can export only its own records. This verifies the result of bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.

Incorrect Answers

A:

This would verify another situation: An S3 application uses SSE-KMS but a Lambda download fails because its role can call GetObject but cannot decrypt with the customer-managed key. It does not validate the current case.

C:

This would verify another situation: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It does not validate the current case.

D:

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

Question 395

A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Require human review and version tags for AI-generated deployment test changes.
  2. The obsolete test assertion fails review while the approved request and response contract passes.
  3. Use clean reproducible builds with explicit artifact paths and record source revision and resulting digest.
  4. Use AI-generated assertion text as an authoritative replacement for the published API contract.
  5. The intended stack updates without deleting another team's approved test resources.
  6. Review generated assertions against versioned API requirements and run current contract and regression fixtures.

Explanation

Correct Answers

A:

Require human review and version tags for AI-generated deployment test changes. This protects against the following risk: Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.

B:

The obsolete test assertion fails review while the approved request and response contract passes. This is the observable result required before accepting the correction.

F:

Review generated assertions against versioned API requirements and run current contract and regression fixtures. The underlying cause is: Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.

Incorrect Answers

C:

That corrective action is for a different case: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. It does not resolve this incident.

D:

Use AI-generated assertion text as an authoritative replacement for the published API contract. That shortcut conflicts with the stated requirement.

E:

This would validate a different case: 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 does not verify the outcome required here.

Question 396

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status.

  1. Test certificate failures and transport enforcement as separate security scenarios from storage encryption.
  2. Test signing-key rotation and negative JWT fixtures in authentication middleware changes.
  3. Review outbound schemas and test synthetic secret leakage on all third-party event destinations.
  4. Review role trust policies and action/resource boundaries in Step Functions deployment tests.

Explanation

Correct Answer

C:

Review outbound schemas and test synthetic secret leakage on all third-party event destinations. This safeguards against a recurring cause: The analytics integration crosses the trust boundary with unnecessary authentication and personal data.

Incorrect Answers

A:

That safeguard addresses another case: A developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. It is not the control for this recurring failure.

Question 397

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit.

  1. Run inventory tests beyond the service page size and store resumable progress for interrupted scans.
  2. Exercise asynchronous retry exhaustion and destination permissions in a dedicated failure-path test.
  3. Test replay at shard boundaries and monitor iterator age and batch failure metrics together.
  4. Include paginated results and stable cursor handling in account-history regression fixtures.

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

That safeguard addresses another case: An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. It is not the control for this recurring failure.

D:

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

Question 398

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs.

  1. Rehearse traffic shifting and rollback alarms with representative failure conditions before production deployment.
  2. Require clean-build checks and artifact provenance during release promotion.
  3. Assert test-mode provider credentials and outbound endpoint destinations in the pipeline setup.
  4. Compare build attestations and digests at promotion and rollback gates.

Explanation

Correct Answer

C:

Assert test-mode provider credentials and outbound endpoint destinations in the pipeline setup. This safeguards against a recurring cause: The test crosses an external billing boundary without using a controlled sandbox or mock dependency.

Incorrect Answers

A:

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

B:

That safeguard addresses another case: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. It is not the control for this recurring failure.

D:

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

Question 399

A team applies a reviewed fix for this situation: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. Which observed outcome would most convincingly validate the fix?

  1. The deployed target accepts the real envelope and rejects malformed events with controlled errors.
  2. A successful test creates the intended downstream state while a poison message routes through the defined failure path.
  3. The artifact's version marker and hash correspond exactly to the source commit that triggered the pipeline.
  4. A deliberately incorrect response causes the deployment test to fail before production promotion.

Explanation

Correct Answer

C:

The artifact's version marker and hash correspond exactly to the source commit that triggered the pipeline. This verifies the result of use clean reproducible builds with explicit artifact paths and record source revision and resulting digest.

Incorrect Answers

A:

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

B:

This would verify another situation: An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. It does not validate the current case.

D:

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

Question 400

An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization. Which engineering change best addresses the underlying issue?

  1. Update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions.
  2. Follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.
  3. Configure an authorized on-failure destination and capture the event context without leaking sensitive payload fields.
  4. Trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement.

Explanation

Correct Answer

A:

Update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions. It directly addresses the case cause (Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.) and should be verified by: A synthetic event with the approved envelope matches and reaches the authorized target exactly as intended.

Incorrect Answers

B:

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

C:

That change addresses an asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end; it would not repair this incident.

D:

That change addresses a Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization; 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.