AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 242

A company uses AWS Network Firewall to protect outgoing traffic for multiple VPCs that are in the same AWS account. Each VPC contains Amazon EC2 instances that host the company's applications. Each EC2 instance is tagged with the name of the application it hosts. The EC2 instances are in Auto Scaling groups.

A Network Firewall stateful rule group must remain up-to-date, even when an Auto Scaling group launches and terminates EC2 instances.

Which solution will meet this requirement with the LEAST implementation and administrative effort?

Answer options

Correct answer: D

Explanation

Option D is correct because using resource groups allows for automatic updates to the stateful rule group based on the ARN, which aligns with the dynamic nature of Auto Scaling. Options A and B require additional management of ACLs and prefix lists, which increases administrative overhead. Option C, while functional, involves more complexity and effort than necessary compared to the simplicity of using resource groups.