- A
Only SSH and HTTPS connections from the 10.0.0.0/8 network are allowed to the VTY lines.
The ACL permits TCP ports 22 and 443 from the specified source, and the access-class filters inbound VTY connections.
- B
The ACL filters traffic leaving the VTY lines, allowing SSH and HTTPS from any source.
Why wrong: The 'in' keyword on access-class filters incoming connections to the VTY.
- C
All traffic from the 10.0.0.0/8 network is permitted to the router.
Why wrong: Only TCP ports 22 and 443 are permitted; other traffic is denied by the 'deny ip any any'.
- D
The configuration is missing 'permit ip any any' to allow other management protocols.
Why wrong: The intent is to restrict access, so the deny is appropriate.
Quick Answer
The correct answer is that only SSH and HTTPS connections from the 10.0.0.0/8 network are allowed to the VTY lines. This is because the `access-class` command applied with the `in` keyword filters inbound Telnet and SSH sessions at the VTY line level, using the referenced extended ACL to evaluate the source IP and destination port of the management traffic. The ACL explicitly permits TCP ports 22 (SSH) and 443 (HTTPS) from the 10.0.0.0/8 range while denying everything else, effectively locking down remote management to those protocols and that subnet. On the Cisco CCNP ENARSI 300-410 exam, this tests your understanding of VTY access control versus interface ACLs—a common trap is forgetting that `access-class` only filters inbound management sessions, not transit traffic, and that the `in` keyword is required for filtering incoming connections. Remember the mnemonic: "VTY in, SSH win"—the `in` direction on `access-class` is what blocks unwanted remote access to the router itself.
300-410 Device Access Control Practice Question
This 300-410 practice question tests your understanding of device access control. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Examine the following partial configuration:
ip access-list extended MGMT_ACCESS permit tcp 10.0.0.0 0.255.255.255 any eq 22 permit tcp 10.0.0.0 0.255.255.255 any eq
443
deny ip any any
!
line vty 0 4
access-class MGMT_ACCESS in transport input ssh login local
What is the effect of the 'access-class' command?
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 and HTTPS connections from the 10.0.0.0/8 network are allowed to the VTY lines.
The `access-class` command applied to VTY lines with the `in` keyword filters inbound Telnet/SSH sessions to the router. The ACL `MGMT_ACCESS` permits TCP ports 22 (SSH) and 443 (HTTPS) from source network 10.0.0.0/8, and denies all other traffic. This restricts management access to only SSH and HTTPS connections originating from the 10.0.0.0/8 network.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 and HTTPS connections from the 10.0.0.0/8 network are allowed to the VTY lines.
- ✗
The ACL filters traffic leaving the VTY lines, allowing SSH and HTTPS from any source.
Why it's wrong here
The 'in' keyword on access-class filters incoming connections to the VTY.
- ✗
All traffic from the 10.0.0.0/8 network is permitted to the router.
Why it's wrong here
Only TCP ports 22 and 443 are permitted; other traffic is denied by the 'deny ip any any'.
- ✗
The configuration is missing 'permit ip any any' to allow other management protocols.
Why it's wrong here
The intent is to restrict access, so the deny is appropriate.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Cisco often tests the distinction between `access-class` (applied to VTY lines for management access control) and `access-group` (applied to interfaces for transit traffic), leading candidates to confuse the direction or scope of the ACL.
Trap categories for this question
Keyword trap
The 'in' keyword on access-class filters incoming connections to the VTY.
Detailed technical explanation
How to think about this question
The `access-class` command applies an extended ACL to VTY lines, but only the source IP and protocol fields are evaluated; destination IP and port are ignored because the router itself is the destination. The `in` direction checks packets arriving at the VTY line before authentication, so the ACL acts as a first line of defense. In real-world deployments, this is often combined with `login local` and `transport input ssh` to enforce secure, authenticated management access from trusted subnets only.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
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.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Device Access Control — study guide chapter
Learn the concepts, then practise the questions
- →
Device Access Control practice questions
Targeted practice on this topic area only
- →
All 300-410 questions
2,152 questions across all exam domains
- →
Cisco CCNP ENARSI 300-410 study guide
Full concept coverage aligned to exam objectives
- →
300-410 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 300-410 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Layer 3 Technologies practice questions
Practise 300-410 questions linked to Layer 3 Technologies.
EIGRP Troubleshooting practice questions
Practise 300-410 questions linked to EIGRP Troubleshooting.
OSPF Troubleshooting (v2/v3) practice questions
Practise 300-410 questions linked to OSPF Troubleshooting (v2/v3).
BGP Troubleshooting practice questions
Practise 300-410 questions linked to BGP Troubleshooting.
Route Redistribution practice questions
Practise 300-410 questions linked to Route Redistribution.
Policy-Based Routing (PBR) practice questions
Practise 300-410 questions linked to Policy-Based Routing (PBR).
VRF-Lite practice questions
Practise 300-410 questions linked to VRF-Lite.
Route Maps and Route Filtering practice questions
Practise 300-410 questions linked to Route Maps and Route Filtering.
Administrative Distance practice questions
Practise 300-410 questions linked to Administrative Distance.
Route Summarization practice questions
Practise 300-410 questions linked to Route Summarization.
Bidirectional Forwarding Detection (BFD) practice questions
Practise 300-410 questions linked to Bidirectional Forwarding Detection (BFD).
VPN Technologies practice questions
Practise 300-410 questions linked to VPN Technologies.
Practice this exam
Start a free 300-410 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 300-410 question test?
Device Access Control — This question tests Device Access Control — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Only SSH and HTTPS connections from the 10.0.0.0/8 network are allowed to the VTY lines. — The `access-class` command applied to VTY lines with the `in` keyword filters inbound Telnet/SSH sessions to the router. The ACL `MGMT_ACCESS` permits TCP ports 22 (SSH) and 443 (HTTPS) from source network 10.0.0.0/8, and denies all other traffic. This restricts management access to only SSH and HTTPS connections originating from the 10.0.0.0/8 network.
What should I do if I get this 300-410 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 24, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.