Company A (Account A) acquired Company B (Account B). Company B stores files in an Amazon S3 bucket. Administrators granted an IAM user in Account A permissions to access the S3 bucket in Account B, but the user still cannot access the objects. What action will resolve this?
Choose an answer
Tap an option to check your answer.
Correct answer: In Account B, add a bucket policy that grants the user from Account A access to the S3 bucket..
Why this is the answer
The correct solution is to add a bucket policy in Account B that grants the IAM user from Account A access. S3 bucket policies are resource-based policies attached directly to the S3 bucket. They are the primary mechanism for cross-account access to S3 buckets, allowing you to specify principals (like an IAM user from another account) and the actions they can perform on the bucket and its objects. Creating a bucket ACL or object ACL is generally not recommended for managing cross-account access in this scenario. While ACLs can grant some permissions, bucket policies offer more granular control and are the preferred method for managing access permissions, especially cross-account. Creating a user policy in Account B is incorrect because user policies are attached to users within the same account and cannot grant permissions to users in a different AWS account.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed