hardmultiple choiceObjective-mapped

A router interface applies this ACL inbound:

10 deny tcp any any eq 80

20 permit ip any any

A user reports that web browsing to a server by IP address fails, but ping works. Which statement best explains the behavior?

Question 1hardmultiple choice
Full question →

A router interface applies this ACL inbound:

10 deny tcp any any eq 80

20 permit ip any any

A user reports that web browsing to a server by IP address fails, but ping works. Which statement best explains the behavior?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Distractor review

The ACL blocks all traffic because the first entry is a deny

The explicit deny affects only traffic that matches line 10, not all traffic.

B

Best answer

The ACL blocks HTTP but allows ICMP

Correct. HTTP matches the deny, while ping is permitted by the later broad permit.

C

Distractor review

The ACL permits HTTP because line 20 overrides line 10

Later ACEs do not override earlier matches; first match wins.

D

Distractor review

The ACL blocks ping because ICMP is not explicitly permitted

ICMP is covered by the general permit ip any any statement on line 20.

Common exam trap

Common exam trap: answer the scenario, not the keyword

A frequent exam trap is believing that the permit statement on line 20 overrides the deny on line 10, allowing HTTP traffic through. Candidates may think that because the permit is broader and appears later, it cancels the earlier deny. However, Cisco ACLs process entries sequentially and stop at the first match. Since the HTTP traffic matches the deny on line 10, it is blocked immediately, and the permit on line 20 is never evaluated for that traffic. Misunderstanding this leads to incorrect conclusions about traffic flow and ACL behavior.

Technical deep dive

How to think about this question

Access Control Lists (ACLs) are fundamental security tools in Cisco networking that filter traffic based on defined criteria. Each ACL consists of Access Control Entries (ACEs) that specify whether to permit or deny traffic matching certain protocols, IP addresses, or ports. When a packet arrives at an interface with an ACL applied inbound, the router evaluates the packet against each ACE in order, starting from the top. The first ACE that matches the packet determines the action taken, either permit or deny, and no further ACEs are checked. In this scenario, the ACL has two entries: line 10 denies TCP traffic destined for port 80, which corresponds to HTTP traffic, and line 20 permits all other IP traffic. When a user attempts to browse a web server by IP address, the HTTP request matches the deny statement and is blocked. However, ping uses ICMP, which is not TCP port 80, so it does not match the deny entry. Instead, it matches the permit ip any any statement, allowing the ping packets through. This behavior explains why ping works but web browsing fails. A common exam trap is misunderstanding how ACLs process entries and assuming later permit statements override earlier denies. In reality, the first matching ACE applies, so the deny on TCP port 80 effectively blocks HTTP traffic regardless of the permit that follows. Practically, this means network administrators must carefully order ACL entries to avoid unintentionally blocking desired traffic. This ACL behavior is critical for securing networks while maintaining legitimate communication paths.

KKey Concepts to Remember

  • An ACL processes packets sequentially from the top down and applies the first matching ACE to the traffic.
  • A deny ACE in an ACL blocks only the specific traffic that matches its criteria and does not block all traffic.
  • A permit ACE in an ACL allows traffic that matches its criteria to pass through the interface.
  • The ACL entry 'deny tcp any any eq 80' blocks all TCP traffic destined for port 80, which is standard HTTP traffic.
  • The ACL entry 'permit ip any any' permits all remaining IP traffic, including ICMP packets used by ping.
  • ICMP traffic is allowed by the general permit IP statement, so ping requests and replies are not blocked by this ACL.
  • In Cisco ACLs, once a packet matches an ACE, no further ACEs are evaluated for that packet.
  • The implicit deny at the end of every ACL blocks any traffic not explicitly permitted by earlier ACEs.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Related practice questions

Related 200-301 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

FAQ

Questions learners often ask

What does this 200-301 question test?

An ACL processes packets sequentially from the top down and applies the first matching ACE to the traffic.

What is the correct answer to this question?

The correct answer is: The ACL blocks HTTP but allows ICMP — ACLs are processed top down. Line 10 denies TCP destination port 80, which blocks HTTP. Line 20 then permits all remaining IP traffic, including ICMP echo packets used by ping.

What should I do if I get this 200-301 question wrong?

Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.

Discussion

Loading comments…

Sign in to join the discussion.