Medium1 markMultiple Choice
Domain 1.1: Secure AccessIAMCross-AccountS3

AWS SAA-C03 · Question 02 · Domain 1.1: Secure Access

A company has two AWS accounts: Account A for development and Account B for production. Developers in Account A need to access an Amazon S3 bucket in Account B to read configuration files.<br/><br/>Which solution meets this requirement with the LEAST operational overhead?

Answer options:

A.

Create IAM users in Account B for each developer in Account A.

B.

Create an IAM role in Account B with access to the S3 bucket. Grant developers in Account A permission to assume the role.

C.

Copy the S3 bucket from Account B to Account A using AWS DataSync.

D.

Make the S3 bucket in Account B public.

How to approach this question

Identify the standard pattern for cross-account access in AWS.

Full Answer

B.Create an IAM role in Account B with access to the S3 bucket. Grant developers in Account A permission to assume the role.✓ Correct
Create an IAM role in Account B with access to the S3 bucket. Grant developers in Account A permission to assume the role.
To grant cross-account access, you create an IAM role in the trusting account (Account B) and grant the trusted account (Account A) permission to assume that role.

Common mistakes

Choosing to create new IAM users in the target account.

Practice the full AWS SAA-C03 Practice Exam 6

65 questions · hints · full answers · grading

More questions from this exam