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 18

Question 170

A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. Which technical dependency most directly explains this behavior?

  1. The response model does not enforce data minimization and permits sensitive fields beyond the support purpose.
  2. The signing backend authorizes the raw object key rather than the requesting user's entitlement to that object.
  3. Base64 decoding alone does not authenticate token origin or prove that its claims are still valid.
  4. The presigning workflow allows a broader operation than the intended user action and permission boundary.

Explanation

Correct Answer

A:

The response model does not enforce data minimization and permits sensitive fields beyond the support purpose. The corresponding fix is to return an allowlisted projection with approved masking and enforce least-privilege access for support roles.

Incorrect Answers

B:

This diagnosis addresses another AWS case: An S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing. The dependency here is different.

C:

This diagnosis addresses another AWS case: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. The dependency here is different.

D:

This diagnosis addresses another AWS case: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. The dependency here is different.

Question 171

A newly deployed API occasionally returns HTTP 403 from a second service, and application logs omit the AWS principal making the downstream request. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Include safe principal context and correlation IDs in cross-service error diagnostics.
  2. Configure an SNS subscription filter policy for the approved media event attributes and validate publisher metadata.
  3. The failed request can be traced to a specific denied principal and narrow corrective policy change.
  4. Attach AdministratorAccess to every service role without locating the denied operation.
  5. Correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence.
  6. A controlled request shows an end-to-end trace linking both services and their measured latency.

Explanation

Correct Answers

A:

Include safe principal context and correlation IDs in cross-service error diagnostics. This protects against the following risk: The investigation lacks identity and authorization context to diagnose which execution role or resource policy denied the call.

C:

The failed request can be traced to a specific denied principal and narrow corrective policy change. This is the observable result required before accepting the correction.

E:

Correlate request IDs with signed caller identity, resource policy and applicable CloudTrail authorization evidence. The underlying cause is: The investigation lacks identity and authorization context to diagnose which execution role or resource policy denied the call.

Incorrect Answers

B:

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

D:

Attach AdministratorAccess to every service role without locating the denied operation. That shortcut conflicts with the stated requirement.

F:

This would validate a different case: A developer adds X-Ray segments to a Lambda request but never propagates trace context to a downstream HTTP service, producing disconnected service maps. It does not verify the outcome required here.

Question 172

An API Gateway method works in the test console but its deployed production stage still points to an older Lambda alias. Which technical dependency most directly explains this behavior?

  1. Mutable artifact references allow tasks in one nominal release to resolve to different image content.
  2. The deployment plan has an unreviewed destructive infrastructure change outside the intended application code update.
  3. The staging and production integration versions are not aligned with the intended release.
  4. The test invocation does not exercise the exact deployed version and traffic-shift destination.

Explanation

Correct Answer

C:

The staging and production integration versions are not aligned with the intended release. The corresponding fix is to inspect the stage deployment and integration URI, then publish the correct stage or alias binding under release controls.

Incorrect Answers

A:

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.

B:

This diagnosis addresses another AWS case: A new application version deploys with AWS SAM, but the CloudFormation change set includes removal of a production DynamoDB table unexpectedly. The dependency here is different.

D:

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.

Question 173

A game telemetry producer chooses one constant Kinesis partition key and one shard becomes throttled while available shards remain idle. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. A controlled invocation opens the intended database connection without exposing its port to the public internet.
  2. Partition by a suitable high-cardinality event or entity key while preserving any required per-key ordering semantics.
  3. Load testing distributes writes across shards and maintains required ordering within each chosen entity key.
  4. Increase every consumer timeout without changing the producer partition key.
  5. Use appropriate reserved concurrency and buffering policies to protect the notification workflow and account quota.
  6. Monitor partition-key hot spots and verify distribution during producer release tests.

Explanation

Correct Answers

B:

Partition by a suitable high-cardinality event or entity key while preserving any required per-key ordering semantics. The underlying cause is: The chosen partition key collapses unrelated records into the same hash range and defeats shard distribution.

C:

