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 21

Question 200

A CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Injected failures during initial traffic shift stop promotion and restore the intended prior version.
  2. Rehearse traffic shifting and rollback alarms with representative failure conditions before production deployment.
  3. Deploy pinned image digests or immutable release tags and record the exact reviewed artifact in the service revision.
  4. Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms.
  5. A rollback restores the identical image digest and reproduces the previous known-good application behavior.
  6. Increase the function timeout and continue full rollout after the alarm fires.

Explanation

Correct Answers

A:

Injected failures during initial traffic shift stop promotion and restore the intended prior version. This is the observable result required before accepting the correction.

B:

Rehearse traffic shifting and rollback alarms with representative failure conditions before production deployment. This protects against the following risk: The deployment has no staged exposure or effective rollback trigger for the new code.

D:

Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms. The underlying cause is: The deployment has no staged exposure or effective rollback trigger for the new code.

Incorrect Answers

C:

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

E:

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

F:

Increase the function timeout and continue full rollout after the alarm fires. That shortcut conflicts with the stated requirement.

Question 201

A team applies a reviewed fix for this situation: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. Which observed outcome would most convincingly validate the fix?

  1. The obsolete test assertion fails review while the approved request and response contract passes.
  2. New and existing tasks in the deployment resolve to the same intended container image digest.
  3. The production endpoint returns the reviewed version marker and the staging endpoint remains isolated.
  4. A deliberately incorrect response causes the deployment test to fail before production promotion.

Explanation

Correct Answer

C:

The production endpoint returns the reviewed version marker and the staging endpoint remains isolated. This verifies the result of inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls.

Incorrect Answers

A:

This would verify another situation: A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. It does not validate the current case.

B:

This would verify another 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. 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 202

A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. Which engineering change best addresses the underlying issue?

  1. Create a compatible mapping with an appropriate numeric field and reindex verified documents under a controlled alias cutover.
  2. Enable supported partial batch response behavior and return failed message identifiers while keeping sink effects idempotent.
  3. Parse the expected EventBridge detail field after validating source, detail-type and event schema.
  4. Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.

Explanation

Correct Answer

A:

Create a compatible mapping with an appropriate numeric field and reindex verified documents under a controlled alias cutover. It directly addresses the case cause (The indexed field mapping does not represent the numeric comparison semantics required by the application.) and should be verified by: Numeric range queries return the expected product set and the active alias points to the validated index.

Incorrect Answers

B:

That change addresses one malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout; it would not repair this incident.

C:

That change addresses a Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail; it would not repair this incident.

D:

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

Question 203

A team applies a reviewed fix for this situation: A developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization. Which observed outcome would most convincingly validate the fix?

  1. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  2. A threat-model review shows predictable candidate inputs cannot trivially recover protected identities from public tokens.
  3. Authorized users obtain only their documents and attempts to sign another user's object are denied.
  4. The running task calls only permitted AWS actions and continues working after the old static keys are revoked.

Explanation

Correct Answer

B:

A threat-model review shows predictable candidate inputs cannot trivially recover protected identities from public tokens. This verifies the result of apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls.

Incorrect Answers

A:

This would verify another situation: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It does not validate the current case.

C:

This would verify another situation: An S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing. 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 204

A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. Select TWO complementary measures that correctly repair and validate this failure.

  1. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  2. Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.
  3. A forced write followed by the approved strong-read path returns the current item for the critical operation.
  4. Set ConsistentRead true on a GSI Query and assume the service guarantees it.
  5. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.

Explanation

Correct Answers

A:

Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required. The underlying cause is: Global secondary index reads provide eventual consistency and cannot supply a strongly consistent read mode.

C:

A forced write followed by the approved strong-read path returns the current item for the critical operation. This is the observable result required before accepting the correction.

Incorrect Answers

B:

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

D:

Set ConsistentRead true on a GSI Query and assume the service guarantees it. That shortcut conflicts with the stated requirement.

E:

This would validate a different case: A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. It does not verify the outcome required here.

Question 205

A team applies a reviewed fix for this situation: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. Which observed outcome would most convincingly validate the fix?

  1. Cold and warm invocation latency meet the service objective with the same correct business response.
  2. A controlled normal transaction is excluded while high-risk events reach only the approved fraud subscription.
  3. A request without customerId is rejected at the API boundary while a valid payload reaches the function.
  4. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.

Explanation

Correct Answer

A:

Cold and warm invocation latency meet the service objective with the same correct business response. This verifies the result of trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement.

Incorrect Answers

B:

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: An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. It does not validate the current case.

D:

This would verify another situation: A Lambda target receives an EventBridge envelope but its handler reads customerId at the top level instead of under detail. It does not validate the current case.

Question 206

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

  1. The downstream service lacks a clear issuer, audience and delegation contract for the token it receives.
  2. Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.
  3. Storage-object permission and cryptographic key authorization are separate required checks.
  4. Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.

Explanation

Correct Answer

C:

Storage-object permission and cryptographic key authorization are separate required checks. The corresponding fix is to grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. The dependency here is different.

B:

This diagnosis addresses another AWS case: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. The dependency here is different.

D:

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.

Question 207

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

  1. Test stored and reflected script-like payloads through the full API-to-rendering workflow.
  2. Test encrypted-object reads and denied neighboring key access in deployment quality gates.
  3. Test URL, body, header and storage-prefix tenant tampering in every export release.
  4. Test identity and resource policy intersections for all cross-account integrations.

Explanation

Correct Answer

B:

Test encrypted-object reads and denied neighboring key access in deployment quality gates. This safeguards against a recurring cause: Storage-object permission and cryptographic key authorization are separate required checks.

Incorrect Answers

A:

That safeguard addresses another case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It is not the control for this recurring failure.

C:

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

D:

That safeguard addresses another case: A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. It is not the control for this recurring failure.

Question 208

An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. Select TWO complementary measures that correctly repair and validate this failure.

  1. Define the required request model and enable request validation before the integration proceeds to Lambda.
  2. Numeric range queries return the expected product set and the active alias points to the validated index.
  3. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.
  4. A request without customerId is rejected at the API boundary while a valid payload reaches the function.
  5. Treat any JSON body as valid because the Lambda handler can inspect it later.

Explanation

Correct Answers

A:

Define the required request model and enable request validation before the integration proceeds to Lambda. The underlying cause is: The API boundary lacks an applicable request validation step for required payload fields.

D:

A request without customerId is rejected at the API boundary while a valid payload reaches the function. This is the observable result required before accepting the correction.

Incorrect Answers

B:

This would validate a different case: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. It does not verify the outcome required here.

C:

That corrective action is for a different case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It does not resolve this incident.

E:

Treat any JSON body as valid because the Lambda handler can inspect it later. That shortcut conflicts with the stated requirement.

Question 209

A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions. Which engineering change best addresses the underlying issue?

  1. Right-size Lambda ephemeral storage or stream and clean intermediate content in bounded chunks.
  2. Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns.
  3. Issue a fresh scoped presigned URL before retrying and set an expiration policy appropriate to the upload flow.
  4. Follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.

Explanation

Correct Answer

C:

Issue a fresh scoped presigned URL before retrying and set an expiration policy appropriate to the upload flow. It directly addresses the case cause (The presigned request is no longer valid at transfer time and cannot be extended by a client-side retry alone.) and should be verified by: An expired URL is rejected and an authorized fresh URL completes an upload to the intended key.

Incorrect Answers

A:

That change addresses a Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low; it would not repair this incident.

B:

That change addresses a DynamoDB table partitions all tenant activity by one static calendar-day key and hot writes throttle despite spare overall capacity; it would not repair this incident.

D:

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.

Question 210

A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. Which technical dependency most directly explains this behavior?

  1. A cryptographic secret is exposed through operational telemetry and is not protected by access separation.
  2. The application confuses authentication identity claims with the access-token authorization contract.
  3. The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.
  4. Client-side validation can be bypassed and the output encoding contract does not protect the rendered page.

Explanation

Correct Answer

A:

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

Incorrect Answers

B:

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.

C:

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.

D:

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.

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.