An application developer is configuring security rules for an Amazon EC2 instance. They notice that when they allow inbound traffic on a specific port, the return outbound traffic is automatically allowed without requiring an explicit outbound rule. Which AWS network security component exhibits this stateful behavior?
- ANetwork Access Control Lists (Network ACLs)
- Security GroupsAnswer
- CAmazon GuardDuty
- DAWS Shield
Answer
Security Groups
Security Groups are stateful firewalls operating at the instance level. Any permitted inbound connection automatically allows the corresponding outbound return traffic, regardless of the outbound rules.
Step-by-Step Solution
Key Concept
Stateful and stateless network filtering in AWS (Security Groups vs. Network ACLs)
Estimated Time:45s