Courseiva
mediumMultiple ChoiceObjective-mapped

CCNP Practice Question: Examine the following partial Cisco IOS-XE…

Examine the following partial Cisco IOS-XE configuration:

interface GigabitEthernet0/1
 switchport mode access
 switchport access vlan 10
 ip access-group ACL_IN in
 spanning-tree portfast

What is the effect of this configuration?

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

The port will immediately transition to forwarding state, reducing STP convergence time for end hosts.

The configuration enables PortFast on an access port, allowing it to transition directly to forwarding state, bypassing the listening and learning phases. This is commonly used for end-host ports to avoid delays caused by spanning-tree convergence.

Answer analysis

Option-by-option breakdown

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

  • The port will immediately transition to forwarding state, reducing STP convergence time for end hosts.

    Why this is correct

    spanning-tree portfast on an access port causes immediate forwarding, as intended for host ports.

  • The port will become a trunk port and participate in VLAN trunking.

    Why it's wrong here

    The port is configured as an access port, not a trunk.

  • The port will use Rapid PVST+ and immediately forward after a link failure.

    Why it's wrong here

    PortFast does not change the STP mode; it only affects initial convergence.

  • The port will block all inbound traffic due to the ACL.

    Why it's wrong here

    The ACL is applied inbound but does not block all traffic; it filters based on the ACL entries.

Visual reference

SW1 Root Bridge SW2 SW3 BLK DP DP RP RP STP blocks one link to prevent loops DP = Designated Port RP = Root Port BLK = Blocked

About these practice questions

Courseiva writes every 350-401 question from scratch — 1,175 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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 350-401 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 350-401 exam.