An organization needs to secure a web application deployed on Amazon EC2 instances. The security administrator must implement a rule to block traffic from a specific malicious IP address before it enters the subnet. Additionally, the administrator wants to allow incoming HTTP traffic to the EC2 instances such that return traffic is automatically allowed without requiring an outbound rule.
Which of the following Amazon VPC security features should the administrator configure to meet these requirements? (Select TWO.)
- Security GroupsAnswer
- Network Access Control Lists (Network ACLs)Answer
- CAWS WAF (Web Application Firewall)
- DAWS Transit Gateway
- EVPC Peering
Answer
Security Groups and Network Access Control Lists (Network ACLs)
The correct options are Security Groups and Network Access Control Lists (Network ACLs). Network ACLs act as a stateless firewall at the subnet level and allow the configuration of explicit deny rules to block a specific malicious IP address before traffic reaches the EC2 instances. Security Groups act as a stateful firewall at the instance level, meaning that once inbound HTTP traffic is permitted, the return outbound traffic is automatically allowed without requiring a matching outbound rule.
Step-by-Step Solution
Key Concept
Understanding the differences between Security Groups (stateful, instance-level, allow-only rules) and Network ACLs (stateless, subnet-level, allow and deny rules) for securing an Amazon VPC environment.