cert
cert-1
cert-2

Pass Amazon AWS Certified Developer - Associate DVA-C02 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
AWS Certified Developer - Associate DVA-C02 Exam - Verified By Experts
AWS Certified Developer - Associate DVA-C02 Premium Bundle
$29.98

AWS Certified Developer - Associate DVA-C02 Premium Bundle

$79.99
$109.97
  • Premium File 653 Questions & Answers. Last update: Nov 10, 2026
  • Training Course 430 Video Lectures
  • Study Guide 1091 Pages
 
$109.97
$79.99
accept 27 downloads in last 7 days
block-screenshots
Purchase Amazon AWS Certified Developer - Associate DVA-C02 Exam Training Products Individually
Amazon AWS Certified Developer - Associate DVA-C02 Premium File
Premium File 653 Q&A
$76.99$69.99
Amazon AWS Certified Developer - Associate DVA-C02 Video Training Course
Training Course 430 Lectures
$21.99 $19.99
Amazon AWS Certified Developer - Associate DVA-C02 PDF Study Guide
Study Guide 1091 Pages
$21.99 $19.99
Amazon AWS Certified Developer - Associate DVA-C02 Practice Test 13

Question 120

A VPC-attached Lambda accesses an internal service on private subnets and receives connection timeouts. Which developer action MOST directly meets the stated constraint?

  1. Replace the execution role with broad IAM access to repair TCP connectivity.
  2. Increase the Lambda memory setting experimentally and benchmark latency and cost at several settings.
  3. Make the RDS instance publicly accessible by default.
  4. Attach Lambda to appropriate subnets and security groups with allowed routes and database connectivity.

Explanation

Correct Answer

D:

Attach Lambda to appropriate subnets and security groups with allowed routes and database connectivity. VPC networking and security groups control reachability independently of IAM API authorization. For this second operating case, verify that network tests confirm outbound connectivity from the function to the private endpoint on its service port.

Incorrect Answers

A:

Replace the execution role with broad IAM access to repair TCP connectivity. This shortcut would leave the Lambda VPC private data access requirement unresolved; missing security-group or routing rules prevent TCP access to a private endpoint.

B:

This technique primarily addresses Lambda memory CPU tuning; it would not demonstrate Lambda VPC private data access or directly prove that network tests confirm outbound connectivity from the function to the private endpoint on its service port.

C:

Make the RDS instance publicly accessible by default. This shortcut would leave the Lambda VPC private data access requirement unresolved; missing security-group or routing rules prevent TCP access to a private endpoint.

Question 121

An SDK request passes S3 authorization but fails at KMS decrypt during an export download. Which developer action MOST directly meets the stated constraint?

  1. Turn off all application logging before testing policies.
  2. Rename the S3 key without reviewing the KMS failure.
  3. Trace the caller identity, the requested S3 action, and the KMS key permissions with CloudTrail evidence.
  4. Measure the integration latency and redesign or optimize synchronous work to finish within the API integration limit.

Explanation

Correct Answer

C:

Trace the caller identity, the requested S3 action, and the KMS key permissions with CloudTrail evidence. Authorization for an encrypted object can involve multiple services and different policy evaluators. For this second operating case, verify that the denied API event identifies the principal and missing permission or key-policy condition.

Incorrect Answers

A:

Turn off all application logging before testing policies. This shortcut would leave the AccessDenied troubleshooting chain requirement unresolved; only adjusting s3:GetObject cannot fix an explicit KMS decrypt denial.

B:

Rename the S3 key without reviewing the KMS failure. This shortcut would leave the AccessDenied troubleshooting chain requirement unresolved; only adjusting s3:GetObject cannot fix an explicit KMS decrypt denial.

D:

This technique primarily addresses API Gateway Lambda integration timeout; it would not demonstrate AccessDenied troubleshooting chain or directly prove that the denied API event identifies the principal and missing permission or key-policy condition.

Question 122

A user edits a profile and the next request must see the committed change on the base table. Which developer action MOST directly meets the stated constraint?

  1. Use ConsistentRead on a GSI Query and assume it is supported.
  2. Cache the previous response to obtain stronger consistency.
  3. Request a strongly consistent read for the DynamoDB table or LSI where supported.
  4. Use the S3 multipart upload API with part tracking and complete or abort the upload correctly.

Explanation

Correct Answer

C:

Request a strongly consistent read for the DynamoDB table or LSI where supported. Strongly consistent reads are available on DynamoDB tables and LSIs in a Region, not GSIs. For this second operating case, verify that an immediate post-write read returns the latest committed item in the supported read path.

Incorrect Answers

A:

Use ConsistentRead on a GSI Query and assume it is supported. This shortcut would leave the DynamoDB strong read consistency requirement unresolved; an eventually consistent read may briefly return a stale value after a successful write.

B:

Cache the previous response to obtain stronger consistency. This shortcut would leave the DynamoDB strong read consistency requirement unresolved; an eventually consistent read may briefly return a stale value after a successful write.

D:

This technique primarily addresses S3 multipart upload recovery; it would not demonstrate DynamoDB strong read consistency or directly prove that an immediate post-write read returns the latest committed item in the supported read path.

