A developer is troubleshooting connectivity to an Amazon EC2 instance and needs to analyze the firewall settings. The developer must evaluate the differences in behavior between security groups and network access control lists (network ACLs). Which two statements correctly describe how traffic is processed by these security features? (Select TWO.)
- Security groups are stateful firewalls that automatically allow return traffic for allowed inbound requests.Answer
- Network Access Control Lists (network ACLs) are stateless firewalls that require explicit rules for both inbound and outbound traffic.Answer
- CSecurity groups operate at the subnet level to secure all EC2 instances within that subnet.
- DNetwork Access Control Lists (network ACLs) operate at the instance level to secure individual EC2 instances.
- EAWS automatically configures and manages all security group rules for customer-deployed EC2 instances.
Answer
Security groups are stateful firewalls that automatically allow return traffic, and Network Access Control Lists (network ACLs) are stateless firewalls that require explicit rules for both inbound and outbound traffic.
Security groups are stateful, meaning they track connection states and automatically allow return traffic for any established connection. Network ACLs are stateless, meaning they evaluate traffic in both directions independently and require explicit rules for both inbound and outbound traffic flow.
Step-by-Step Solution
Key Concept
Stateful vs. Stateless VPC Firewalls
Estimated Time:1m 0s