A municipality is deploying a smart parking system that collects sensor data using Amazon EC2 instances located in a private subnet. The network engineering team must design a security controls strategy to govern inbound and outbound traffic at both the subnet boundary and the instance level. Which two of the following statements correctly describe the behavior of the security components needed for this architecture?
- Security groups operate at the instance level and are stateful, meaning that return traffic is automatically allowed regardless of outbound rules.Answer
- Network Access Control Lists (Network ACLs) operate at the subnet level and are stateless, meaning that outbound rules must explicitly allow return traffic for allowed inbound requests.Answer
- CSecurity groups operate at the subnet level and are stateless, requiring explicit outbound rules to permit return traffic for any incoming connection.
- DNetwork Access Control Lists (Network ACLs) operate at the instance level and are stateful, meaning they automatically permit return traffic without evaluating outbound rules.
- EAmazon GuardDuty can be deployed directly inside the private subnet to act as a stateless firewall, blocking malicious IP addresses at the instance network interface.
Answer
Security groups operate at the instance level and are stateful, meaning that return traffic is automatically allowed regardless of outbound rules; and Network Access Control Lists (Network ACLs) operate at the subnet level and are stateless, meaning that outbound rules must explicitly allow return traffic for allowed inbound requests.
The correct answers identify that Security Groups operate at the instance level and are stateful, and Network ACLs operate at the subnet level and are stateless. In a stateful security group, return traffic is automatically allowed. In a stateless Network ACL, outbound rules must be explicitly configured to allow the return traffic.
Step-by-Step Solution
Key Concept
The stateful behavior of Security Groups at the instance level versus the stateless behavior of Network ACLs at the subnet level.