Question 123

A locally run test harness needs role credentials to call a single AWS API without storing secrets in its repository. Which developer action MOST directly meets the stated constraint?

  1. Send credentials in query strings to simplify debugging.
  2. Commit a shared access key in a config JSON file.
  3. Apply field-level authorization and mask sensitive attributes before serializing responses.
  4. Use the AWS SDK default credential chain with short-lived credentials from an approved profile or federation.

Explanation

Correct Answer

D:

Use the AWS SDK default credential chain with short-lived credentials from an approved profile or federation. AWS credential provider chains support ephemeral sessions and remove the need for embedded static secrets. For this second operating case, verify that the application authenticates using temporary provider credentials and the repository contains no keys.

Incorrect Answers

A:

Send credentials in query strings to simplify debugging. This shortcut would leave the temporary credential storage requirement unresolved; hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

B:

Commit a shared access key in a config JSON file. This shortcut would leave the temporary credential storage requirement unresolved; hardcoded long-lived keys can leak through artifacts and remain usable after local sessions end.

C:

This technique primarily addresses PII response field masking; it would not demonstrate temporary credential storage or directly prove that the application authenticates using temporary provider credentials and the repository contains no keys.

Question 124

A batch worker consumes SQS messages faster than a constrained third-party dependency can process. Which developer action MOST directly meets the stated constraint?

  1. Apply an SNS subscription filter policy on the relevant message attributes or payload fields.
  2. Increase the number of parallel calls after every 429 response.
  3. Disable all rate-limit metrics during load testing.
  4. Limit parallelism and introduce queue-based backpressure with bounded retries and metrics.

Explanation

Correct Answer

D:

Limit parallelism and introduce queue-based backpressure with bounded retries and metrics. Concurrency controls must reflect downstream capacity rather than only upstream invocation volume. For this second operating case, verify that downstream 429 rates fall while queue depth and processing age remain within the service objective.

Incorrect Answers

A:

This technique primarily addresses SNS subscription filter policy; it would not demonstrate concurrency backpressure or directly prove that downstream 429 rates fall while queue depth and processing age remain within the service objective.

B:

Increase the number of parallel calls after every 429 response. This shortcut would leave the concurrency backpressure requirement unresolved; unbounded fanout can overwhelm a dependency even if the caller has ample compute capacity.

C:

Disable all rate-limit metrics during load testing. This shortcut would leave the concurrency backpressure requirement unresolved; unbounded fanout can overwhelm a dependency even if the caller has ample compute capacity.

Question 125

A service retrieves all activity records for one user partition within a date range. Which developer action MOST directly meets the stated constraint?

  1. Request a strongly consistent read for the DynamoDB table or LSI where supported.
  2. Use DynamoDB Query with the customer partition key and an appropriate sort-key condition.
  3. Call BatchWriteItem to retrieve customer records.
  4. Filter a full-table Scan after reading every item.

Explanation

Correct Answer

B:

Use DynamoDB Query with the customer partition key and an appropriate sort-key condition. Query uses key conditions while Scan examines items beyond the requested partition. For this second operating case, verify that read capacity and response results are limited to the target key range rather than the whole table.

Incorrect Answers

A:

This technique primarily addresses DynamoDB strong read consistency; it would not demonstrate DynamoDB Query versus Scan or directly prove that read capacity and response results are limited to the target key range rather than the whole table.

C:

Call BatchWriteItem to retrieve customer records. This shortcut would leave the DynamoDB Query versus Scan requirement unresolved; using Scan for a predictable partition lookup wastes read capacity and creates latency.

D:

Filter a full-table Scan after reading every item. This shortcut would leave the DynamoDB Query versus Scan requirement unresolved; using Scan for a predictable partition lookup wastes read capacity and creates latency.

Question 126

An email worker subscribed to a shared SNS topic must ignore order telemetry messages. Which developer action MOST directly meets the stated constraint?

  1. Apply an SNS subscription filter policy on the relevant message attributes or payload fields.
  2. Increase the Lambda timeout so SNS filters events automatically.
  3. Put every event into one SQS message body without useful filter fields.
  4. Inspect query profiles, shard pressure, and index mappings before optimizing the search request.

Explanation

Correct Answer

A:

Apply an SNS subscription filter policy on the relevant message attributes or payload fields. SNS subscription filtering drops irrelevant deliveries before consumer processing. For this second operating case, verify that only events matching the subscriber's policy reach its target while other topics of work are skipped.

Incorrect Answers

B:

Increase the Lambda timeout so SNS filters events automatically. This shortcut would leave the SNS subscription filter policy requirement unresolved; without a filter the subscriber receives unrelated messages and spends capacity rejecting them.

C:

Put every event into one SQS message body without useful filter fields. This shortcut would leave the SNS subscription filter policy requirement unresolved; without a filter the subscriber receives unrelated messages and spends capacity rejecting them.

D:

This technique primarily addresses OpenSearch query performance profiling; it would not demonstrate SNS subscription filter policy or directly prove that only events matching the subscriber's policy reach its target while other topics of work are skipped.

Question 127

