A startup is designing a secure multi-tier environment in an Amazon VPC. They require a network security control at the subnet boundary that does not track connection state, meaning inbound and outbound traffic must be allowed via explicit, separate rules. For individual Amazon EC2 instances, they require a firewall that automatically allows outbound return traffic if the inbound request is permitted. Which combination of AWS network security features should the startup implement to meet these requirements?
- Network Access Control Lists (NACLs) at the subnet level, and Security Groups at the instance level.Answer
- BSecurity Groups at the subnet level, and Network Access Control Lists (NACLs) at the instance level.
- CNetwork Access Control Lists (NACLs) configured in stateful mode at both the subnet and instance levels.
- DAWS WAF at the subnet level, and Security Groups in stateless mode at the instance level.
Answer
Network Access Control Lists (NACLs) at the subnet level, and Security Groups at the instance level.
The correct option is correct because Network Access Control Lists (NACLs) are stateless and applied at the subnet boundary, fulfilling the requirement for separate inbound/outbound evaluation. Security Groups are stateful and applied at the instance level, fulfilling the requirement for automatic return traffic permission.
Step-by-Step Solution
Key Concept
Stateful vs. Stateless AWS Network Security Features