Courseiva
mediumMultiple ChoiceObjective-mapped

300-410 Practice Question: Examine the following partial configuration on a…

Examine the following partial configuration on a Cisco IOS-XE router:

interface GigabitEthernet0/1
 ip address 192.168.1.1 255.255.255.0
 ip access-group MY_ACL in

!

access-list 100 permit tcp any host 192.168.1.1 eq 22
access-list 
100 deny ip any any

!

line vty 0 4

transport input ssh login local !

username admin privilege 15 secret cisco

What is the effect of this configuration?

⚠ Common exam trap

Cisco often tests the distinction between inbound and outbound ACL application, and candidates may mistakenly think the 'in' keyword means 'into the router' for management traffic only, or they may overlook that the ACL is applied to the interface and filters all IP traffic, not just management plane traffic.

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

Only SSH connections to the router are permitted; all other IP traffic is denied inbound on this interface.

The ACL 100 is applied inbound on GigabitEthernet0/1 via the 'ip access-group MY_ACL in' command. It explicitly permits TCP traffic to host 192.168.1.1 on port 22 (SSH) and then denies all other IP traffic. Since the router's own IP address is 192.168.1.1, this allows only SSH management access from any source, while blocking all other inbound traffic to the router or through the interface.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Only SSH connections to the router are permitted; all other IP traffic is denied inbound on this interface.

    Why this is correct

    The ACL permits TCP port 22 (SSH) and denies all other IP traffic, applied inbound. This restricts management access to SSH only.

  • The ACL permits SSH and HTTP traffic to the router; all other traffic is denied.

    Why it's wrong here

    The ACL only permits TCP port 22 (SSH), not HTTP (port 80).

  • The ACL is applied outbound, so it filters traffic leaving the interface; SSH is permitted outbound.

    Why it's wrong here

    The 'ip access-group MY_ACL in' applies the ACL inbound, not outbound.

  • The ACL has no effect because it is missing a 'permit ip any any' statement.

    Why it's wrong here

    The ACL explicitly denies all other traffic with 'deny ip any any', which is effective. No further permit is needed for the intended restriction.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

One of 1,966 original 300-410 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 300-410 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 300-410 exam.