100% Latest & Updated Amazon AWS Certified Developer - Associate DVA-C02 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 490
A support API exposes full customer card details from DynamoDB even though agents need only last four digits and a reference code. Which engineering change best addresses the underlying issue?
- Return an allowlisted projection with approved masking and enforce least-privilege access for support roles.
- Use an approved KMS-backed envelope encryption design and protect data keys according to the application threat model.
- Constrain the authorizer policy to appropriate method ARNs and bind per-request authorization to the intended user/resource context.
- Require authenticated TLS transport and approved endpoint identity validation for the outbound request.
Explanation
Correct Answer
A:Return an allowlisted projection with approved masking and enforce least-privilege access for support roles. It directly addresses the case cause (The response model does not enforce data minimization and permits sensitive fields beyond the support purpose.) and should be verified by: An agent sees only the permitted masked representation, and a request for restricted fields is denied.
Incorrect Answers
B:That change addresses a DynamoDB application encrypts customer values with a shared manually managed data key stored as plaintext in its repository; it would not repair this incident.
C: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.
D:That change addresses a developer encrypts a sensitive payload at rest with an S3 bucket setting but sends that payload over an unencrypted partner HTTP connection; it would not repair this incident.
Question 491
A team applies a reviewed fix for this situation: An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. Which observed outcome would most convincingly validate the fix?
- A forced timeout results in one committed partner operation and a queryable final business status.
- A fixture larger than one response page reconciles every expected object key without duplicate processing.
- Peak traffic distributes across partitions without losing authorized tenant retrieval behavior.
- A controlled poison message is retried or isolated while successful messages are not needlessly reprocessed.
Explanation
Correct Answer
B:A fixture larger than one response page reconciles every expected object key without duplicate processing. This verifies the result of iterate through continuation tokens using the supported SDK paginator until the complete intended key set is exhausted.
Incorrect Answers
A:This would verify another situation: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. It does not validate the current case.
C:This would verify another situation: A DynamoDB table partitions all tenant activity by one static calendar-day key and hot writes throttle despite spare overall capacity. It does not validate the current case.
D:This would verify another situation: One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. It does not validate the current case.
Question 492
A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. Which engineering change best addresses the underlying issue?
- Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics.
- Configure the actual application readiness path and verify target-group and container health timing under the release.
- Publish a bounded business-success custom metric with clearly defined labels and correlate it with actual accepted payments.
- Correlate DynamoDB throttling and partition metrics with Lambda request traces and adjust access patterns or capacity within limits.
Explanation
Correct Answer
A:Use bounded parallel calls where safe and consider caching appropriate repeated reads without altering error semantics. It directly addresses the case cause (The application introduces avoidable serialized dependency time in an otherwise independent read path.) and should be verified by: End-to-end latency decreases under load while all independent required response fields remain correct.
Incorrect Answers
B: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 application reports frequent downstream DynamoDB 429-style throttles but dashboards show low function CPU and developers assume the handler is healthy; it would not repair this incident.
Question 493
A publishing service sends an SNS notification to every subscriber even though only the fraud service should receive alerts with eventType equal to high_risk. Which technical dependency most directly explains this behavior?
- The indexed field mapping does not represent the numeric comparison semantics required by the application.
- The subscription has no effective message-attribute filtering contract and routes all eligible published messages.
- The configured ephemeral storage capacity is independent of available function memory and is undersized for peak intermediates.
- Uncertain success and non-idempotent updates allow a repeated request to apply the stock change more than once.
Explanation
Correct Answer
B:The subscription has no effective message-attribute filtering contract and routes all eligible published messages. The corresponding fix is to publish the intended message attributes and configure a subscription filter policy for the fraud alert category.
Incorrect Answers
A:This diagnosis addresses another AWS case: A customer search feature indexes JSON documents in OpenSearch but maps product price as text and numeric range filters behave incorrectly. The dependency here is different.
C: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.
D:This diagnosis addresses another AWS case: An order service increments a DynamoDB inventory balance twice after a transient network retry of the same purchase request. The dependency here is different.
Question 494
After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment.
- Perform clean package builds with dependency locks and deployment-artifact smoke tests before release.
- Rehearse rollback and retain version-to-source mappings for each promoted release.
- Validate image provenance and reject release configurations that rely only on mutable tags.
- Require clean-build checks and artifact provenance during release promotion.
Explanation
Correct Answer
A:Perform clean package builds with dependency locks and deployment-artifact smoke tests before release. This safeguards against a recurring cause: The published package does not contain the runtime dependency closure expected by the handler.
Incorrect Answers
B:That safeguard addresses another case: A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. It is not the control for this recurring failure.
C:That safeguard addresses another 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. It is not the control for this recurring failure.
D:That safeguard addresses another case: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. It is not the control for this recurring failure.
Question 495
A deployment pipeline sends a test event to a Lambda but never asserts output values, so a handler returns HTTP 200 with an invalid business result. Select THREE complementary measures that correctly repair and validate, and prevent recurrence of this failure.
- Maintain positive and negative test events with explicit expected outcomes for published handler versions.
- Count every invocation that avoids a crash as passing functional QA.
- A rollback restores the identical image digest and reproduces the previous known-good application behavior.
- Record immutable published versions and implement a tested rollback through alias or supported deployment controls.
- Assert response schema, important business fields, and expected side effects against a controlled fixture.
- A deliberately incorrect response causes the deployment test to fail before production promotion.
Explanation
Correct Answers
A:Maintain positive and negative test events with explicit expected outcomes for published handler versions. This protects against the following risk: A successful function invocation is incorrectly treated as proof that its domain logic is correct.
E:Assert response schema, important business fields, and expected side effects against a controlled fixture. The underlying cause is: A successful function invocation is incorrectly treated as proof that its domain logic is correct.
F:A deliberately incorrect response causes the deployment test to fail before production promotion. This is the observable result required before accepting the correction.
Incorrect Answers
B:Count every invocation that avoids a crash as passing functional QA. That shortcut conflicts with the stated requirement.
C:This would validate a different case: 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 verify the outcome required here.
D:That corrective action is for a different case: A Lambda alias was shifted to an unhealthy version, but operators cannot restore the last known-good version because deployment metadata records only latest. It does not resolve this incident.
Question 496
An EventBridge rule meant to match a new payment event stops invoking its Lambda target after the producer changes detail-type capitalization. Select TWO complementary measures that correctly repair and validate this failure.
- A synthetic event with the approved envelope matches and reaches the authorized target exactly as intended.
- Enable supported partial batch response behavior and return failed message identifiers while keeping sink effects idempotent.
- A controlled invocation opens the intended database connection without exposing its port to the public internet.
- Set the rule to accept all event types from every account permanently.
- Update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions.
Explanation
Correct Answers
A:A synthetic event with the approved envelope matches and reaches the authorized target exactly as intended. This is the observable result required before accepting the correction.
E:Update the producer event contract or the rule's detail-type pattern and confirm the intended event bus and target permissions. The underlying cause is: Event patterns match exact fields and the producer's event envelope no longer matches the deployed rule.
Incorrect Answers
B:That corrective action is for a different case: One malformed record in an SQS batch makes a Lambda handler raise an exception and all previously processed messages reappear after visibility timeout. It does not resolve this incident.
C: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:Set the rule to accept all event types from every account permanently. That shortcut conflicts with the stated requirement.
Question 497
A Kubernetes-style container endpoint reports ready whenever the process runs but cannot serve requests until its downstream cache warms after startup. Which technical dependency most directly explains this behavior?
- The health probe measures process existence instead of the application's actual request-readiness prerequisites.
- Insufficient allocated compute resources prolong CPU-bound execution and can make total runtime less cost-efficient.
- The edge distribution's caching policy is inconsistent with the versioned static-content access pattern.
- The application introduces avoidable serialized dependency time in an otherwise independent read path.
Explanation
Correct Answer
A:The health probe measures process existence instead of the application's actual request-readiness prerequisites. The corresponding fix is to implement a lightweight readiness endpoint that reflects required startup dependencies without exposing secrets.
Incorrect Answers
B:This diagnosis addresses another AWS case: A Lambda function is configured with very low memory and CPU allocation; its compute-heavy document conversion spends most time in local processing. The dependency here is different.
C:This diagnosis addresses another AWS case: A CloudFront-served application sends all static asset requests to the origin because cache-control and behavior rules effectively disable caching. The dependency here is different.
D:This diagnosis addresses another AWS case: A mobile backend makes five sequential AWS SDK calls for independent reads and misses its API latency SLA despite low individual service latency. The dependency here is different.
Question 498
After resolving the following incident, which ongoing safeguard most directly prevents recurrence? A production release reuses a staging API Gateway stage variable that resolves to a sandbox DynamoDB table with test customer records.
- Require clean-build checks and artifact provenance during release promotion.
- Require both mocked handler tests and scoped deployed-service authorization tests before promotion.
- Add resource-identity assertions and denied test-resource references to the deployment gate.
- Audit image digest provenance and reject mutable-only release identifiers in production pipelines.
Explanation
Correct Answer
C:Add resource-identity assertions and denied test-resource references to the deployment gate. This safeguards against a recurring cause: Environment-specific runtime configuration is not validated against the production deployment boundary.
Incorrect Answers
A:That safeguard addresses another case: A CodePipeline source revision succeeds but a CodeBuild project produces an artifact containing files from an earlier unclean local build. It is not the control for this recurring failure.
B:That safeguard addresses another case: A Lambda function passes mocked unit tests but fails in a real account because its execution role cannot read the intended DynamoDB table. It is not the control for this recurring failure.
D:That safeguard addresses another case: An ECS service uses an image tag named latest and a rollback launches a different container image than the previous production version. It is not the control for this recurring failure.
Question 499
A team applies a reviewed fix for this situation: A Lambda function invokes a slow partner API and frequently times out, causing clients to retry a write whose completion status is unknown. Which observed outcome would most convincingly validate the fix?
- Parallel customer groups progress independently while sequential updates for one customer retain their order.
- Login lookups use a bounded key-based access path and avoid reading unrelated account records.
- A fixture larger than one response page reconciles every expected object key without duplicate processing.
- A forced timeout results in one committed partner operation and a queryable final business status.
Explanation
Correct Answer
D:A forced timeout results in one committed partner operation and a queryable final business status. This verifies the result of use deadline-aware outbound calls, an idempotency key and durable processing state or a suitable asynchronous workflow.
Incorrect Answers
A:This would verify another situation: An SQS FIFO worker processes updates for unrelated customers slowly because every message is assigned the identical message group ID. It does not validate the current case.
B:This would verify another situation: An online DynamoDB account lookup performs a full Scan for every login even though users always supply an email address. It does not validate the current case.
C:This would verify another situation: An AWS SDK program lists the first page of S3 objects and a nightly reconciliation misses records once a prefix exceeds the page limit. It does not validate the current case.
Question 500
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. Select TWO complementary measures that correctly repair and validate this failure.
- Delete event validation so every shape is processed as if it were correct.
- Build representative EventBridge envelopes and run handler contract tests against the actual integration schema.
- The deployed target accepts the real envelope and rejects malformed events with controlled errors.
- Bundle or layer the tested compatible dependency set and validate imports from the actual deployment artifact.
- A rollback restores the identical image digest and reproduces the previous known-good application behavior.
Explanation
Correct Answers
B:Build representative EventBridge envelopes and run handler contract tests against the actual integration schema. The underlying cause is: The test fixture does not represent the service's documented event envelope.
C:The deployed target accepts the real envelope and rejects malformed events with controlled errors. This is the observable result required before accepting the correction.
Incorrect Answers
A:Delete event validation so every shape is processed as if it were correct. That shortcut conflicts with the stated requirement.
D:That corrective action is for a different case: A Lambda deployment artifact is built without a required Python dependency, and the function raises ImportError immediately after deployment. It does not resolve this incident.
E:This would validate a different case: 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 verify the outcome required here.
AWS Certified Developer - Associate DVA-C02 Practice Tests