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 46

Question 450

A microservice assumes an IAM role in a second AWS account but receives AccessDenied despite a permissive identity policy in the caller account. Which technical dependency most directly explains this behavior?

  1. Storage-object permission and cryptographic key authorization are separate required checks.
  2. The client-side encryption key is exposed through source distribution and lacks a protected lifecycle.
  3. Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal.
  4. Diagnostic responses expose secret-bearing internal context beyond what requesters require to handle errors.

Explanation

Correct Answer

C:

Cross-account role assumption requires both caller permission and a target role trust policy that admits the principal. The corresponding fix is to grant only the required sts:AssumeRole action and update the target role trust relationship for the approved principal.

Incorrect Answers

A:

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

B:

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: An API error handler includes access tokens and raw service exceptions in JSON responses sent to all callers. The dependency here is different.

Question 451

A Lambda image conversion function fills the available /tmp directory with temporary video frames even though memory utilization remains low. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  2. A maximum-size media fixture completes without ephemeral storage exhaustion and preserves the expected output.
  3. Right-size Lambda ephemeral storage or stream and clean intermediate content in bounded chunks.
  4. Move all temporary processing data into the read-only deployed package directory.
  5. Include peak temporary-disk checks and cleanup paths in the function's performance test suite.
  6. Use an idempotency record and conditional or transactional update bound to a stable purchase request ID.

Explanation

Correct Answers

B:

A maximum-size media fixture completes without ephemeral storage exhaustion and preserves the expected output. This is the observable result required before accepting the correction.

C:

Right-size Lambda ephemeral storage or stream and clean intermediate content in bounded chunks. The underlying cause is: The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.

E:

Include peak temporary-disk checks and cleanup paths in the function's performance test suite. This protects against the following risk: The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.

Incorrect Answers

A:

This would validate a different case: A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. It does not verify the outcome required here.

D:

Move all temporary processing data into the read-only deployed package directory. That shortcut conflicts with the stated requirement.

F:

That corrective action is for a different case: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. It does not resolve this incident.

Question 452

A team applies a reviewed fix for this situation: A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. Which observed outcome would most convincingly validate the fix?

  1. A controlled execution invokes only the target Lambda and denied unintended invocations remain denied.
  2. The client refuses an invalid certificate and transfers the payload only through the intended encrypted endpoint.
  3. An agent sees only the permitted masked representation, and a request for restricted fields is denied.
  4. Synthetic sensitive fields do not appear in logs while correlation IDs and safe error context remain available.

Explanation

Correct Answer

A:

A controlled execution invokes only the target Lambda and denied unintended invocations remain denied. This verifies the result of correct the service-principal trust and scope the execution role's Lambda invoke permissions to the intended functions.

Incorrect Answers

B:

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

C:

This would verify another situation: A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. 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 453

A team applies a reviewed fix for this situation: A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. Which observed outcome would most convincingly validate the fix?

  1. The production endpoint invokes the planned alias version and rollback changes only the controlled release mapping.
  2. A rollback restores the identical image digest and reproduces the previous known-good application behavior.
  3. A production fixture calls only the approved production endpoint while staging continues to use isolated resources.
  4. Production requests use only the production table while test-stage data stays isolated.

Explanation

Correct Answer

D:

Production requests use only the production table while test-stage data stays isolated. This verifies the result of apply reviewed per-stage variables or AppConfig values and assert resource identity at deployment time.

Incorrect Answers

A:

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

B:

This would verify another situation: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. It does not validate the current case.

C:

This would verify another situation: A scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production. It does not validate the current case.

Question 454

A developer updates an AWS SAM template in a shared test account and unexpectedly removes a resource another team's integration tests still need. Which technical dependency most directly explains this behavior?

  1. Environment-specific runtime configuration is not validated against the production deployment boundary.
  2. Mutable artifact references allow tasks in one nominal release to resolve to different image content.
  3. Generated tests are not tied to the reviewed current interface contract and can validate the wrong behavior.
  4. The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure.

Explanation

Correct Answer

D:

The staging deployment lacks isolation and a reviewed change-set boundary for shared infrastructure. The corresponding fix is to use isolated stage stacks or resource names and inspect deployment changes before applying the updated template.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. The dependency here is different.

B:

This diagnosis addresses another AWS case: A CI workflow publishes Docker images under one mutable tag and the ECS service pulls a different image during a multi-AZ scale-out. The dependency here is different.

C:

This diagnosis addresses another AWS case: A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. The dependency here is different.

Question 455

An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. Which technical dependency most directly explains this behavior?

  1. The read implementation lacks a designed key or index matching the predominant query predicate.
  2. Layer binaries or dependencies are incompatible with the configured runtime or CPU architecture.
  3. The deployment has not reserved a concurrency budget for the critical path or bounded the producer's demand.
  4. The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.

Explanation

