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 10

Question 90

An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. Select TWO complementary measures that correctly repair and validate this failure.

  1. Require authenticated TLS transport and approved endpoint identity validation for the outbound request.
  2. Copy the gateway token into a README so developers can update production faster.
  3. A controlled token rotation succeeds and unauthorized developers cannot read the production secret.
  4. An ID token cannot invoke the protected action and a correctly scoped access token can invoke only its intended operation.
  5. Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Explanation

Correct Answers

C:

A controlled token rotation succeeds and unauthorized developers cannot read the production secret. This is the observable result required before accepting the correction.

E:

Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior. The underlying cause is: The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions.

Incorrect Answers

A:

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

B:

Copy the gateway token into a README so developers can update production faster. That shortcut conflicts with the stated requirement.

D:

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

Question 91

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

  1. A simulated transaction failure triggers a delivered actionable alert and links back to protected diagnostic context.
  2. End-to-end latency decreases under load while all independent required response fields remain correct.
  3. Repeat requests hit the edge cache, origin requests decline and a new asset version displays correctly.
  4. Injected permanent partner rejection marks execution failed with context while transient failures follow bounded retries.

Explanation

Correct Answer

A:

A simulated transaction failure triggers a delivered actionable alert and links back to protected diagnostic context. This verifies the result of emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination.

Incorrect Answers

B:

This would verify another situation: A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. It does not validate the current case.

C:

This would verify another situation: A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. It does not validate the current case.

D:

This would verify another situation: A Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections. It does not validate the current case.

Question 92

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

  1. The retry loop ignores rate-limit signals and has no bounded backoff or circuit-breaker policy.
  2. A single Query call is assumed to return the complete logical result set despite pagination.
  3. Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture.
  4. Correct credentials cannot bypass a missing VPC route, private DNS or restrictive security group path.

Explanation

Correct Answer

B:

A single Query call is assumed to return the complete logical result set despite pagination. The corresponding fix is to follow LastEvaluatedKey and return a safe continuation cursor while preserving query authorization constraints.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access. The dependency here is different.

C:

This diagnosis addresses another AWS case: A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. The dependency here is different.

D:

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

Question 93

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

  1. Use an idempotency record and conditional or transactional update bound to a stable purchase request ID.
  2. Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.
  3. Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.
  4. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Explanation

Correct Answer

B:

Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port. It directly addresses the case cause (Correct credentials cannot bypass a missing VPC route, private DNS or restrictive security group path.) and should be verified by: A controlled invocation opens the intended database connection without exposing its port to the public internet.

Incorrect Answers

A:

That change addresses an order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request; it would not repair this incident.

C:

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.

D:

That change addresses an online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address; it would not repair this incident.

Question 94

A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. Which engineering change best addresses the underlying issue?

  1. Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.
  2. Correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions.
  3. Log structured allowlisted metadata and redact secrets and personal values before emitting operational events.
  4. Enforce the appropriate access token use and verify configured OAuth scopes and resource-level permissions.

Explanation

Correct Answer

A:

Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model. It directly addresses the case cause (The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.) and should be verified by: An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.

Incorrect Answers

B:

That change addresses a Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal; it would not repair this incident.

C:

That change addresses a Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records; it would not repair this incident.

D:

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

Question 95

A team applies a reviewed fix for this situation: An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. Which observed outcome would most convincingly validate the fix?

  1. A controlled token rotation succeeds and unauthorized developers cannot read the production secret.
  2. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  3. The approved GET succeeds while unauthorized writes and access to unrelated object keys fail.
  4. An approved encrypted object is readable while decrypting another customer's objects remains denied.

Explanation

Correct Answer

A:

A controlled token rotation succeeds and unauthorized developers cannot read the production secret. This verifies the result of move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Incorrect Answers

B:

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

Question 96

A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need. Which engineering change best addresses the underlying issue?

  1. Use a supported canary or linear Lambda traffic-shifting configuration with pre/post traffic hooks and alarms.
  2. Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template.
  3. Deploy pinned image digests or immutable release tags and record the exact reviewed artifact in the service revision.
  4. Assert response schema, important business fields, and expected side effects against a controlled fixture.

Explanation

Correct Answer

B:

Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template. It directly addresses the case cause (The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.) and should be verified by: The intended stack updates without deleting another team's approved test resources.

Incorrect Answers

A:

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.

C:

That change addresses an ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version; it would not repair this incident.

D:

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

Question 97

A developer accepts Amazon Q Developer's suggested IAM and SDK code without reviewing it, and a generated call requests permission to unrelated customer data. Which engineering change best addresses the underlying issue?

  1. Review generated changes, replace broad permissions with the minimum actions and resources, and run approved security and behavior tests.
  2. Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.
  3. Use supported partial batch response or bisect handling where applicable and idempotent downstream writes.
  4. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.

Explanation

Correct Answer

A:

Review generated changes, replace broad permissions with the minimum actions and resources, and run approved security and behavior tests. It directly addresses the case cause (Generated source is being treated as trusted rather than code requiring human review and least-privilege validation.) and should be verified by: The resulting application performs its authorized task while tests show access to unrelated customer data is denied.

Incorrect Answers

B:

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.

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.

D:

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.

Question 98

A team applies a reviewed fix for this situation: A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. Which observed outcome would most convincingly validate the fix?

  1. The deployed function reads its intended fixture and receives denial on an unrelated table.
  2. The intended stack updates without deleting another team's approved test resources.
  3. A production fixture calls only the approved production endpoint while staging continues to use isolated resources.
  4. A simulated bad release restores the exact previously verified version with expected response behavior.

Explanation

Correct Answer

D:

A simulated bad release restores the exact previously verified version with expected response behavior. This verifies the result of record immutable published versions and implement a tested rollback through alias or supported deployment controls.

Incorrect Answers

A:

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.

B:

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

C:

This would verify another situation: A scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production. It does not validate the current case.

Question 99

A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. Which technical dependency most directly explains this behavior?

  1. Cold-start initialization performs unnecessary work before the request handler can serve traffic.
  2. The read implementation lacks a designed key or index matching the predominant query predicate.
  3. Eventually consistent cache reads are being used where the business operation requires current authoritative state.
  4. The API boundary lacks an applicable request validation step for required payload fields.

Explanation

Correct Answer

A:

Cold-start initialization performs unnecessary work before the request handler can serve traffic. The corresponding fix is to trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement.

Incorrect Answers

B:

This diagnosis addresses another AWS case: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. The dependency here is different.

C:

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.

D:

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.

Question 100

A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. Select TWO complementary measures that correctly repair and validate this failure.

  1. Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time.
  2. Add event-driven integration fixtures that assert downstream side effects, retries and failure destinations after controlled delivery.
  3. Production requests use only the production table while test-stage data stays isolated.
  4. Copy all stage variables from testing directly into production without inspection.
  5. A request to the public custom domain reaches the intended stage without accessing staging-only operations.

Explanation

Correct Answers

A:

Apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time. The underlying cause is: Environment-specific runtime configuration is not validated against the production deployment boundary.

C:

Production requests use only the production table while test-stage data stays isolated. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: An application emits asynchronous SQS events but tests check only the initial HTTP success response, missing a downstream poison-message failure. It does not resolve this incident.

D:

Copy all stage variables from testing directly into production without inspection. That shortcut conflicts with the stated requirement.

E:

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.

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.