A role in account A has an identity policy allowing GetObject on an unencrypted S3 object in account B, but the bucket policy grants no cross-account access. With no explicit denies or other restrictions, which change enables access?
Show the answer
Correct answerC. Allow the role in the bucket policy.
AWhy not this: A permissions boundary limits identity permissions; it does not grant access from the bucket owner's account.
BWhy not this: A session policy limits session permissions; it cannot supply the bucket owner's authorization.
CWhy this is right: The bucket owner's resource-based grant supplies the missing cross-account authorization.
DWhy not this: A role trust policy controls role assumption, not access to objects owned by another account.
Cross-account S3 access requires permission from both the principal's account and the resource owner's account. A bucket policy granting the role access supplies the missing resource-side permission; a role trust policy instead controls who can assume the role.