Courseiva
Question 1,598 of 1,840
mediumMultiple ChoiceObjective-mapped

350-401 Practice Question: Interface GigabitEthernet0/1 spanning-tree…

interface GigabitEthernet0/1
 spanning-tree portfast
 spanning-tree bpduguard enable

end

What is the effect of this configuration?

⚠ Common exam trap

Cisco often tests the misconception that BPDUguard ignores BPDUs or that PortFast still goes through STP states, but the key trap is that BPDUguard error-disables the port upon BPDU reception, not just ignores or blocks it.

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 and will be error-disabled if a BPDU is received.

The `spanning-tree portfast` command causes the port to immediately transition to the forwarding state, bypassing the listening and learning states. The `spanning-tree bpduguard enable` command places the port in an error-disabled state if any BPDU is received, as BPDU reception on a PortFast-enabled port indicates an unauthorized switch connection, which could cause a bridging loop.

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 and will be error-disabled if a BPDU is received.

    Why this is correct

    PortFast causes immediate forwarding; BPDU Guard error-disables the port upon BPDU reception.

  • The port will go through normal STP states and will be error-disabled if a BPDU is received.

    Why it's wrong here

    PortFast skips listening/learning; BPDU Guard still triggers error-disable.

  • The port will immediately transition to forwarding and ignore any BPDUs received.

    Why it's wrong here

    BPDU Guard does not ignore BPDUs; it error-disables the port.

  • The port will remain in blocking state until a BPDU is received.

    Why it's wrong here

    PortFast forces immediate forwarding; blocking is not used.

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 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: Jul 4, 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 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.