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 27

Question 260

A team applies a reviewed fix for this situation: A CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors. Which observed outcome would most convincingly validate the fix?

  1. A mixed-event fixture invokes the image processor only for permitted media events without dropping relevant updates.
  2. A controlled rejected purchase increments invocation metrics but not successful purchase counts.
  3. A peak-load fixture completes with accepted latency and no unexplained DynamoDB throttling.
  4. Injected permanent partner rejection marks execution failed with context while transient failures follow bounded retries.

Explanation

Correct Answer

B:

A controlled rejected purchase increments invocation metrics but not successful purchase counts. This verifies the result of publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments.

Incorrect Answers

A:

This would verify another situation: An SNS topic fans out all order events to an expensive image-processing subscriber even though that subscriber needs only product-media updates. It does not validate the current case.

C:

This would verify another situation: 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 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 261

An application embeds its payment gateway token directly in a Lambda environment variable managed in plain text by several developers. Which engineering change best addresses the underlying issue?

  1. Validate the signature with the expected Cognito JWKS and check issuer, intended client, token use, expiry and scopes.
  2. Correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions.
  3. Check attachment ownership and request context before issuing a narrowly scoped, expiring presigned URL.
  4. Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior.

Explanation

Correct Answer

D:

Move the token into a scoped secret-management service and retrieve it through approved runtime authorization with rotation behavior. It directly addresses the case cause (The secret is distributed through configuration access without a controlled secret lifecycle or minimum necessary permissions.) and should be verified by: A controlled token rotation succeeds and unauthorized developers cannot read the production secret.

Incorrect Answers

A:

That change addresses a web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry; it would not repair this incident.

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 an S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing; it would not repair this incident.

Question 262

A team applies a reviewed fix for this situation: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. Which observed outcome would most convincingly validate the fix?

  1. Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted.
  2. An expired URL is rejected and an authorized fresh URL completes an upload to the intended key.
  3. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  4. A controlled invocation opens the intended database connection without exposing its port to the public internet.

Explanation

Correct Answer

A:

Repeated delivery of one purchase changes inventory once and independent purchases remain correctly counted. This verifies the result of use an idempotency record and conditional or transactional update bound to a stable purchase request ID.

Incorrect Answers

B:

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.

C:

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.

D:

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 263

A team applies a reviewed fix for this situation: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. Which observed outcome would most convincingly validate the fix?

  1. Clients receive actionable codes without tokens, and authorized operators can trace the error securely.
  2. An authorized client can decrypt ciphertext while repository readers cannot recover the plaintext key.
  3. A low-privilege user cannot trigger the administrative action while an authorized user receives the expected result.
  4. The connection remains trusted after controlled certificate renewal and rejects an expired certificate.

Explanation

Correct Answer

A:

Clients receive actionable codes without tokens, and authorized operators can trace the error securely. This verifies the result of return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately.

Incorrect Answers

B:

This would verify another situation: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. It does not validate the current case.

C:

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

D:

This would verify another situation: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. It does not validate the current case.

Question 264

A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Force-delete all dependent resources to make the next test stack deploy faster.
  2. Review actual memory usage and publish a task-definition revision with appropriate supported CPU and memory settings.
  3. The deployed package hash matches the artifact tested in CI and dependency behavior remains stable.
  4. The intended stack updates without deleting another team's approved test resources.
  5. Validate change sets and stage scoping in shared-environment deployment reviews.
  6. Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template.

Explanation

Correct Answers

D:

The intended stack updates without deleting another team's approved test resources. This is the observable result required before accepting the correction.

E:

Validate change sets and stage scoping in shared-environment deployment reviews. This protects against the following risk: The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.

F:

Use isolated stage stacks or resource names and inspect deployment changes before applying the updated template. The underlying cause is: The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.

Incorrect Answers

A:

Force-delete all dependent resources to make the next test stack deploy faster. That shortcut conflicts with the stated requirement.

B:

That corrective action is for a different case: A developer increases an ECS application's memory needs but the deployment task definition still uses the old hard memory limit and the new task is killed. It does not resolve this incident.

C:

This would validate a different case: A Lambda handler deployment is approved from a green build, but the packaged source contains an unexpected dependency version introduced by a branch merge. It does not verify the outcome required here.

