Question 220
An S3 dataset is shared with a separate AWS account and the owner requires access restricted to one specific consuming role. Which design most directly meets this requirement?
Explanation
Correct Answer
Specific role principals prevent generic cross-account bucket access. In this situation, the authorized role reads the prefix and another role in the same external account is denied. The decision can be verified by that concrete result.
Incorrect Answers
Snapshot sharing and associated key authorization are distinct requirements for encrypted copies. That relates to a different need: a database team must securely share snapshots containing customer data with a different AWS account.
Explicit upload conditions constrain the encryption configuration chosen by clients. That relates to a different need: a data owner wants S3 uploads denied whenever clients omit the required approved KMS key identifier.
Default volume encryption reduces the chance of accidentally launching plaintext EBS storage. That relates to a different need: an enterprise requires data-at-rest encryption of new EBS volumes across all accounts by default.