Correct Answer

A:

The read implementation lacks a designed key or index matching the predominant query predicate. The corresponding fix is to define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Incorrect Answers

B:

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.

C:

This diagnosis addresses another AWS case: A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. 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 456

A developer uses an unkeyed hash of predictable email addresses as a public customer identifier and calls it irreversible anonymization. Which engineering change best addresses the underlying issue?

  1. Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context.
  2. Grant narrowly scoped KMS decrypt access through the applicable IAM and key policy controls for the intended role.
  3. Apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls.
  4. Enforce the appropriate access token use and verify configured OAuth scopes and resource-level permissions.

Explanation

Correct Answer

C:

Apply an approved keyed tokenization or privacy-preserving identifier design with appropriate reidentification controls. It directly addresses the case cause (Low-entropy identifiers remain vulnerable to dictionary attacks despite using a one-way hash function.) and should be verified by: A threat-model review shows predictable candidate inputs cannot trivially recover protected identities from public tokens.

Incorrect Answers

A:

That change addresses an API Gateway Lambda authorizer returns an Allow policy for an entire API wildcard after validating permission for one read-only resource; it would not repair this incident.

B:

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.

D:

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

Question 457

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly.

  1. Test secret refresh behavior and scan deployed artifacts and logs for exposed credential values.
  2. Maintain negative request fixtures and validate model updates before deploying a new API stage.
  3. Test network connectivity independently from credential validity whenever Lambda VPC configuration changes.
  4. Check representative field mappings and query results before index version promotion.

Explanation

Correct Answer

D:

Check representative field mappings and query results before index version promotion. This safeguards against a recurring cause: The indexed field mapping does not represent the numeric comparison semantics required by the application.

Incorrect Answers

A:

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.

B:

That safeguard addresses another case: An API Gateway REST endpoint accepts requests missing customerId and passes invalid records to a Lambda function that stores them. It is not the control for this recurring failure.

C:

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

Question 458

A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. Select TWO complementary measures that correctly repair and validate this failure.

  1. Record immutable published versions and implement a tested rollback through alias or supported deployment controls.
  2. The obsolete test assertion fails review while the approved request and response contract passes.
  3. Repackage the code so the deployed handler path, modules and ZIP directory root agree.
  4. Redeploy whatever source is on the default branch and call it the last known-good version.
  5. A simulated bad release restores the exact previously verified version with expected response behavior.

Explanation

Correct Answers

A:

Record immutable published versions and implement a tested rollback through alias or supported deployment controls. The underlying cause is: Release history and alias version identifiers are not preserved as rollback artifacts.

E:

A simulated bad release restores the exact previously verified version with expected response behavior. This is the observable result required before accepting the correction.

Incorrect Answers

B:

This would validate a different case: A team generates test cases with Amazon Q Developer and automatically accepts them, but the tests assert behavior from an obsolete API specification. It does not verify the outcome required here.

C:

That corrective action is for a different case: A Python Lambda project includes its source file but omits the required top-level package directory layout for the configured handler. It does not resolve this incident.

D:

Redeploy whatever source is on the default branch and call it the last known-good version. That shortcut conflicts with the stated requirement.

Question 459

A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. 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. Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.
  3. Apply capped exponential backoff with jitter and supported Retry-After handling and fail predictably after a defined retry budget.
  4. Define the required request model and enable request validation before the integration proceeds to Lambda.

Explanation

Correct Answer

B:

Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota. It directly addresses the case cause (The deployment has not reserved a concurrency budget for the critical path or bounded the producer's demand.) and should be verified by: A burst test keeps notification latency within the objective while producer backpressure remains controlled.

Incorrect Answers

A:

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

C:

That change addresses a payment application calls a rate-limited partner REST API and immediately retries HTTP 429 responses until the partner suspends access; 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 460

After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A team deploys new Lambda code but an API Gateway integration still points to an unversioned function instead of the reviewed alias.

  1. Check API integration targets and alias qualifiers in every deployment smoke test.
  2. Compare stage configurations in pipeline checks and reject production deployments with test environment identifiers.
  3. Add resource-identity assertions and denied test-resource references to the deployment gate.
  4. Assert test-mode provider credentials and outbound endpoint destinations in the pipeline setup.

Explanation

Correct Answer

A:

Check API integration targets and alias qualifiers in every deployment smoke test. This safeguards against a recurring cause: The API deployment target bypasses the intended versioned release and rollback boundary.

Incorrect Answers

B:

That safeguard addresses another case: A scheduled Lambda job uses an environment-specific API endpoint hardcoded for staging even after the deployment reaches production. It is not the control for this recurring failure.

C:

That safeguard addresses another case: A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records. It is not the control for this recurring failure.

D:

That safeguard addresses another case: A checkout integration test calls a live payment provider and charges a customer account every time the CI pipeline runs. 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.