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 24

Question 230

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour.

  1. Monitor percentile behavior and error budgets under representative workload mixes.
  2. Test API Gateway proxy response envelopes rather than testing only direct Lambda return values.
  3. Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations.
  4. Test each documented error category and inspect execution histories after workflow changes.

Explanation

Correct Answer

C:

Monitor cache hit rate, staleness and downstream load under realistic warm and cold invocations. This safeguards against a recurring cause: Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.

Incorrect Answers

A:

That safeguard addresses another case: An application tracks only average latency and misses a small cohort of timeouts that breach the published p99 API performance objective. It is not the control for this recurring failure.

B:

That safeguard addresses another case: An API Gateway REST integration returns HTTP 502 while its Lambda invocation logs show a successful handler return with malformed proxy response fields. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A Step Functions task sends requests to a third-party endpoint but the workflow catches every error as success, hiding permanent partner rejections. It is not the control for this recurring failure.

Question 231

An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. Select TWO complementary measures that correctly repair and validate this failure.

  1. A request to the public custom domain reaches the intended stage without accessing staging-only operations.
  2. The production endpoint returns the reviewed version marker and the staging endpoint remains isolated.
  3. Reference the reviewed qualified Lambda alias in the integration and verify its permissions and stage deployment.
  4. Inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls.
  5. Rename the endpoint URL without validating the backend integration version.

Explanation

Correct Answers

B:

The production endpoint returns the reviewed version marker and the staging endpoint remains isolated. This is the observable result required before accepting the correction.

D:

Inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls. The underlying cause is: The staging and production integration versions are not aligned with the intended release.

Incorrect Answers

A:

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.

C:

That corrective action is for a different case: A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias. It does not resolve this incident.

E:

Rename the endpoint URL without validating the backend integration version. That shortcut conflicts with the stated requirement.

Question 232

A Lambda image endpoint loads an expensive configuration database record for every invocation even though the record changes only once per hour. Which engineering change best addresses the underlying issue?

  1. Configure the actual application readiness path and verify target-group and container health timing under the release.
  2. Cache approved nonsecret configuration with expiration and refresh behavior appropriate to staleness requirements.
  3. Publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments.
  4. Emit an approved failure metric and configure CloudWatch alarms with a verified SNS or equivalent on-call destination.

Explanation

Correct Answer

B:

Cache approved nonsecret configuration with expiration and refresh behavior appropriate to staleness requirements. It directly addresses the case cause (Repeated external reads perform unnecessary work that a bounded safe cache could eliminate.) and should be verified by: A load fixture makes fewer configuration calls while updates become visible within the agreed freshness window.

Incorrect Answers

A:

That change addresses an ECS rolling deployment keeps replacing tasks because the container health check targets a removed HTTP route even though the application serves traffic on a new path; it would not repair this incident.

C:

That change addresses a CloudWatch dashboard displays Lambda invocation count as successful purchases even though the handler frequently returns business validation errors; it would not repair this incident.

D:

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

Question 233

A CodePipeline action promotes an artifact to production when build succeeds even though integration tests for the same revision are still running. Which technical dependency most directly explains this behavior?

  1. Mocked logic tests do not validate the deployed role's real service permissions and resource identity.
  2. The published package does not contain the runtime dependency closure expected by the handler.
  3. Automated tests did not validate the exact immutable artifact that was later promoted.
  4. Pipeline dependencies allow release approval before the required test stage reaches a successful terminal state.

Explanation

Correct Answer

D:

Pipeline dependencies allow release approval before the required test stage reaches a successful terminal state. The corresponding fix is to make deployment explicitly depend on successful integration and security tests for the same immutable revision.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. The dependency here is different.

B:

This diagnosis addresses another AWS case: A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment. The dependency here is different.

C:

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

Question 234

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

  1. Build representative EventBridge envelopes and run handler contract tests against the actual integration schema.
  2. Generate and test a provenance-tagged artifact and deploy the same digest after all required checks pass.
  3. Bundle or layer the tested compatible dependency set and validate imports from the actual deployment artifact.
  4. Inspect and correct API mapping and stage identifiers, then verify requests through the actual custom domain.

Explanation

Correct Answer

B:

Generate and test a provenance-tagged artifact and deploy the same digest after all required checks pass. It directly addresses the case cause (Automated tests did not validate the exact immutable artifact that was later promoted.) and should be verified by: The deployed package hash matches the artifact tested in CI and dependency behavior remains stable.

Incorrect Answers

A:

That change addresses a Lambda unit test mocks an EventBridge event as a flat payload but the actual event carries fields under detail and the deployed handler crashes; it would not repair this incident.

C:

