AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 209

A company manages multiple AWS accounts by using AWS Organizations with OUs for the different business divisions. The company is updating their corporate network to use new IP address ranges. The company has 10 Amazon S3 buckets in different AWS accounts. The S3 buckets store reports for the different divisions. The S3 bucket configurations allow only private corporate network IP addresses to access the S3 buckets.

A DevOps engineer needs to change the range of IP addresses that have permission to access the contents of the S3 buckets. The DevOps engineer also needs to revoke the permissions of two OUs in the company.

Which solution will meet these requirements?

Answer options

Correct answer: C

Explanation

Option C is correct because it directly addresses the need to allow access only from the new IP addresses and revokes access through a new SCP, which can be attached to the OUs. Options A and D incorrectly use permissions boundaries which do not effectively revoke access as required. Option B fails to implement the necessary resource-based policies for the S3 buckets themselves.