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 9

Question 80

An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. Select TWO complementary measures that correctly repair and validate this failure.

  1. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.
  2. Use Scan with a larger page size and describe it as an indexed point lookup.
  3. Persist the authorized cart in an appropriately keyed durable store or scoped distributed session service.
  4. A controlled normal transaction is excluded while high-risk events reach only the approved fraud subscription.
  5. Login lookups use a bounded key-based access path and avoid reading unrelated account records.

Explanation

Correct Answers

A:

Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization. The underlying cause is: The read implementation lacks a designed key or index matching the predominant query predicate.

E:

Login lookups use a bounded key-based access path and avoid reading unrelated account records. This is the observable result required before accepting the correction.

Incorrect Answers

B:

Use Scan with a larger page size and describe it as an indexed point lookup. That shortcut conflicts with the stated requirement.

C:

That corrective action is for a different case: A stateless containerized checkout API stores shopping-cart state only in a process dictionary and loses carts when traffic shifts to a new task. It does not resolve this incident.

D:

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

Question 81

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

  1. A controlled invocation opens the intended database connection without exposing its port to the public internet.
  2. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.
  3. Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted.
  4. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.

Explanation

Correct Answer

A:

A controlled invocation opens the intended database connection without exposing its port to the public internet. This verifies the result of validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.

Incorrect Answers

B:

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.

C:

This would verify another situation: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It does not validate the current case.

D:

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.

Question 82

A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Run unlimited parallel requests with no downstream quota or error handling limits.
  2. A single transaction's safe logs can be joined across services without exposing credentials or raw customer data.
  3. Emit structured logs with request and trace identifiers while excluding protected values from logged fields.
  4. Profile call waterfalls and concurrency limits rather than only measuring individual SDK method duration.
  5. Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics.
  6. End-to-end latency decreases under load while all independent required response fields remain correct.

Explanation

Correct Answers

D:

Profile call waterfalls and concurrency limits rather than only measuring individual SDK method duration. This protects against the following risk: The application introduces avoidable serialized dependency time in an otherwise independent read path.

E:

Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics. The underlying cause is: The application introduces avoidable serialized dependency time in an otherwise independent read path.

F:

End-to-end latency decreases under load while all independent required response fields remain correct. This is the observable result required before accepting the correction.

Incorrect Answers

A:

Run unlimited parallel requests with no downstream quota or error handling limits. That shortcut conflicts with the stated requirement.

B:

This would validate a different case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. It does not verify the outcome required here.

C:

That corrective action is for a different case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. It does not resolve this incident.

Question 83

A team applies a reviewed fix for this situation: A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. Which observed outcome would most convincingly validate the fix?

  1. A representative event reaches the handler and produces the intended customer operation without missing-field exceptions.
  2. A burst test keeps notification latency within the objective while producer backpressure remains controlled.
  3. Login lookups use a bounded key-based access path and avoid reading unrelated account records.
  4. The workflow succeeds only when the actual remote job completes and routes failed jobs to a reviewable error path.

Explanation

Correct Answer

B:

A burst test keeps notification latency within the objective while producer backpressure remains controlled. This verifies the result of use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.

Incorrect Answers

A:

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.

C:

This would verify another situation: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It does not validate the current case.

D:

This would verify another situation: A Step Functions state sends an API request that starts a third-party batch job and immediately marks the workflow complete before the batch finishes. It does not validate the current case.

Question 84

A team applies a reviewed fix for this situation: An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. 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. An expired session is denied immediately even if its DynamoDB item still exists during background cleanup.
  3. A controlled invocation opens the intended database connection without exposing its port to the public internet.
  4. A request without customerId is rejected at the API boundary while a valid payload reaches the function.

Explanation

Correct Answer

D:

A request without customerId is rejected at the API boundary while a valid payload reaches the function. This verifies the result of define the required request model and enable request validation before the integration proceeds to Lambda.

Incorrect Answers

A:

This would verify another situation: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. It does not validate the current case.

B:

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

C:

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

Question 85