That change addresses a Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment; it would not repair this incident.

D:

That change addresses an API Gateway custom domain points to a different stage after a deployment even though the backend Lambda versions were correctly published; it would not repair this incident.

Question 235

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. 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 designated target principal decrypts only approved data while an unrelated account principal cannot use the key.
  3. Configure an authorized cross-account key policy and permitted IAM use, including encryption context constraints where appropriate.
  4. Test source/target key grants and expected encryption context after cross-account data-flow changes.
  5. Copy ciphertext into another account and assume the destination IAM user automatically owns the original key.
  6. Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available.

Explanation

Correct Answers

B:

The designated target principal decrypts only approved data while an unrelated account principal cannot use the key. This is the observable result required before accepting the correction.

C:

Configure an authorized cross-account key policy and permitted IAM use, including encryption context constraints where appropriate. The underlying cause is: The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.

D:

Test source/target key grants and expected encryption context after cross-account data-flow changes. This protects against the following risk: The intended recipient identity and key-policy permissions have not been coordinated for cross-account decryption.

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.

E:

Copy ciphertext into another account and assume the destination IAM user automatically owns the original key. That shortcut conflicts with the stated requirement.

F:

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

Question 236

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter.

  1. Review outbound schemas and test synthetic secret leakage on all third-party event destinations.
  2. Add cross-tenant negative tests for list, read, update and delete methods, including cached responses.
  3. Maintain role-specific response-shape and sensitive-data redaction regression fixtures.
  4. Test encrypted-object reads and denied neighboring key access in deployment quality gates.

Explanation

Correct Answer

B:

Add cross-tenant negative tests for list, read, update and delete methods, including cached responses. This safeguards against a recurring cause: Valid authentication is not a substitute for object-level tenancy and resource authorization in the service.

Incorrect Answers

A:

That safeguard addresses another case: A microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. It is not the control for this recurring failure.

D:

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.

Question 237

A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. Which engineering change best addresses the underlying issue?

  1. Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
  2. Update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions.
  3. Redesign keys to distribute writes across suitable high-cardinality identifiers while supporting documented lookup patterns.
  4. Use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers.

Explanation

Correct Answer

A:

Use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow. It directly addresses the case cause (The external side effect outlives the handler deadline and the application does not track idempotent completion.) and should be verified by: A forced timeout results in one committed partner operation and a queryable final business status.

Incorrect Answers

B:

That change addresses an EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization; it would not repair this incident.

C:

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.

D:

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.

Question 238

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them.

  1. Check representative field mappings and query results before index version promotion.
  2. Maintain negative request fixtures and validate model updates before deploying a new API stage.
  3. Test business expiry behavior separately from eventual storage deletion and TTL metrics.
  4. Test cache lag against concurrency and document which reads must bypass caches for correctness.

Explanation

Correct Answer

B:

Maintain negative request fixtures and validate model updates before deploying a new API stage. This safeguards against a recurring cause: The API boundary lacks an applicable request validation step for required payload fields.

Incorrect Answers

A:

That safeguard addresses another case: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. It is not the control for this recurring failure.

C:

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.

D:

That safeguard addresses another case: A service caches frequently changing product availability in DAX but checkout accepts a stale cached value as definitive stock. It is not the control for this recurring failure.

Question 239

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing.

  1. Test reidentification risk and review key governance whenever pseudonymization methods change.
  2. Scan redacted logs and review cryptographic key permissions in every release that handles sensitive values.
  3. Maintain negative ownership fixtures for link generation and test URL expiry and object-key tampering.
  4. Test certificate failures and transport enforcement as separate security scenarios from storage encryption.

Explanation

Correct Answer

C:

Maintain negative ownership fixtures for link generation and test URL expiry and object-key tampering. This safeguards against a recurring cause: The signing backend authorizes the raw object key rather than the requesting user's entitlement to that object.

Incorrect Answers

A:

That safeguard addresses another case: A developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization. It is not the control for this recurring failure.

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.

D:

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.

Question 240

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization.

  1. Contract-test EventBridge source and detail-type values against deployed event patterns in continuous integration.
  2. Track initialization duration and dependency size in pre-release Lambda performance tests.
  3. Test business expiry behavior separately from eventual storage deletion and TTL metrics.
  4. Test secret refresh behavior and scan deployed artifacts and logs for exposed credential values.

Explanation

Correct Answer

A:

Contract-test EventBridge source and detail-type values against deployed event patterns in continuous integration. This safeguards against a recurring cause: Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.

Incorrect Answers

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.

C:

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.

D:

That safeguard addresses another case: A Lambda application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code. It is not the control for this recurring failure.

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.