An application developer is deploying an online portal on an Amazon EC2 instance. To meet security requirements, the developer must permit incoming traffic only on HTTPS port 443 and ensure that all return traffic is automatically allowed without configuring additional rules. Which AWS networking feature should the developer configure directly on the instance to meet these requirements?
- ANetwork Access Control List (Network ACL)
- Security GroupAnswer
- CAWS Transit Gateway
- DAmazon GuardDuty
Answer
Security Group
The security group is the correct answer because it operates at the instance level and is stateful. Stateful firewalls automatically allow return traffic for any established connection, eliminating the need to write separate outbound rules for inbound requests.
Step-by-Step Solution
Key Concept
VPC security features including Security Groups and Network ACLs