A team applies a reviewed fix for this situation: An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID. Which observed outcome would most convincingly validate the fix?

  1. A controlled poison message is retried or isolated while successful messages are not needlessly reprocessed.
  2. A forced write followed by the approved strong-read path returns the current item for the critical operation.
  3. A forced timeout results in one committed partner operation and a queryable final business status.
  4. Parallel customer groups progress independently while sequential updates for one customer retain their order.

Explanation

Correct Answer

D:

Parallel customer groups progress independently while sequential updates for one customer retain their order. This verifies the result of use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers.

Incorrect Answers

A:

This would verify another situation: One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. It does not validate the current case.

B:

This would verify another situation: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. It does not validate the current case.

C:

This would verify another situation: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. It does not validate the current case.

Question 86

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users.

  1. Maintain token_use, issuer, scope and audience test fixtures for every protected API route.
  2. Test encrypted-object reads and denied neighboring key access in deployment quality gates.
  3. Test stored and reflected script-like payloads through the full API-to-rendering workflow.
  4. Scan task definitions for stored keys and test role trust and denied-resource boundaries.

Explanation

Correct Answer

C:

Test stored and reflected script-like payloads through the full API-to-rendering workflow. This safeguards against a recurring cause: Client-side validation can be bypassed and the output encoding contract does not protect the rendered page.

Incorrect Answers

A:

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.

B:

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

D:

That safeguard addresses another case: An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role. It is not the control for this recurring failure.

Question 87

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Node.js Lambda function allocates large objects at module scope per invocation and memory increases over successive warm requests.

  1. Require correlation ID propagation and structured-log schemas in service integration tests.
  2. Keep metric definitions, dimensions and accepted transaction reconciliation tests under version control.
  3. Track dependency errors and request rates alongside function health instead of checking CPU alone.
  4. Monitor allocation growth, heap snapshots and concurrency-sensitive state in performance tests.

Explanation

Correct Answer

D:

Monitor allocation growth, heap snapshots and concurrency-sensitive state in performance tests. This safeguards against a recurring cause: Mutable long-lived in-process references retain request data and create memory pressure across execution reuse.

Incorrect Answers

A:

That safeguard addresses another case: An order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda. It is not the control for this recurring failure.

B:

That safeguard addresses another case: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. It is not the control for this recurring failure.

Question 88

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda API accepts an ID token in place of the OAuth access token used for protected API scopes and grants an unintended operation.

  1. Maintain token_use, issuer, scope and audience test fixtures for every protected API route.
  2. Scan redacted logs and review cryptographic key permissions in every release that handles sensitive values.
  3. Monitor certificate expiry and rehearse trust-chain updates before production rotation dates.
  4. Apply response redaction and negative secret fixtures to all error paths, including integration failures.

Explanation

Correct Answer

A:

Maintain token_use, issuer, scope and audience test fixtures for every protected API route. This safeguards against a recurring cause: The application confuses authentication identity claims with the access-token authorization contract.

Incorrect Answers

B:

That safeguard addresses another case: A service encrypts every application response with one reusable symmetric key and logs that key during debugging to make support easier. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. It is not the control for this recurring failure.

D:

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.

Question 89

A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. Which technical dependency most directly explains this behavior?

  1. Global secondary index reads provide eventual consistency and cannot supply a strongly consistent read mode.
  2. The chosen partition key collapses unrelated records into the same hash range and defeats shard distribution.
  3. The asynchronous failure path lacks a correctly configured destination or equivalent durable failure capture.
  4. The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.

Explanation

Correct Answer

B:

The chosen partition key collapses unrelated records into the same hash range and defeats shard distribution. The corresponding fix is to partition by a suitable high-cardinality event or entity key while preserving any required per-key ordering semantics.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. The dependency here is different.

C:

This diagnosis addresses another AWS case: An asynchronously invoked Lambda fails on malformed event data, but operators find no durable record of discarded events after retry attempts end. The dependency here is different.

D:

This diagnosis addresses another AWS case: A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low. The dependency here is different.

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.

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.