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 1

Question 1

An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. Which engineering change best addresses the underlying issue?

  1. Derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup.
  2. Build an allowlisted sanitized event schema that excludes bearer credentials and unrelated personal fields.
  3. Bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.
  4. Grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.

Explanation

Correct Answer

A:

Derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup. It directly addresses the case cause (Valid authentication is not a substitute for object-level tenancy and resource authorization in the service.) and should be verified by: Requests for another tenant's order return denial even when the caller holds a valid session token.

Incorrect Answers

B:

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.

C:

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

Question 2

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

  1. The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.
  2. Tenant isolation is enforced from caller-controlled text instead of a trusted authorization context.
  3. Valid authentication is not a substitute for object-level tenancy and resource authorization in the service.
  4. Static credentials bypass role-based rotation and may override the intended scoped task role credential chain.

Explanation

Correct Answer

B:

Tenant isolation is enforced from caller-controlled text instead of a trusted authorization context. The corresponding fix is to bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.

Incorrect Answers

A:

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

C:

This diagnosis addresses another AWS case: An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. The dependency here is different.

D:

This diagnosis addresses another AWS case: An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role. The dependency here is different.

Question 3

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

  1. A controlled normal transaction is excluded while high-risk events reach only the approved fraud subscription.
  2. Multi-page test accounts display all authorized records with no gaps or duplicate page boundaries.
  3. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  4. A malformed event is isolated and unaffected records complete without duplicated observable updates.

Explanation

Correct Answer

B:

Multi-page test accounts display all authorized records with no gaps or duplicate page boundaries. This verifies the result of follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.

Incorrect Answers

A:

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

C:

This would verify another situation: A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. It does not validate the current case.

D:

This would verify another situation: A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. It does not validate the current case.

Question 4

A team applies a reviewed fix for this situation: A CI workflow publishes Docker images under one mutable tag and the ECS service pulls a different image during a multi-AZ scale-out. Which observed outcome would most convincingly validate the fix?

  1. A rollback restores the identical image digest and reproduces the previous known-good application behavior.
  2. A measured load test completes without out-of-memory termination while resource consumption stays within budget.
  3. New and existing tasks in the deployment resolve to the same intended container image digest.
  4. The deployed function reads its intended fixture and receives denial on an unrelated table.

Explanation

Correct Answer

C:

New and existing tasks in the deployment resolve to the same intended container image digest. This verifies the result of publish an immutable digest and deploy that exact digest in the reviewed task definition revision.

Incorrect Answers

A:

This would verify another situation: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. It does not validate the current case.

B:

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

D:

This would verify another situation: A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. It does not validate the current case.

Question 5

A team applies a reviewed fix for this situation: A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. Which observed outcome would most convincingly validate the fix?

  1. A controlled request shows an end-to-end trace linking both services and their measured latency.
  2. A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window.
  3. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  4. A mixed-event fixture invokes the image processor only for permitted media events without dropping relevant updates.

Explanation

Correct Answer

A:

A controlled request shows an end-to-end trace linking both services and their measured latency. This verifies the result of use supported trace-context propagation and appropriate downstream instrumentation and permissions.

Incorrect Answers

B:

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

C:

This would verify another situation: A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. It does not validate the current case.

D:

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.

Question 6

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

  1. Apply response redaction and negative secret fixtures to all error paths, including integration failures.
  2. Test source/target key grants and expected encryption context after cross-account data-flow changes.
  3. Test signing-key rotation and negative JWT fixtures in authentication middleware changes.
  4. Maintain role-specific response-shape and sensitive-data redaction regression fixtures.

Explanation

Correct Answer

B:

Test source/target key grants and expected encryption context after cross-account data-flow changes. This safeguards against a recurring cause: The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.

Incorrect Answers

A:

That safeguard addresses another case: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. It is not the control for this recurring failure.

C:

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 support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It is not the control for this recurring failure.

Question 7

