Courseiva
Switching and Network AccessmediumMatchingObjective-mapped

CCNA Switching and Network Access Practice Question

Drag and drop the items on the left to match the descriptions on the right.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Sets the switch port to permanent access mode

Configures the port as an 802.1Q trunk

Assigns VLAN 10 to the access port for data traffic

Specifies VLAN 20 for voice traffic on the port

Restricts the trunk to carry only VLANs 10 and 20

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

Access port: Carries traffic for a single VLAN, configured with switchport mode access.

Access ports carry traffic for a single VLAN and are configured with switchport mode access. Voice VLANs are added to an access port with switchport voice vlan to separate voice and data traffic. Trunk ports carry multiple VLANs and are set with switchport mode trunk; allowed VLANs can be restricted with switchport trunk allowed vlan.

Answer analysis

Option-by-option breakdown

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

  • Access port: Carries traffic for a single VLAN, configured with switchport mode access.

    Why this is correct

    An access port belongs to exactly one VLAN, called the access VLAN, and sends frames without an 802.1Q tag toward the connected end device. The command switchport mode access explicitly forces the interface to operate as a single-VLAN port, overriding any dynamic trunk negotiation (DTP). This is the standard configuration for connecting PCs, printers, and other hosts that expect untagged traffic.

  • Voice VLAN: Added to a trunk port to prioritize voice traffic.

    Why it's wrong here

    The voice VLAN feature is applied to an access port, not a trunk, using the switchport voice vlan command. Its purpose is to carry IP phone traffic on a separate, tagged VLAN while the attached PC uses the untagged native data VLAN, enabling traffic separation and optional QoS treatment. It does not 'prioritize' voice by being added to a trunk; prioritization depends on CoS/DSCP marking and QoS policies.

  • Trunk port: Carries traffic for multiple VLANs, configured with switchport mode trunk.

    Why this is correct

    A trunk port multiplexes frames from multiple VLANs over a single link, inserting an 802.1Q tag that carries the VLAN ID. By default, a trunk carries all VLANs unless an allowed list restricts it, and the switchport mode trunk command disables DTP negotiation and explicitly forces trunking. Trunks are typically used between switches or to routers with subinterfaces (router-on-a-stick).

  • Allowed VLANs: Configured with switchport access vlan to restrict VLANs on a trunk.

    Why it's wrong here

    The switchport access vlan command assigns a specific VLAN to an access port; it has no effect on trunk port filtering or allowed VLAN membership. On a trunk, VLANs are restricted using switchport trunk allowed vlan, which controls which VLANs are actually carried across the link. Confusing these two commands leads to misconfigured interfaces that may either drop traffic or unknowingly permit all VLANs.

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,389 original 200-301 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-301 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-301 exam.