Security and Compliance
All SCPs applicable to a member account allow s3:ListAllMyBuckets, but a new IAM role has no permissions policies. Its request to list buckets is denied. What should a CloudOps engineer do?
Show the answer
Correct answerC. Grant s3:ListAllMyBuckets in the role's IAM policy.
AWhy not this: A role trust policy controls who can assume the role, not which S3 actions the role can perform.
BWhy not this: Another SCP allow does not grant permissions to the role.
CWhy this is right: An identity-based policy grants the role the required action within the limits established by SCPs.
DWhy not this: AWS Config evaluates resource compliance; its rules do not grant API permissions.
SCPs define the maximum available permissions; they do not grant permissions. The role needs an IAM policy allowing the action, while its trust policy controls who can assume it.