An online education platform hosts its virtual classroom application on Amazon EC2 instances within a public subnet of a VPC. To enhance security, the network administrator must meet two requirements:
1. Block all inbound traffic from a known list of malicious IP addresses before it reaches the subnet.
2. Ensure the EC2 instances accept inbound HTTPS traffic on port 443, while automatically allowing the outbound response traffic back to the clients without configuring any outbound rules.
Which combination of AWS security features will satisfy these requirements?
- AA Security Group at the instance level to deny the malicious IP addresses, and a Network Access Control List (NACL) at the subnet level to allow inbound port 443 traffic
- BA Security Group at the subnet level to deny the malicious IP addresses, and a Network Access Control List (NACL) at the instance level to allow inbound port 443 traffic
- A Network Access Control List (NACL) at the subnet level to deny the malicious IP addresses, and a Security Group at the instance level to allow inbound port 443 trafficCevap
- DA Network Access Control List (NACL) at the subnet level to deny the malicious IP addresses, and Amazon Inspector at the instance level to automatically allow the return traffic
Cevap
A Network Access Control List (NACL) at the subnet level to deny the malicious IP addresses, and a Security Group at the instance level to allow inbound port 443 traffic
The correct option is the one specifying a Network Access Control List (NACL) at the subnet level to deny the malicious IP addresses, and a Security Group at the instance level to allow inbound port 443 traffic. A NACL operates at the subnet level and supports explicit deny rules, which satisfies the first requirement of blocking specific IP addresses. A Security Group operates at the instance level and is stateful, which automatically allows return traffic for any established inbound connection, meeting the second requirement without needing outbound rules.
Adım Adım Çözüm
Anahtar Kavram
Stateful vs. Stateless network filtering in AWS VPC (Security Groups vs. Network ACLs)