AWS Certified Solutions Architect – Associate (SAA-C02) — Question 6

A company serves content to its subscribers across the world using an application running on AWS. The application has several Amazon EC2 instances in a private subnet behind an Application Load Balancer (ALB). Due to a recent change in copyright restrictions, the chief information officer (CIO) wants to block access for certain countries.
Which action will meet these requirements?

Answer options

Correct answer: C

Explanation

The correct answer is C because Amazon CloudFront allows you to set geographic restrictions, effectively blocking access from specified countries. Options A and B are incorrect as modifying security groups will not block traffic based on geographic location. Option D is also incorrect because while ALB listener rules can manage traffic, they do not provide a straightforward method for blocking entire countries.