An event handler reads from one queue while a reporting handler writes to a different DynamoDB table. Which developer action MOST directly meets the stated constraint?

  1. Share an IAM user's long-term key as a global environment variable.
  2. Assign distinct least-privilege execution roles to functions according to their required service calls.
  3. Attach AdministratorAccess to every Lambda to avoid policy errors.
  4. Configure a JWT authorizer with the trusted issuer and audience and bind it to protected API routes.

Explanation

Correct Answer

B:

Assign distinct least-privilege execution roles to functions according to their required service calls. Separate execution roles reduce blast radius when individual workloads are compromised. For this second operating case, verify that iAM policy simulation or live tests show each function cannot use the other's unrelated resources.

Incorrect Answers

A:

Share an IAM user's long-term key as a global environment variable. This shortcut would leave the Lambda execution-role separation requirement unresolved; reusing an administrator role for every function violates workload-level least privilege.

C:

Attach AdministratorAccess to every Lambda to avoid policy errors. This shortcut would leave the Lambda execution-role separation requirement unresolved; reusing an administrator role for every function violates workload-level least privilege.

D:

This technique primarily addresses API Gateway JWT authorizer; it would not demonstrate Lambda execution-role separation or directly prove that iAM policy simulation or live tests show each function cannot use the other's unrelated resources.

Question 128

A service opens IAM-authenticated RDS connections over TLS with short-lived login tokens. Which developer action MOST directly meets the stated constraint?

  1. Store the database master password in every function's source code.
  2. Encrypt in the client with properly protected keys before uploading ciphertext to storage.
  3. Use a Cognito user-pool token as the database password.
  4. Enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants.

Explanation

Correct Answer

D:

Enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants. IAM database authentication issues short-lived login tokens but database user permissions still control SQL access. For this second operating case, verify that authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.

Incorrect Answers

A:

Store the database master password in every function's source code. This shortcut would leave the IAM authentication and TLS for RDS requirement unresolved; a correct IAM token without database user setup or TLS configuration can still fail to connect.

B:

This technique primarily addresses client-side versus server-side encryption; it would not demonstrate IAM authentication and TLS for RDS or directly prove that authenticated connections accept fresh tokens for the mapped database user and reject unauthorized principals.

C:

Use a Cognito user-pool token as the database password. This shortcut would leave the IAM authentication and TLS for RDS requirement unresolved; a correct IAM token without database user setup or TLS configuration can still fail to connect.

Question 129

A developer asks an AI assistant to generate edge-case fixtures for a new API payload. Which developer action MOST directly meets the stated constraint?

  1. Assume generated tests always cover every production edge case.
  2. Review AI-generated tests for assertions, data privacy, and realistic events before adding them to CI.
  3. Commit customer secrets as fixtures to improve realism.
  4. Run CloudFormation drift detection for supported resource types and reconcile unexpected changes into the source template.

Explanation

Correct Answer

B:

Review AI-generated tests for assertions, data privacy, and realistic events before adding them to CI. Generated tests require human review and meaningful assertions to avoid false confidence. For this second operating case, verify that the accepted tests fail on a known bug and pass once the defect is fixed without leaking secrets.

Incorrect Answers

A:

Assume generated tests always cover every production edge case. This shortcut would leave the AI-assisted test review requirement unresolved; an AI test that only checks process exit can pass while functional behavior is wrong.

C:

Commit customer secrets as fixtures to improve realism. This shortcut would leave the AI-assisted test review requirement unresolved; an AI test that only checks process exit can pass while functional behavior is wrong.

D:

This technique primarily addresses infrastructure drift detection; it would not demonstrate AI-assisted test review or directly prove that the accepted tests fail on a known bug and pass once the defect is fixed without leaking secrets.

Question 130

A data-sharing workload has S3 read access but cannot decrypt an encrypted cross-account report. Which developer action MOST directly meets the stated constraint?

  1. Add only s3:GetObject and assume it grants kms:Decrypt.
  2. Authorize the external principal through the KMS key policy and the caller's IAM permissions for the needed cryptographic operation.
  3. Turn on public bucket read to bypass the KMS key policy.
  4. Enable supported IAM database authentication, generate an auth token with the SDK, and connect over TLS with required database grants.

Explanation

Correct Answer

B:

Authorize the external principal through the KMS key policy and the caller's IAM permissions for the needed cryptographic operation. Cross-account KMS use needs key-policy authorization in the owning account and corresponding caller permissions. For this second operating case, verify that the external role can use the approved KMS key while unrelated principals remain denied.

Incorrect Answers

A:

Add only s3:GetObject and assume it grants kms:Decrypt. This shortcut would leave the KMS key-policy cross-account requirement unresolved; an S3 object permission alone does not give decrypt access to its KMS key.

C:

Turn on public bucket read to bypass the KMS key policy. This shortcut would leave the KMS key-policy cross-account requirement unresolved; an S3 object permission alone does not give decrypt access to its KMS key.

D:

This technique primarily addresses IAM authentication and TLS for RDS; it would not demonstrate KMS key-policy cross-account or directly prove that the external role can use the approved KMS key while unrelated principals remain denied.

AWS Certified Developer - Associate DVA-C02 Practice Tests