AWS Certified Solutions Architect – Professional — Question 74

You are designing a data leak prevention solution for your VPC environment. You want your VPC Instances to be able to access software depots and distributions on the Internet for product updates. The depots and distributions are accessible via third party CDNs by their URLs.
You want to explicitly deny any other outbound connections from your VPC instances to hosts on the internet.
Which of the following options would you consider?

Answer options

Correct answer: A

Explanation

Option A is correct because configuring a web proxy server allows for URL-based rules, which can specifically permit access to the desired software depots while denying all other outbound connections. Option B is incorrect as security groups alone may not handle URL-based filtering. Option C would limit instances too much by isolating them in private subnets, preventing necessary updates. Option D does not provide the granularity needed for URL-based access control.