Load testing distributes writes across shards and maintains required ordering within each chosen entity key. This is the observable result required before accepting the correction.

F:

Monitor partition-key hot spots and verify distribution during producer release tests. This protects against the following risk: The chosen partition key collapses unrelated records into the same hash range and defeats shard distribution.

Incorrect Answers

A:

This would validate a different 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 does not verify the outcome required here.

D:

Increase every consumer timeout without changing the producer partition key. That shortcut conflicts with the stated requirement.

E:

That corrective action is for a different case: A high-traffic Lambda producer consumes all account concurrency, throttling a separate critical notification function during spikes. It does not resolve this incident.

Question 174

A team applies a reviewed fix for this situation: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. 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. Cross-tenant prefix probes fail while an authorized tenant can export only its own records.
  3. The approved GET succeeds while unauthorized writes and access to unrelated object keys fail.
  4. A valid intended token is accepted while tampered, expired and wrong-user-pool tokens are rejected.

Explanation

Correct Answer

C:

The approved GET succeeds while unauthorized writes and access to unrelated object keys fail. This verifies the result of generate method- and object-scoped signed requests under a least-privilege principal with appropriate expiry.

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 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 does not validate the current case.

D:

This would verify another situation: A web backend trusts any decoded Cognito user-pool JWT payload without checking its signature, issuer, token use or expiry. It does not validate the current case.

Question 175

A microservice forwards raw end-user tokens from headers to a third-party analytics endpoint, although analytics needs only event type and status. Which technical dependency most directly explains this behavior?

  1. Cross-account access may also require the target topic's resource policy to allow the approved caller.
  2. The execution role trust relationship does not permit the service running the state machine to assume it.
  3. The signing backend authorizes the raw object key rather than the requesting user's entitlement to that object.
  4. The analytics integration crosses the trust boundary with unnecessary authentication and personal data.

Explanation

Correct Answer

D:

The analytics integration crosses the trust boundary with unnecessary authentication and personal data. The corresponding fix is to build an allowlisted sanitized event schema that excludes bearer credentials and unrelated personal fields.

Incorrect Answers

A:

This diagnosis addresses another AWS case: A Lambda function cannot publish to an SNS topic in another account although the execution role allows sns:Publish. The dependency here is different.

B:

This diagnosis addresses another AWS case: A Step Functions execution fails to invoke Lambda because the workflow role trusts EC2 instead of the Step Functions service principal. The dependency here is different.

C:

This diagnosis addresses another AWS case: An S3-backed application generates presigned download URLs for confidential attachments without verifying document ownership before signing. The dependency here is different.

Question 176

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

  1. Use an appropriate CloudFront cache policy and immutable asset versioning while preserving required authentication boundaries.
  2. Emit structured logs with request and trace identifiers while excluding protected values from logged fields.
  3. Profile representative conversion jobs across supported Lambda memory sizes and select a measured cost-latency balance.
  4. Configure the actual application readiness path and verify target-group and container health timing under the release.

Explanation

Correct Answer

D:

