Courseiva
easyMultiple ChoiceObjective-mapped

200-901 Practice Question: Refer to the exhibit

Exhibit

Refer to the exhibit.
```
interface GigabitEthernet0/1
 switchport mode access
 switchport access vlan 10
 spanning-tree portfast
```

Refer to the exhibit. A PC is connected to interface GigabitEthernet0/1 on a Cisco switch. The PC is in VLAN 10. What is the purpose of the 'spanning-tree portfast' command on this interface?

⚠ Common exam trap

Cisco often tests the misconception that PortFast disables STP entirely, but the trap here is that PortFast only speeds up the initial transition to forwarding while STP remains active and the port can still react to BPDUs.

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

It allows the interface to transition directly to forwarding state.

The 'spanning-tree portfast' command on a switch interface connected to an end host (like a PC) allows that port to bypass the listening and learning states and transition directly to the forwarding state. This is correct because PortFast is designed for access ports that connect to end devices, which do not participate in spanning tree, thereby eliminating the 30-second delay (15 seconds for listening, 15 seconds for learning) and providing immediate connectivity.

Answer analysis

Option-by-option breakdown

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

  • It disables STP on the interface.

    Why it's wrong here

    STP still runs but portfast bypasses listening/learning.

  • It prevents the interface from entering blocking state.

    Why it's wrong here

    PortFast allows immediate forwarding, but blocking is still possible if BPDUs are received.

  • It allows the interface to transition directly to forwarding state.

    Why this is correct

    PortFast eliminates the learning/listening delays.

  • It enables BPDU guard on the interface.

    Why it's wrong here

    BPDU guard is a separate configuration.

  • It enables Rapid Spanning Tree on the interface.

    Why it's wrong here

    PortFast does not enable RSTP; it is a feature for access ports.

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

One of 989 original 200-901 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 200-901 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-901 exam.