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 32

Question 310

A team applies a reviewed fix for this situation: A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. Which observed outcome would most convincingly validate the fix?

  1. A malformed event is isolated and unaffected records complete without duplicated observable updates.
  2. An expired session is denied immediately even if its DynamoDB item still exists during background cleanup.
  3. A controlled normal transaction is excluded while high-risk events reach only the approved fraud subscription.
  4. An expired URL is rejected and an authorized fresh URL completes an upload to the intended key.

Explanation

Correct Answer

A:

A malformed event is isolated and unaffected records complete without duplicated observable updates. This verifies the result of use supported partial batch response or bisect handling where applicable and idempotent downstream writes.

Incorrect Answers

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

D:

This would verify another situation: A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions. It does not validate the current case.

Question 311

A team applies a reviewed fix for this situation: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. Which observed outcome would most convincingly validate the fix?

  1. The deployed package hash matches the artifact tested in CI and dependency behavior remains stable.
  2. The production endpoint returns the reviewed version marker and the staging endpoint remains isolated.
  3. A clean dry-run shows only authorized resource changes and the live table remains present.
  4. New and existing tasks in the deployment resolve to the same intended container image digest.

Explanation

Correct Answer

A:

The deployed package hash matches the artifact tested in CI and dependency behavior remains stable. This verifies the result of generate and test a provenance-tagged artifact and deploy the same digest after all required checks pass.

Incorrect Answers

B:

This would verify another situation: An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. It does not validate the current case.

C:

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

D:

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.

Question 312

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

  1. Test stored and reflected script-like payloads through the full API-to-rendering workflow.
  2. Test certificate failures and transport enforcement as separate security scenarios from storage encryption.
  3. Exercise authenticated-but-unauthorized requests separately from missing or invalid token tests.
  4. Test key rotation and decryption authorization with versions and denied identity fixtures.

Explanation

Correct Answer

C:

Exercise authenticated-but-unauthorized requests separately from missing or invalid token tests. This safeguards against a recurring cause: The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.

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.

B:

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

D:

That safeguard addresses another case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It is not the control for this recurring failure.

Question 313

An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID. Which technical dependency most directly explains this behavior?

  1. The producer's encoding contract and the consumer's decoding implementation do not match.
  2. The credential lifecycle is coupled to code deployment and risks accidental exposure in artifacts and logs.
  3. Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture.
  4. FIFO ordering serializes messages within one group and the producer has unnecessarily collapsed independent work.

Explanation

Correct Answer

D:

FIFO ordering serializes messages within one group and the producer has unnecessarily collapsed independent work. The corresponding fix is to use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda processor receives records compressed by an upstream service but attempts to parse the raw compressed bytes as UTF-8 JSON text. The dependency here is different.

B:

This diagnosis addresses another AWS case: A Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code. 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.

Question 314

An API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource. Which engineering change best addresses the underlying issue?

  1. Apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls.
  2. Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context.
  3. Build an allowlisted sanitized event schema that excludes bearer credentials and unrelated personal fields.
  4. Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Explanation

Correct Answer

B:

Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context. It directly addresses the case cause (An authorization decision for one method and resource is incorrectly generalized to privileged routes.) and should be verified by: The same user can GET the approved record but cannot DELETE a different record through the authorization cache.

Incorrect Answers

A:

That change addresses a developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization; it would not repair this incident.

C:

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.

D:

That change addresses an application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers; it would not repair this incident.

Question 315

A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. Which technical dependency most directly explains this behavior?

  1. Generated source is being treated as trusted rather than code requiring human review and least-privilege validation.
  2. The presigned request is no longer valid at transfer time and cannot be extended by a client-side retry alone.
  3. The external side effect outlives the handler deadline and the application does not track idempotent completion.
  4. The subscription has no effective message-attribute filtering contract and routes all eligible published messages.

Explanation

Correct Answer

C:

The external side effect outlives the handler deadline and the application does not track idempotent completion. The corresponding fix is to use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.

Incorrect Answers

A:

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

B:

This diagnosis addresses another AWS case: A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions. The dependency here is different.

D:

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

Question 316

A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. Select TWO complementary measures that correctly repair and validate this failure.

  1. Cache personalized account JSON publicly to improve the overall cache hit rate.
  2. Repeat requests hit the edge cache, origin requests decline and a new asset version displays correctly.
  3. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  4. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.
  5. Use supported trace-context propagation and appropriate downstream instrumentation and permissions.

Explanation

Correct Answers

B:

Repeat requests hit the edge cache, origin requests decline and a new asset version displays correctly. This is the observable result required before accepting the correction.

D:

Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries. The underlying cause is: The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.

Incorrect Answers

A:

Cache personalized account JSON publicly to improve the overall cache hit rate. That shortcut conflicts with the stated requirement.

C:

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

E:

That corrective action is for a different case: A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. It does not resolve this incident.

Question 317

A Lambda application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy. Which engineering change best addresses the underlying issue?

  1. Publish suitable latency distributions and p95/p99 metrics with errors and traffic context.
  2. Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits.
  3. Configure an SNS subscription filter policy for the approved media event attributes and validate publisher metadata.
  4. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.

Explanation

Correct Answer

B:

Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits. It directly addresses the case cause (Function compute utilization is not evidence that an external database dependency has sufficient read or write capacity.) and should be verified by: A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.

Incorrect Answers

A:

That change addresses an application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective; 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.

D:

That change addresses a CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching; it would not repair this incident.

Question 318

A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions. Which technical dependency most directly explains this behavior?

  1. The external side effect outlives the handler deadline and the application does not track idempotent completion.
  2. A single Query call is assumed to return the complete logical result set despite pagination.
  3. The presigned request is no longer valid at transfer time and cannot be extended by a client-side retry alone.
  4. The read implementation lacks a designed key or index matching the predominant query predicate.

Explanation

Correct Answer

C:

The presigned request is no longer valid at transfer time and cannot be extended by a client-side retry alone. The corresponding fix is to issue a fresh scoped presigned URL before retrying and set an expiration policy appropriate to the upload flow.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. The dependency here is different.

B:

This diagnosis addresses another AWS case: A developer reads one page of a DynamoDB Query response and a history screen omits newer records when an account exceeds the result limit. The dependency here is different.

D:

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.

Question 319

A login service expects DynamoDB TTL to remove an expired session at the exact expiry timestamp and continues accepting expired records while deletion lags. Which engineering change best addresses the underlying issue?

  1. Check the session expiry attribute in application authorization and use TTL only for eventual physical cleanup.
  2. Persist the authorized cart in an appropriately keyed durable store or scoped distributed session service.
  3. Use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers.
  4. Validate the function's subnet and security groups, database endpoint resolution and permitted inbound database port.

Explanation

Correct Answer

A:

Check the session expiry attribute in application authorization and use TTL only for eventual physical cleanup. It directly addresses the case cause (DynamoDB TTL background deletion is asynchronous and does not enforce immediate application session invalidation.) and should be verified by: An expired session is denied immediately even if its DynamoDB item still exists during background cleanup.

Incorrect Answers

B:

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

C:

That change addresses an SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID; 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 320

A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. Which engineering change best addresses the underlying issue?

  1. Inspect the stack change set, correct the template and enforce appropriate retention or protection policies before execution.
  2. Make deployment explicitly depend on successful integration and security tests for the same immutable revision.
  3. Review generated assertions against versioned API requirements and run current contract and regression fixtures.
  4. Repackage the code so the deployed handler path, modules and ZIP directory root agree.

Explanation

Correct Answer

C:

Review generated assertions against versioned API requirements and run current contract and regression fixtures. It directly addresses the case cause (Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.) and should be verified by: The obsolete test assertion fails review while the approved request and response contract passes.

Incorrect Answers

A:

That change addresses a new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly; it would not repair this incident.

B:

That change addresses a CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running; it would not repair this incident.

D:

That change addresses a Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler; 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.