Question 547 of 2,152
Device Access ControlmediumMultiple ChoiceObjective-mapped

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?

Question 1mediummultiple choice
Full question →

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.

    Why this is correct

    The ACL permits TCP ports 22 and 443 from the specified source, and the access-class filters inbound VTY connections.

    Related concept

    Read the scenario before looking for a memorised answer.

  • 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.

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.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

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.