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

A solutions architect must secure a VPC network that hosts Amazon EC2 instances. The EC2 instances contain highly sensitive data and run in a private subnet.
According to company policy, the EC2 instances that run in the VPC can access only approved third-party software repositories on the internet for software product updates that use the third party's URL. Other internet traffic must be blocked.
Which solution meets these requirements?

Answer options

Correct answer: A

Explanation

AWS Network Firewall supports stateful domain list rule groups, which enable outbound traffic filtering based on specific domain names or URLs. Security groups do not support domain-name or URL-based rules, making them unsuitable for this requirement. Additionally, Application Load Balancers and AWS WAF are designed for filtering and distributing inbound traffic to applications, rather than controlling outbound internet access from EC2 instances.