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

A company operates sensitive workloads across the AWS accounts that are in the company's organization in AWS Organizations. The company uses an IP address range to delegate IP addresses for Amazon VPC CIDR blocks and all non-cloud hardware.

The company needs a solution that prevents principals that are outside the company’s IP address range from performing AWS actions in the organization's accounts.

Which solution will meet these requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because Service Control Policies (SCPs) in AWS Organizations can explicitly deny actions based on source IP addresses, ensuring that any requests from outside the company's IP range are blocked. Options A and C focus on different services that do not directly restrict AWS actions based on IP addresses, while D allows actions from within the IP range but does not prevent outside access.