Question 265

An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. Which technical dependency most directly explains this behavior?

  1. Valid authentication is not a substitute for object-level tenancy and resource authorization in the service.
  2. Debug logging ignores data classification and unnecessarily retains sensitive fields outside their intended processing boundary.
  3. The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.
  4. Tenant isolation is enforced from caller-controlled text instead of a trusted authorization context.

Explanation

Correct Answer

A:

Valid authentication is not a substitute for object-level tenancy and resource authorization in the service. The corresponding fix is to derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup.

Incorrect Answers

B:

This diagnosis addresses another AWS case: A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records. The dependency here is different.

C:

This diagnosis addresses another AWS case: A DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository. The dependency here is different.

D:

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

Question 266

A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. Which engineering change best addresses the underlying issue?

  1. Bind the export prefix to an authenticated tenant identity and verify resource ownership before generating output.
  2. Use validated workload credentials or a supported token-exchange model with explicit audience and authorization boundaries.
  3. Return an allowlisted projection with approved masking and enforce least-privilege access for support roles.
  4. Require authenticated TLS transport and approved endpoint identity validation for the outbound request.

Explanation

Correct Answer

B:

Use validated workload credentials or a supported token-exchange model with explicit audience and authorization boundaries. It directly addresses the case cause (The downstream service lacks a clear issuer, audience and delegation contract for the token it receives.) and should be verified by: An unintended service cannot replay the caller token against a different protected backend.

Incorrect Answers

A:

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

C:

That change addresses a support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code; it would not repair this incident.

D:

That change addresses a developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection; it would not repair this incident.

Question 267

A CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release. Which technical dependency most directly explains this behavior?

  1. The test invocation does not exercise the exact deployed version and traffic-shift destination.
  2. The test crosses an external billing boundary without using a controlled sandbox or mock dependency.
  3. The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.
  4. The deployment has no staged exposure or effective rollback trigger for the new code.

Explanation

Correct Answer

D:

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

Incorrect Answers

A:

This diagnosis addresses another AWS case: A CloudFormation update creates a new Lambda alias but a deployment script still targets the old unqualified function ARN in its smoke test. The dependency here is different.

B:

This diagnosis addresses another AWS case: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. The dependency here is different.

C:

This diagnosis addresses another AWS case: A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need. The dependency here is different.

Question 268

A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. Which engineering change best addresses the underlying issue?

  1. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  2. Issue a fresh scoped presigned URL before retrying and set an expiration policy appropriate to the upload flow.
  3. Trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement.
  4. Define the required request model and enable request validation before the integration proceeds to Lambda.

Explanation

Correct Answer

C:

Trim unused dependencies and initialization work and measure whether provisioned concurrency is justified for the latency requirement. It directly addresses the case cause (Cold-start initialization performs unnecessary work before the request handler can serve traffic.) and should be verified by: Cold and warm invocation latency meet the service objective with the same correct business response.

Incorrect Answers

A:

That change addresses a DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version; it would not repair this incident.

B:

That change addresses a browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions; it would not repair this incident.

D:

That change addresses an API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them; it would not repair this incident.

Question 269

A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. Which technical dependency most directly explains this behavior?

  1. A mutable image tag is being treated as an immutable release artifact identity.
  2. The deployment has no staged exposure or effective rollback trigger for the new code.
  3. The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.
  4. Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.

Explanation

Correct Answer

D:

Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior. The corresponding fix is to review generated assertions against versioned API requirements and run current contract and regression fixtures.

Incorrect Answers

A:

This diagnosis addresses another AWS case: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. The dependency here is different.

B:

This diagnosis addresses another AWS case: A CodeDeploy Lambda rollout shifts all traffic to a new version at once and customers encounter failures before an alarm can stop the release. The dependency here is different.

C:

This diagnosis addresses another AWS case: A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need. The dependency here is different.

Question 270

An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization. Which technical dependency most directly explains this behavior?

  1. The read implementation lacks a designed key or index matching the predominant query predicate.
  2. The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.
  3. The external side effect outlives the handler deadline and the application does not track idempotent completion.
  4. Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.

Explanation

Correct Answer

D:

Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule. The corresponding fix is to update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions.

Incorrect Answers

A:

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.

B:

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.

C:

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.

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.