Configure the actual application readiness path and verify target-group and container health timing under the release. It directly addresses the case cause (The health-check configuration is out of sync with the deployed application's readiness endpoint.) and should be verified by: New tasks become healthy on the intended path and traffic shifts without repeated task restarts.

Incorrect Answers

A:

That change addresses a CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching; it would not repair this incident.

B:

That change addresses an order microservice writes free-form log strings without request IDs, making it impossible to follow one transaction across API Gateway and Lambda; it would not repair this incident.

C:

That change addresses a Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing; it would not repair this incident.

Question 177

An application accepts a Cognito access token for tenant A while fetching order details belonging to tenant B using an unvalidated path parameter. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. Generate method- and object-scoped signed requests under a least-privilege principal with appropriate expiry.
  2. A controlled markup payload displays as inert text while legitimate comments remain readable.
  3. Requests for another tenant's order return denial even when the caller holds a valid session token.
  4. Add cross-tenant negative tests for list, read, update and delete methods, including cached responses.
  5. Trust the tenant ID provided by the caller's URL over the identity's authorized tenant.
  6. Derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup.

Explanation

Correct Answers

C:

Requests for another tenant's order return denial even when the caller holds a valid session token. This is the observable result required before accepting the correction.

D:

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

F:

Derive the authorized tenant context from trusted identity and enforce tenant ownership on every order lookup. The underlying cause is: Valid authentication is not a substitute for object-level tenancy and resource authorization in the service.

Incorrect Answers

A:

That corrective action is for a different case: A developer creates short-lived download links but signs requests without constraining the HTTP method, resource or allowed signing credentials. It does not resolve this incident.

B:

This would validate a different case: A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. It does not verify the outcome required here.

E:

Trust the tenant ID provided by the caller's URL over the identity's authorized tenant. That shortcut conflicts with the stated requirement.

Question 178

A developer sanitizes a user-submitted comment only on the browser, and malicious HTML is stored and displayed to other users. Select TWO complementary measures that correctly repair and validate this failure.

  1. Validate inputs server-side and contextually encode user-controlled content in the response template.
  2. Require authenticated TLS transport and approved endpoint identity validation for the outbound request.
  3. Strip only the word script and assume every other markup sequence is safe.
  4. A controlled markup payload displays as inert text while legitimate comments remain readable.
  5. The running task calls only permitted AWS actions and continues working after the old static keys are revoked.

Explanation

Correct Answers

A:

Validate inputs server-side and contextually encode user-controlled content in the response template. The underlying cause is: Client-side validation can be bypassed and the output encoding contract does not protect the rendered page.

D:

A controlled markup payload displays as inert text while legitimate comments remain readable. This is the observable result required before accepting the correction.

Incorrect Answers

B:

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

C:

Strip only the word script and assume every other markup sequence is safe. That shortcut conflicts with the stated requirement.

E:

This would validate a different case: An ECS application contains long-lived IAM access keys in environment variables even though its task has an assigned execution role. It does not verify the outcome required here.

Question 179

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. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.

  1. A low-privilege user cannot trigger the administrative action while an authorized user receives the expected result.
  2. Treat the Lambda's IAM role as proof every authenticated end user is an administrator.
  3. Use a supported certificate-management lifecycle and verified rotation or deployment process for the authenticated endpoint.
  4. Exercise authenticated-but-unauthorized requests separately from missing or invalid token tests.
  5. A threat-model review shows predictable candidate inputs cannot trivially recover protected identities from public tokens.
  6. Enforce application-level role and resource authorization in the handler before performing privileged actions.

Explanation

Correct Answers

A:

A low-privilege user cannot trigger the administrative action while an authorized user receives the expected result. This is the observable result required before accepting the correction.

D:

Exercise authenticated-but-unauthorized requests separately from missing or invalid token tests. This protects against the following risk: The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.

F:

Enforce application-level role and resource authorization in the handler before performing privileged actions. The underlying cause is: The Lambda execution role controls AWS service access but does not enforce each end user's business permissions.

Incorrect Answers

B:

Treat the Lambda's IAM role as proof every authenticated end user is an administrator. That shortcut conflicts with the stated requirement.

C:

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

E:

This would validate 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 verify the outcome required here.

Question 180

An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID. 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. Retrieve the approved credential from an access-controlled secrets store with narrow runtime authorization and rotation handling.
  3. Use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers.
  4. Define a supported email lookup index or explicit alternate-key mapping and use Query with appropriate authorization.

Explanation

Correct Answer

C:

Use a stable per-customer message group identifier that maintains customer ordering without serializing unrelated customers. It directly addresses the case cause (FIFO ordering serializes messages within one group and the producer has unnecessarily collapsed independent work.) and should be verified by: Parallel customer groups progress independently while sequential updates for one customer retain their order.

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 application stores a rotating partner API key as a hardcoded configuration constant inside deployed source code; it would not repair this incident.

D:

That change addresses an online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address; it would not repair this incident.

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.