A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. Select TWO complementary measures that correctly repair and validate this failure.

  1. The deployed function reads its intended fixture and receives denial on an unrelated table.
  2. A clean dry-run shows only authorized resource changes and the live table remains present.
  3. Grant administrator privileges in production to avoid needing an integration test.
  4. Add a constrained integration test with the actual execution-role permissions and approved test table.
  5. Invoke and verify the new qualified alias and inspect the IaC change set before rollout.

Explanation

Correct Answers

A:

The deployed function reads its intended fixture and receives denial on an unrelated table. This is the observable result required before accepting the correction.

D:

Add a constrained integration test with the actual execution-role permissions and approved test table. The underlying cause is: Mocked logic tests do not validate the deployed role's real service permissions and resource identity.

Incorrect Answers

B:

This would validate a different case: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. It does not verify the outcome required here.

C:

Grant administrator privileges in production to avoid needing an integration test. That shortcut conflicts with the stated requirement.

E:

That corrective action is for a different case: A CloudFormation update creates a new Lambda alias but a deployment script still targets the old unqualified function ARN in its smoke test. It does not resolve this incident.

Question 8

A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. Select TWO complementary measures that correctly repair and validate this failure.

  1. Captured partner requests contain only approved analytics attributes and no reusable authentication tokens.
  2. Keep keys out of application logs, use appropriate managed key protection and limit decrypt rights to intended principals.
  3. Encode the key in Base64 and print it in logs as a security measure.
  4. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  5. Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Explanation

Correct Answers

B:

Keep keys out of application logs, use appropriate managed key protection and limit decrypt rights to intended principals. The underlying cause is: A cryptographic secret is exposed through operational telemetry and is not protected by access separation.

D:

No key material appears in log fixtures and only authorized principals decrypt sample protected responses. This is the observable result required before accepting the correction.

Incorrect Answers

A:

This would validate a different case: A microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status. It does not verify the outcome required here.

C:

Encode the key in Base64 and print it in logs as a security measure. That shortcut conflicts with the stated requirement.

E:

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

Question 9

An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. Which technical dependency most directly explains this behavior?

  1. Mutable artifact references allow tasks in one nominal release to resolve to different image content.
  2. Request acceptance is being confused with completion of the end-to-end event processing contract.
  3. Release history and alias version identifiers are not preserved as rollback artifacts.
  4. The published package does not contain the runtime dependency closure expected by the handler.

Explanation

Correct Answer

B:

Request acceptance is being confused with completion of the end-to-end event processing contract. The corresponding fix is to add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A CI workflow publishes Docker images under one mutable tag and the ECS service pulls a different image during a multi-AZ scale-out. The dependency here is different.

C:

This diagnosis addresses another AWS case: A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. The dependency here is different.

D:

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.

Question 10

An S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Clients receive actionable codes without tokens, and authorized operators can trace the error securely.
  2. Check attachment ownership and request context before issuing a narrowly scoped, expiring presigned URL.
  3. Maintain negative ownership fixtures for link generation and test URL expiry and object-key tampering.
  4. Bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.
  5. Sign every key supplied by the client because the URL itself contains a signature.
  6. Authorized users obtain only their documents and attempts to sign another user's object are denied.

Explanation

Correct Answers

B:

Check attachment ownership and request context before issuing a narrowly scoped, expiring presigned URL. The underlying cause is: The signing backend authorizes the raw object key rather than the requesting user's entitlement to that object.

C:

Maintain negative ownership fixtures for link generation and test URL expiry and object-key tampering. This protects against the following risk: The signing backend authorizes the raw object key rather than the requesting user's entitlement to that object.

F:

Authorized users obtain only their documents and attempts to sign another user's object are denied. This is the observable result required before accepting the correction.

Incorrect Answers

A:

This would validate a different case: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. It does not verify the outcome required here.

D:

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

E:

Sign every key supplied by the client because the URL itself contains a signature. 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.