A SysOps Administrator is setting up an application on an Amazon EC2 instance in a custom VPC. To allow inbound SSH traffic from the administrator's IP address, the administrator adds an inbound rule to the security control. The administrator wants to ensure that the return outbound traffic from the instance back to the administrator's IP address is automatically permitted without having to define any additional outbound rules. Which security control should the administrator use to meet this requirement?
- Security GroupsAnswer
- BNetwork Access Control Lists (NACLs)
- CVPC Route Tables
- DInternet Gateways
Answer
Security Groups
Security Groups are stateful security controls that operate at the instance level. When an inbound rule is added to allow SSH traffic, the Security Group automatically allows the return outbound traffic back to the client, regardless of any outbound rules configured in the Security Group.
Step-by-Step Solution
Key Concept
Stateful vs Stateless VPC Security Controls