AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company operates under a multi-account strategy where one account is managed by the security engineers and another is operated by a separate team responsible for network administration. The security team needs to allow the network administration team's account access to a specific Amazon S3 bucket without broadening the access to other accounts. Which of the following is the MOST secure way to grant the required access?
Implement a policy for individual users in the security engineers' account that grants permissions to the network administration team.
Set up a bucket policy that limits access to the S3 bucket based on the source IP range of the network administration team's office location.
Edit the S3 bucket's Access Control List (ACL) to include the user identifiers from the team handling network administration.
Attach a resource-based policy directly to the S3 bucket identifying the network administration team's account as the principal with the specified permissions.
The most secure way to grant the network administration team's account access to a specific Amazon S3 bucket without broadening access to other accounts is by attaching a resource-based policy to the S3 bucket that explicitly specifies the network administration team's account as a principal with the necessary permissions. This method ensures that only the designated account has the required access to the S3 bucket. Using IAM user policies or modifying ACLs would not be sufficient because they do not provide a way to restrict access at the account level. Restricting access based on IP address may provide some network-level restriction but does not align with the requirement to limit access to only one specific account regardless of IP address and would not effectively control account-level access.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a resource-based policy in AWS?
Open an interactive chat with Bash
What are the differences between resource-based policies and IAM policies?
Open an interactive chat with Bash
Why is using IAM user policies or modifying ACLs less secure than using a resource-based policy?