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 22

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.

Question 211

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal.

  1. Apply response redaction and negative secret fixtures to all error paths, including integration failures.
  2. Test key rotation and decryption authorization with versions and denied identity fixtures.
  3. Test source/target key grants and expected encryption context after cross-account data-flow changes.
  4. Review role trust policies and action/resource boundaries in Step Functions deployment tests.

Explanation

Correct Answer

D:

Review role trust policies and action/resource boundaries in Step Functions deployment tests. This safeguards against a recurring cause: The execution role trust relationship does not permit the service running the state machine to assume it.

Incorrect Answers

A:

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.

B:

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.

C:

That safeguard addresses another case: An application decrypts data with a customer-managed KMS key in the source AWS account but fails after moving the encrypted data to a second account. It is not the control for this recurring failure.

Question 212

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A browser uploads media using a presigned S3 URL after its short expiry, causing intermittent HTTP 403 responses during slow mobile sessions.

  1. Test business expiry behavior separately from eventual storage deletion and TTL metrics.
  2. Track initialization duration and dependency size in pre-release Lambda performance tests.
  3. Test clock skew, upload duration, retry expiry and key scope in the browser-to-S3 workflow.
  4. Include paginated results and stable cursor handling in account-history regression fixtures.

Explanation

Correct Answer

C:

Test clock skew, upload duration, retry expiry and key scope in the browser-to-S3 workflow. This safeguards against a recurring cause: The presigned request is no longer valid at transfer time and cannot be extended by a client-side retry alone.

Incorrect Answers

A:

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

B:

That safeguard addresses another case: A Lambda API endpoint has high first-request latency after deployments because a large package loads heavy optional libraries during initialization. It is not the control for this recurring failure.

D:

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

Question 213

A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. Which engineering change best addresses the underlying issue?

  1. Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns.
  2. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
  3. Partition by a suitable high-cardinality event or entity key while preserving any required per-key ordering semantics.
  4. Right-size Lambda ephemeral storage or stream and clean intermediate content in bounded chunks.

Explanation

Correct Answer

C:

Partition by a suitable high-cardinality event or entity key while preserving any required per-key ordering semantics. It directly addresses the case cause (The chosen partition key collapses unrelated records into the same hash range and defeats shard distribution.) and should be verified by: Load testing distributes writes across shards and maintains required ordering within each chosen entity key.

Incorrect Answers

A:

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.

B:

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.

D:

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.

Question 214

A team applies a reviewed fix for this situation: An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. Which observed outcome would most convincingly validate the fix?

  1. Captured partner requests contain only approved analytics attributes and no reusable authentication tokens.
  2. Clients receive actionable codes without tokens, and authorized operators can trace the error securely.
  3. Requests for another tenant's order return denial even when the caller holds a valid session token.
  4. Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available.

Explanation

Correct Answer

C:

Requests for another tenant's order return denial even when the caller holds a valid session token. This verifies the result of derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup.

Incorrect Answers

A:

This would verify another situation: A microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status. It does not validate the current case.

B:

This would verify another situation: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. It does not validate the current case.

D:

This would verify another situation: A Lambda handler prints complete inbound API payloads to CloudWatch Logs, exposing personal addresses and session tokens in troubleshooting records. It does not validate the current case.

Question 215

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

  1. Test unknown-success network failures with concurrent requests and verify durable request deduplication.
  2. Integration-test callback delays, lost tokens, job failures and workflow timeouts independently of request success.
  3. Test replay at shard boundaries and monitor iterator age and batch failure metrics together.
  4. Pin tested layer ARNs and run build checks for each supported runtime and architecture combination.

Explanation

Correct Answer

B:

Integration-test callback delays, lost tokens, job failures and workflow timeouts independently of request success. This safeguards against a recurring cause: The external API acknowledgement has been treated as the completed asynchronous business operation.

Incorrect Answers

A:

That safeguard addresses another case: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A Lambda stream consumer processes an exceptionally large Kinesis batch and repeats previously successful records after one record triggers a runtime exception. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Lambda function imports a shared layer that was built for an incompatible runtime and fails before the handler starts. It is not the control for this recurring failure.

Question 216

A team applies a reviewed fix for this situation: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. Which observed outcome would most convincingly validate the fix?

  1. The same user can GET the approved record but cannot DELETE a different record through the authorization cache.
  2. An unintended service cannot replay the caller token against a different protected backend.
  3. No key material appears in log fixtures and only authorized principals decrypt sample protected responses.
  4. A controlled markup payload displays as inert text while legitimate comments remain readable.

Explanation

Correct Answer

D:

