A company's security team identifies malicious traffic originating from a single public IP address (). A solutions architect must immediately block all incoming traffic from this specific IP address to an entire public subnet. Which of the following actions should the solutions architect take to meet this requirement?
- Add an inbound deny rule for the malicious IP address in the Network Access Control List (Network ACL) associated with the public subnet.Answer
- BAdd an inbound deny rule for the malicious IP address in the Security Group associated with the EC2 instances in the public subnet.
- CAssociate a new AWS WAF web ACL with the public subnet and create a rule to block the malicious IP address.
- DModify the route table associated with the public subnet to route the malicious IP address to a blackhole target.
Answer
Add an inbound deny rule for the malicious IP address in the Network Access Control List (Network ACL) associated with the public subnet.
The correct answer describes adding an inbound deny rule to the Network ACL associated with the public subnet. Network ACLs operate at the subnet level and are stateless, allowing Solutions Architects to define both allow and deny rules. This allows for blocking a single malicious IP address from reaching any resource inside the subnet.
Step-by-Step Solution
Key Concept
Subnet-level traffic filtering using Network ACLs