passdrill
AWS SAA-C03 · IAM & Security · Card 002/014 easy

A company wants an IAM role in Account A to be able to read objects from an S3 bucket owned by Account B, without the security team in Account B creating any duplicate IAM user or role. Which approach achieves this directly?

  1. Attach an identity-based policy to the Account A role granting s3:GetObject on the bucket's ARN, since that alone is sufficient for cross-account resource access
  2. Ask Account B to create an IAM user with the same name as the Account A role
  3. Enable S3 Transfer Acceleration on the bucket so cross-account requests bypass IAM checks
  4. Attach a bucket policy (a resource-based policy) on the Account B bucket that names the Account A role's ARN as an allowed principal
Next card → Shuffle