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 38

Question 370

A Lambda API accepts an ID token in place of the OAuth access token used for protected API scopes and grants an unintended operation. Which technical dependency most directly explains this behavior?

  1. Encryption at rest is not a transport security control for the application-to-partner connection.
  2. Client-side validation can be bypassed and the output encoding contract does not protect the rendered page.
  3. The application confuses authentication identity claims with the access-token authorization contract.
  4. Certificate lifecycle and deployment artifact lifetimes are incorrectly coupled without monitoring or rotation.

Explanation

Correct Answer

C:

The application confuses authentication identity claims with the access-token authorization contract. The corresponding fix is to enforce the appropriate access token use and verify configured OAuth scopes and resource-level permissions.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection. The dependency here is different.

B:

This diagnosis addresses another AWS case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. The dependency here is different.

D:

This diagnosis addresses another AWS case: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. The dependency here is different.

Question 371

A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. Select TWO complementary measures that correctly repair and validate this failure.

  1. An agent sees only the permitted masked representation, and a request for restricted fields is denied.
  2. Disable TLS certificate validation to prevent outages when the bundled certificate expires.
  3. Enforce application-level role and resource authorization in the handler before performing privileged actions.
  4. Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint.
  5. The connection remains trusted after controlled certificate renewal and rejects an expired certificate.

Explanation

Correct Answers

D:

Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint. The underlying cause is: Certificate lifecycle and deployment artifact lifetimes are incorrectly coupled without monitoring or rotation.

E:

The connection remains trusted after controlled certificate renewal and rejects an expired certificate. This is the observable result required before accepting the correction.

Incorrect Answers

A:

This would validate a different case: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It does not verify the outcome required here.

B:

Disable TLS certificate validation to prevent outages when the bundled certificate expires. That shortcut conflicts with the stated requirement.

C:

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

Question 372

A Lambda API accepts an ID token in place of the OAuth access token used for protected API scopes and grants an unintended operation. Which engineering change best addresses the underlying issue?

  1. Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately.
  2. Grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.
  3. Configure an authorized cross-account key policy and permitted IAM use, including encryption context constraints where appropriate.
  4. Enforce the appropriate access token use and verify configured OAuth scopes and resource-level permissions.

Explanation

Correct Answer

D:

Enforce the appropriate access token use and verify configured OAuth scopes and resource-level permissions. It directly addresses the case cause (The application confuses authentication identity claims with the access-token authorization contract.) and should be verified by: An ID token cannot invoke the protected action and a correctly scoped access token can invoke only its intended operation.

Incorrect Answers

A:

That change addresses an API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers; it would not repair this incident.

B:

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.

C:

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 373

A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. Which engineering change best addresses the underlying issue?

  1. Parse the expected EventBridge detail field after validating source, detail-type and event schema.
  2. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
  3. Follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.
  4. Check the session expiry attribute in application authorization and use TTL only for eventual physical cleanup.

Explanation

Correct Answer

A:

Parse the expected EventBridge detail field after validating source, detail-type and event schema. It directly addresses the case cause (The integration code assumes the wrong documented event-envelope structure for this event source.) and should be verified by: A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.

Incorrect Answers

B:

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

D:

That change addresses a login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags; it would not repair this incident.

Question 374

A CloudFormation update creates a new Lambda alias but a deployment script still targets the old unqualified function ARN in its smoke test. Which technical dependency most directly explains this behavior?

  1. Request acceptance is being confused with completion of the end-to-end event processing contract.
  2. Pipeline dependencies allow release approval before the required test stage reaches a successful terminal state.
  3. The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.
  4. The test invocation does not exercise the exact deployed version and traffic-shift destination.

Explanation

Correct Answer

D:

The test invocation does not exercise the exact deployed version and traffic-shift destination. The corresponding fix is to invoke and verify the new qualified alias and inspect the IaC change set before rollout.

Incorrect Answers

A:

This diagnosis addresses another AWS case: An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. The dependency here is different.

B:

This diagnosis addresses another AWS case: A CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running. The dependency here is different.

C:

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 375

A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. Which technical dependency most directly explains this behavior?

  1. Client-side validation can be bypassed and the output encoding contract does not protect the rendered page.
  2. Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.
  3. The presigning workflow allows a broader operation than the intended user action and permission boundary.
  4. The application confuses authentication identity claims with the access-token authorization contract.

Explanation

Correct Answer

A:

Client-side validation can be bypassed and the output encoding contract does not protect the rendered page. The corresponding fix is to validate inputs server-side and contextually encode user-controlled content in the response template.

Incorrect Answers

B:

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.

C:

This diagnosis addresses another AWS case: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. The dependency here is different.

D:

This diagnosis addresses another AWS case: A Lambda API accepts an ID token in place of the OAuth access token used for protected API scopes and grants an unintended operation. The dependency here is different.

Question 376

An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. Which technical dependency most directly explains this behavior?

  1. Uncertain success and non-idempotent updates allow a repeated request to apply the stock change more than once.
  2. Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.
  3. The integration code assumes the wrong documented event-envelope structure for this event source.
  4. Cold-start initialization performs unnecessary work before the request handler can serve traffic.

Explanation

Correct Answer

A:

Uncertain success and non-idempotent updates allow a repeated request to apply the stock change more than once. The corresponding fix is to use an idempotency record and conditional or transactional update bound to a stable purchase request ID.

Incorrect Answers

B:

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.

C:

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.

D:

This diagnosis addresses another AWS case: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. The dependency here is different.

Question 377

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An API Gateway REST integration returns HTTP 502 while its Lambda invocation logs show a successful handler return with malformed proxy response fields.

  1. Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations.
  2. Test API Gateway proxy response envelopes rather than testing only direct Lambda return values.
  3. Exercise cold startup, cache warming and dependency failure readiness paths in deployment tests.
  4. Include CPU-bound representative benchmarks and cost-per-request in optimization release evidence.

Explanation

Correct Answer

B:

Test API Gateway proxy response envelopes rather than testing only direct Lambda return values. This safeguards against a recurring cause: The Lambda proxy integration response does not satisfy the expected statusCode, headers and body contract.

Incorrect Answers

A:

That safeguard addresses another case: A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. It is not the control for this recurring failure.

Question 378

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published.

  1. Include custom-domain route and certificate checks in post-deploy verification.
  2. Assert test-mode provider credentials and outbound endpoint destinations in the pipeline setup.
  3. Perform clean package builds with dependency locks and deployment-artifact smoke tests before release.
  4. Compare stage configurations in pipeline checks and reject production deployments with test environment identifiers.

Explanation

Correct Answer

A:

Include custom-domain route and certificate checks in post-deploy verification. This safeguards against a recurring cause: The custom domain base-path mapping or stage deployment routing is inconsistent with the intended environment.

Incorrect Answers

B:

That safeguard addresses another case: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production. It is not the control for this recurring failure.

Question 379

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires.

  1. Monitor certificate expiry and rehearse trust-chain updates before production rotation dates.
  2. Run privacy-redaction log fixtures and enforce scoped retention and readers for sensitive services.
  3. Test audience mismatch, identity propagation and cross-service authorization under least privilege.
  4. Maintain token_use, issuer, scope and audience test fixtures for every protected API route.

Explanation

Correct Answer

A:

Monitor certificate expiry and rehearse trust-chain updates before production rotation dates. This safeguards against a recurring cause: Certificate lifecycle and deployment artifact lifetimes are incorrectly coupled without monitoring or rotation.

Incorrect Answers

B:

That safeguard addresses another case: A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records. 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 Lambda API accepts an ID token in place of the OAuth access token used for protected API scopes and grants an unintended operation. It is not the control for this recurring failure.

Question 380

A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. Which engineering change best addresses the underlying issue?

  1. Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics.
  2. Construct the client with the reviewed resource Region and verify resource identifiers and service endpoint configuration.
  3. Configure an SNS subscription filter policy for the approved media event attributes and validate publisher metadata.
  4. Implement a lightweight readiness endpoint that reflects required startup dependencies without exposing secrets.

Explanation

Correct Answer

D:

Implement a lightweight readiness endpoint that reflects required startup dependencies without exposing secrets. It directly addresses the case cause (The health probe measures process existence instead of the application's actual request-readiness prerequisites.) and should be verified by: New tasks receive traffic only after initialization completes and fail readiness when critical dependencies are unavailable.

Incorrect Answers

A:

That change addresses a mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency; it would not repair this incident.

B:

That change addresses a Lambda request makes an SDK call that succeeds in one Region but fails with ResourceNotFound in another because its client uses a default Region; it would not repair this incident.

C:

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.

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.