A controlled markup payload displays as inert text while legitimate comments remain readable. This verifies the result of validate inputs server-side and contextually encode user-controlled content in the response template.

Incorrect Answers

A:

This would verify another situation: An API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource. It does not validate the current case.

B:

This would verify another situation: A service-to-service request forwards an unvalidated user token as if it were a trusted workload identity across multiple microservices. It does not validate the current case.

C:

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.

Question 217

A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls.
  2. The connection remains trusted after controlled certificate renewal and rejects an expired certificate.
  3. Accept any token whose payload contains a plausible user ID.
  4. A valid intended token is accepted while tampered, expired and wrong-user-pool tokens are rejected.
  5. Test signing-key rotation and negative JWT fixtures in authentication middleware changes.
  6. Validate the signature with the expected Cognito JWKS and check issuer, intended client, token use, expiry and scopes.

Explanation

Correct Answers

D:

A valid intended token is accepted while tampered, expired and wrong-user-pool tokens are rejected. This is the observable result required before accepting the correction.

E:

Test signing-key rotation and negative JWT fixtures in authentication middleware changes. This protects against the following risk: Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.

F:

Validate the signature with the expected Cognito JWKS and check issuer, intended client, token use, expiry and scopes. The underlying cause is: Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.

Incorrect Answers

A:

That corrective action is for a different case: A developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization. It does not resolve this incident.

B:

This would validate a different case: A service pins a private certificate file inside a Lambda deployment package and does not redeploy when the certificate expires. It does not verify the outcome required here.

C:

Accept any token whose payload contains a plausible user ID. That shortcut conflicts with the stated requirement.

Question 218

A Lambda request makes an SDK call that succeeds in one Region but fails with ResourceNotFound in another because its client uses a default Region. Select TWO complementary measures that correctly repair and validate this failure.

  1. Construct the client with the reviewed resource Region and verify resource identifiers and service endpoint configuration.
  2. The same fixture targets the correct regional resource and receives the expected authorized response.
  3. Retry ResourceNotFound with increasing timeout without checking client Region.
  4. Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics.
  5. The chosen configuration meets latency requirements and processes the identical document output without unacceptable extra cost.

Explanation

Correct Answers

A:

Construct the client with the reviewed resource Region and verify resource identifiers and service endpoint configuration. The underlying cause is: Service client configuration references a different Region from the intended resource and deployment context.

B:

The same fixture targets the correct regional resource and receives the expected authorized response. This is the observable result required before accepting the correction.

Incorrect Answers

C:

Retry ResourceNotFound with increasing timeout without checking client Region. That shortcut conflicts with the stated requirement.

D:

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

E:

This would validate a different case: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. It does not verify the outcome required here.

Question 219

An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. Which engineering change best addresses the underlying issue?

  1. Correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions.
  2. Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately.
  3. Review the caller IAM policy together with an SNS topic policy granting only the intended cross-account principal.
  4. Grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.

Explanation

Correct Answer

B:

Return consistent sanitized error codes and correlation IDs while preserving protected internal diagnostics separately. It directly addresses the case cause (Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.) and should be verified by: Clients receive actionable codes without tokens, and authorized operators can trace the error securely.

Incorrect Answers

A:

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 function cannot publish to an SNS topic in another account although the execution role allows sns:Publish; it would not repair this incident.

D:

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

Question 220

An order API retries its SQS SendMessage call after a client timeout and downstream workers create duplicate shipment records for the same order. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence.
  2. Use a suitably keyed base-table or local secondary index strongly consistent read path when strict consistency is required.
  3. Exercise lost-acknowledgement retries and reconcile side effects by the business event identifier.
  4. Numeric range queries return the expected product set and the active alias points to the validated index.
  5. Assume a successful HTTP response means the operation cannot ever be repeated.
  6. Replaying the same order event produces a single shipment while a different order still processes normally.

Explanation

Correct Answers

A:

Attach a stable order event identifier and make the shipment side effect idempotent through conditional persistence. The underlying cause is: An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.

C:

Exercise lost-acknowledgement retries and reconcile side effects by the business event identifier. This protects against the following risk: An uncertain acknowledgement and at-least-once delivery are being mistaken for a guarantee of unique business processing.

F:

Replaying the same order event produces a single shipment while a different order still processes normally. This is the observable result required before accepting the correction.

Incorrect Answers

B:

That corrective action is for a different case: A DynamoDB application requires immediate read-after-write consistency but queries a global secondary index and occasionally reads an older version. It does not resolve this incident.

D:

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.

E:

Assume a successful HTTP response means the operation cannot ever be repeated. That shortcut conflicts with the stated requirement.

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.