Courseiva
Infrastructure →easyMultiple Choice

CCNP Infrastructure Practice Question

A network administrator is configuring a switch port to support a VoIP phone and a PC connected to the phone's internal switch. The phone must be placed in VLAN 50 and the PC in VLAN 60. Which configuration on the switch port achieves this?

⚠ Common exam trap

Candidates often confuse the access VLAN and voice VLAN assignments, or using trunk mode instead of the dedicated voice VLAN feature.

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

✓

switchport mode access switchport access vlan 60 switchport voice vlan 50

The correct configuration uses access VLAN 60 for the PC and voice VLAN 50 for the phone. Cisco voice VLAN allows the switch to instruct the phone to use a specific VLAN for voice traffic while the PC remains on the access VLAN. This provides proper segmentation and QoS for voice.

Answer analysis

Option-by-option breakdown

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

  • ✗

    switchport mode access switchport access vlan 50 switchport trunk allowed vlan 60

    Why it's wrong here

    This configuration uses access mode with VLAN 50, which would put the PC in VLAN 50. The trunk allowed vlan command is not valid in access mode and would not place the phone in a separate VLAN. This does not achieve the required VLAN separation.

  • ✗

    switchport mode access switchport access vlan 50 switchport voice vlan 60

    Why it's wrong here

    This configuration places the phone in VLAN 50 as an access port and configures voice VLAN 60 for a phone, but it reverses the required VLANs. The PC would be in VLAN 50, not VLAN 60, and the phone would not use VLAN 50 as intended. This does not meet the requirement.

  • ✓

    switchport mode access switchport access vlan 60 switchport voice vlan 50

    Why this is correct

    This configuration sets the access VLAN to 60 for the PC and the voice VLAN to 50 for the phone. The phone will use VLAN 50 for voice traffic and pass untagged PC traffic to VLAN 60. This is the standard Cisco configuration for a phone with a PC attached.

  • ✗

    switchport mode trunk switchport trunk native vlan 60 switchport trunk allowed vlan 50

    Why it's wrong here

    This trunk configuration would send untagged traffic to VLAN 60 and tagged VLAN 50 traffic. The phone typically uses untagged traffic for voice unless configured otherwise, so this would misplace the phone. It also does not use the voice VLAN feature, which is designed for this scenario.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

About these practice questions

One of 1,923 original 350-401 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Cisco exam blueprint

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.