Question 180
A team proposes a remedy for this production requirement: A privacy application stores PII in S3 and wants access only through a specific VPC endpoint from two accounts. Which result verifies that it works?
Explanation
Correct Answer
This result tests the intended AWS behavior for this case. The implementation is: Enforce bucket policies with expected VPC endpoint and principal conditions, with safe administrative exceptions. Bucket resource policy conditions can restrict data-plane access by endpoint and principal.
Incorrect Answers
That outcome belongs to another AWS scenario: A customer web application must use OAuth/OIDC user identities rather than store credentials in custom EC2 session tables. The corresponding solution is: Integrate Amazon Cognito user pools or an approved external IdP with token validation.
That outcome belongs to another AWS scenario: A regulated company needs a repeatable patch baseline for fleets of Amazon EC2 instances across accounts. The corresponding solution is: Use Systems Manager Patch Manager policies with maintenance windows and compliance reporting.
That outcome belongs to another AWS scenario: A finance service requires encrypted DynamoDB storage and strict access to a single table partition key. The corresponding solution is: Combine managed encryption at rest with IAM leading-key conditions where supported.