Configuring Inbound Firewall Rules to Block Malicious IPs

SY0-701 By islever Editorial Last updated

Given a scenario, modify enterprise capabilities to enhance security of the enterprise. Given a scenario, apply common security techniques to computing resources.

Short answer

B Block inbound traffic from source 10.1.4.9/32 to any destination using a deny rule.

Question

During a security incident, the security operations team identified sustained network traffic from a malicious IP address: 10.1.4.9. A security analyst is creating an inbound firewall rule to block the IP address from accessing the organization’s network. Which of the following fulfills this request?
  1. access-list inbound deny ip source 0.0.0.0/0 destination 10.1.4.9/32
  2. access-list inbound deny ip source 10.1.4.9/32 destination 0.0.0.0/0 Correct Answer
  3. access-list inbound permit ip source 10.1.4.9/32 destination 0.0.0.0/0
  4. access-list inbound permit ip source 0.0.0.0/0 destination 10.1.4.9/32

Key Takeaways

The main trap is confusing source and destination roles in inbound ACLs; the malicious IP is always the source in an inbound context.

This question tests configuring inbound firewall rules to block a specific malicious IP address. The correct solution uses a deny rule targeting the source IP as the attacker.

Common mistake: Option A is incorrect because it reverses the source and destination, attempting to block traffic sent TO the malicious IP rather than FROM it.

Expert Analysis

The core task is to construct a firewall rule that blocks traffic originating from a specific malicious IP address (10.1.4.9) entering the organization's network. In Access Control List (ACL) syntax, the direction 'inbound' refers to traffic entering the interface where the ACL is applied. Therefore, the source of the traffic is the external malicious IP, and the destination is any internal resource.

Option B correctly specifies source 10.1.4.9/32 as the malicious host and destination 0.0.0.0/0 as any internal target, with an action of deny. The /32 subnet mask ensures an exact match for the single IP address, preventing accidental blocking of other hosts in a broader range. The 0.0.0.0/0 wildcard or CIDR notation represents 'any' destination, which is appropriate when the goal is to block access to the entire internal network from this threat.

Option A incorrectly swaps the source and destination; it attempts to deny traffic from any IP to the malicious IP, which does not stop the malicious IP from attacking inward. Options C and D use permit, which would allow the traffic rather than block it. The comments provided by users consistently identify Option B as correct, noting that the source must be the attacker and the action must be deny. This aligns with standard security operations practices for incident response: isolate the threat by denying its inbound path.

Exam Strategy

Always identify the direction of the traffic relative to the protected network first. For 'inbound' rules, the attacker is the source and the internal network is the destination. Use /32 masks for precise single-IP blocking to avoid collateral damage.

Frequently Asked Questions

Why is /32 used for the IP address?

A /32 subnet mask indicates an exact match for a single IPv4 address. It ensures only the specific malicious IP (10.1.4.9) is blocked, avoiding unintended restrictions on other hosts.

What does 0.0.0.0/0 represent?

In this context, 0.0.0.0/0 represents 'any' or 'all' destinations. It ensures the deny rule applies regardless of which internal resource the malicious IP tries to access.

More SY0-701 FAQ →

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 7 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 7

  1. ezbait1994 👍 3 Answered B
    Source IP: 10.1.4.9/32 is the malicious IP address, so firewall will just block the IP address of 10.1.4.9/32
  2. rjbb 👍 3
    A correction to this, /32 would block only this IP address. but B is still the correct answer.
  3. Mehsotopes 👍 2 Answered B
    /32 would cover all possible subnets, & their communicating devices within the IP range, & destination 0.0.0.0/0 would cover the gateway surface of your network.
  4. dklzvndjc 👍 1 Answered B
    Source: 10.1.4.9/32 specifies the exact malicious IP address to block. Destination: 0.0.0.0/0 indicates all possible destinations within the network. Action: deny specifies that traffic from this source IP should be blocked. • Scenario Application: Blocking Malicious IP: This rule effectively blocks any incoming traffic from the IP address 10.1.4.9 from accessing any part of the network. Inbound Rule: As an inbound rule, it prevents traffic from the specified IP from entering the network, which aligns with the requirement to block the malicious IP. This rule directly addresses the need to block the specified IP address, fulfilling the requirement by denying access to all destinations, effectively preventing any communication from the malicious IP.
  5. jaslee 👍 1
    /32 means one specific address (a standard IPv4 address is for 8-bit sections called octets or 32 bits total) this leaves no room for error when telling the firewall to ensure an exact match in blocking the malicious IP address
Show 2 more comments
  1. ken2ut 👍 1 Answered B
    Since IP is coming from the outside, its entry is blocked by implementing deny inbound
  2. jaslee 👍 1
    *correction four>for

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All SY0-701 Questions

Access 100 questions with complete answers and detailed explanations.

View Full SY0-701 Practice Test →

← Back to SY0-701 Study Guide