CLF-C02 · Question #202
Which AWS service or feature provides a firewall at the subnet level within a VPC?
The correct answer is B. Network ACL. Network ACLs (NACLs) act as stateless firewalls at the subnet level, controlling inbound and outbound traffic for all resources within an entire subnet in a VPC. They evaluate rules in numbered order and can explicitly allow or deny traffic, making them the primary subnet-level s
Question
Which AWS service or feature provides a firewall at the subnet level within a VPC?
Options
- ASecurity group
- BNetwork ACL
- CElastic network interface
- DAWS WAF
How the community answered
(59 responses)- A2% (1)
- B92% (54)
- C2% (1)
- D5% (3)
Explanation
Network ACLs (NACLs) act as stateless firewalls at the subnet level, controlling inbound and outbound traffic for all resources within an entire subnet in a VPC. They evaluate rules in numbered order and can explicitly allow or deny traffic, making them the primary subnet-level security boundary in AWS.
Why the other options are wrong:
- A (Security Groups) operate at the instance level (specifically the ENI level), not the subnet level, and are stateful - they automatically allow return traffic.
- C (Elastic Network Interface) is simply a virtual network card that attaches to EC2 instances; it is not a firewall mechanism.
- D (AWS WAF) is a Web Application Firewall that filters HTTP/HTTPS traffic at the application layer, typically used with CloudFront, ALB, or API Gateway - not within VPC subnets.
Memory Tip: Think "NACL = Network = Neighborhood fence" - it protects the entire neighborhood (subnet), while Security Groups are like locks on individual house doors (instances). The "N" in NACL can remind you of "Network level" protection.
Topics
Community Discussion
No community discussion yet for this question.