AWS Network Firewall with Auto Scaling and Resource Groups
Short answer
D Create a resource group for each application name. Reference the Amazon Resource Name (ARN) for the resource groups in the stateful rule group.
Question
Key Takeaways
The exam tests knowledge of AWS Network Firewall's native support for Resource Group ARNs to automatically reflect changes in instance tags without manual intervention or custom code.
This question tests the integration of AWS Network Firewall with dynamic infrastructure using Resource Groups. The community consensus is that Resource Groups provide a zero-maintenance, tag-based solution for updating firewall rules as instances scale.
Common mistake: Candidates often choose Prefix Lists (Option B), assuming they are the standard dynamic IP management tool. However, Prefix Lists require manual updates or complex Lambda automation to track specific instance IPs, whereas Resource Groups handle this natively via tags.
Expert Analysis
Why the Answer Is Correct
Option D is correct because AWS Network Firewall supports referencing Resource Groups directly in stateful rule groups. When you create a resource group based on EC2 instance tags, it automatically includes new instances launched by Auto Scaling and excludes terminated ones. This eliminates the need for any custom scripting or manual IP management.
Why the Other Options Are Wrong
Option A is incorrect because Network ACLs operate at the subnet level and do not integrate with Network Firewall stateful rules. Option B is incorrect because while Prefix Lists are dynamic for CIDR blocks, they do not automatically update based on EC2 instance tags or individual IP addresses without external configuration. Option C involves significant administrative effort to write, deploy, and maintain a Lambda function, violating the 'least effort' requirement.
Community Comment Notes
Comment [1] and [2] correctly cite the official documentation confirming that Resource Groups can be used with Network Firewall. Comment [3] incorrectly claims Resource Groups cannot be referenced, which contradicts current AWS capabilities; this highlights a common misconception among candidates relying on outdated information.
Community Votes
83% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
c1193d4 👍 3 Answered DD: because a tag-based resource group can be created : see https://docs.aws.amazon.com/network-firewall/latest/developerguide/resource-groups.html
-
woorkim 👍 2 Answered Dbecause: Resource groups automatically update membership based on tags No ongoing maintenance required once set up Handles Auto Scaling events automatically Minimal implementation effort (just create groups and reference ARNs) No custom code or manual updates needed Works with Network Firewall's native capabilities
-
ashk123456 👍 1 Answered BPrefix lists in AWS are dynamic collections of IP address ranges (CIDR blocks) that can be referenced within Network Firewall rules. When you maintain and update a prefix list to include the subnets where your Auto Scaling groups operate, the Network Firewall rules automatically apply to any new instances launched in those subnets. ❌ D. Resource groups cannot be referenced in firewall rule groups. ----AWS Network Firewall does not support referencing resource groups in rule groups.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All ANS-C01 Questions
Access 137 questions with complete answers and detailed explanations.
View Full ANS-C01 Practice Test →