CCNA Network Services and Security Practice Question
Network Topology
You are connected to R1. The network currently permits all HTTP traffic from hosts on the 192.168.1.0/24 LAN to reach the web server at 203.0.113.10, but SSH traffic (TCP port 22) from the same LAN is being blocked. Additionally, you must ensure that no other traffic from the LAN reaches the server. Configure an extended ACL on R1 to allow only HTTP and SSH from the LAN to the server, and apply it inbound on the correct interface. Verify your solution.
⚠ Common exam trap
The trap is that candidates may try to modify the existing ACL without realizing it contains a permit ip any any statement that would still allow all traffic. Also, they may apply the ACL on the wrong interface or in the wrong direction. Always check the existing ACL entries and apply ACLs inbound on the interface closest to the source.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Remove the existing ACL from the interface, delete the ACL, create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it inbound on GigabitEthernet0/0.
The existing ACL BLOCK_SSH is applied inbound on GigabitEthernet0/0 and explicitly denies SSH from the LAN to the server, but permits all other IP traffic (including HTTP). The requirement is to allow only HTTP and SSH, blocking everything else. The solution is to remove the current ACL from the interface, delete the ACL, create a new extended ACL that permits tcp from the LAN to the server for ports 80 (HTTP) and 22 (SSH), and implicitly deny all other traffic, then reapply it inbound on GigabitEthernet0/0.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Remove the existing ACL from the interface, delete the ACL, create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it inbound on GigabitEthernet0/0.
Why this is correct
This is correct because the existing ACL BLOCK_SSH denies SSH but permits all other traffic, which does not meet the requirement to block everything except HTTP and SSH. By removing and deleting the old ACL, creating a new ACL that explicitly permits only HTTP and SSH, and applying it inbound on the LAN-facing interface, the implicit deny at the end of the ACL will block all other traffic from the LAN to the server.
- ✗
Modify the existing ACL BLOCK_SSH by adding a permit statement for HTTP and changing the deny SSH to permit SSH, then reapply it inbound on GigabitEthernet0/0.
Why it's wrong here
This is incorrect because the existing ACL BLOCK_SSH has a permit ip any any statement at the end, which would still allow all other traffic. Simply modifying the deny SSH to permit SSH and adding a permit HTTP would not remove the permit ip any any, so all traffic would still be permitted.
- ✗
Create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it inbound on GigabitEthernet0/1 (the WAN interface).
Why it's wrong here
This is incorrect because the ACL should be applied inbound on the interface closest to the source of the traffic, which is GigabitEthernet0/0 (the LAN interface). Applying it inbound on the WAN interface would not filter traffic as it enters the router from the LAN; it would only filter traffic coming from the WAN.
- ✗
Create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it outbound on GigabitEthernet0/0.
Why it's wrong here
This is incorrect because the ACL should be applied inbound on the LAN interface to filter traffic as it enters the router. Applying it outbound on the same interface would filter traffic leaving the router towards the LAN, which is not the direction of the traffic flow from LAN to server.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓Remove the existing ACL from the interface, delete the ACL, create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it inbound on GigabitEthernet0/0.Correct answer▾
Why this is correct
This is correct because the existing ACL BLOCK_SSH denies SSH but permits all other traffic, which does not meet the requirement to block everything except HTTP and SSH. By removing and deleting the old ACL, creating a new ACL that explicitly permits only HTTP and SSH, and applying it inbound on the LAN-facing interface, the implicit deny at the end of the ACL will block all other traffic from the LAN to the server.
✗Modify the existing ACL BLOCK_SSH by adding a permit statement for HTTP and changing the deny SSH to permit SSH, then reapply it inbound on GigabitEthernet0/0.Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that the existing ACL contains a permit ip any any statement that would override any specific denies, allowing all traffic.
Why candidates choose this
Candidates pick this because they think they can edit the existing ACL without considering the existing permit ip any any statement, and they want to avoid deleting and recreating the ACL.
✗Create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it inbound on GigabitEthernet0/1 (the WAN interface).Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that ACLs should be applied inbound on the interface where the traffic enters the router, not on the outbound interface towards the destination.
Why candidates choose this
Candidates pick this because they mistakenly think the ACL should be applied on the interface facing the server to filter traffic going out, but inbound ACLs are more efficient and standard practice.
✗Create a new extended ACL that permits tcp from 192.168.1.0/24 to host 203.0.113.10 for ports 80 and 22, and apply it outbound on GigabitEthernet0/0.Wrong answer — click to see why▾
Why this is wrong here
The specific factual error is that outbound ACLs filter traffic exiting the interface, but the traffic from LAN to server enters the router via GigabitEthernet0/0 and exits via another interface (e.g., WAN). An outbound ACL on GigabitEthernet0/0 would not affect traffic going to the server.
Why candidates choose this
Candidates pick this because they confuse inbound and outbound ACL application, thinking that outbound on the LAN interface will filter traffic leaving the LAN, but the traffic is actually entering the router from the LAN.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Visual reference
Go deeper
Related to this question
Learn chapter
Diagnosing DNS Record Issues — A, AAAA, CNAME, MX, NS, and PTR Records
Key term
Access Control List
An Access Control List is a set of rules that decides which traffic is allowed or denied entry to a network or device.
Key term
TCP
TCP is a connection-oriented transport layer protocol that ensures reliable, ordered, and error-checked delivery of data between applications over IP networks.
About these practice questions
This 200-301 question is part of Courseiva's 1,389-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.