Network+ Ethernet Switching and VLANs Flashcards
7 cards from real COMPTIA practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Network+ Ethernet Switching and VLANs flashcards as text
What is the default VLAN on most Cisco switches, and which VLAN should NOT be used for user data as a security best practice?
Answer: VLAN 1; avoid VLAN 1
VLAN 1 is the default VLAN on Cisco switches; best practice dictates moving user data off VLAN 1 to reduce attack surface since many management protocols use it by default.
Which STP variant significantly reduces convergence time by introducing Rapid Spanning Tree Protocol?
Answer: IEEE 802.1W
IEEE 802.1W defines Rapid Spanning Tree Protocol (RSTP), which reduces convergence time from 30-50 seconds (classic STP) to a few seconds.
A switch port connected to a workstation should have which STP feature enabled to prevent it from ever becoming a root port?
Answer: PortFast
PortFast immediately transitions an access port to the forwarding state, bypassing listening and learning states — appropriate only for ports connected to end devices, not other switches.
What mechanism prevents a PortFast-enabled port from causing switching loops if a rogue switch is connected?
Answer: BPDU guard
BPDU guard disables a PortFast port if it receives a BPDU, preventing a rogue switch from disrupting the STP topology.
Which inter-VLAN routing method uses a single physical link between the router and switch, with multiple logical sub-interfaces?
Answer: Router on a stick
Router on a stick uses one physical trunk link with sub-interfaces on the router — each sub-interface handles routing for a different VLAN.
What is the purpose of the native VLAN on an 802.1Q trunk link?
Answer: It carries untagged frames across the trunk
The native VLAN carries untagged frames across an 802.1Q trunk; both ends of the trunk must agree on the same native VLAN to avoid mismatches.
A network administrator wants to allow multiple switch ports to share the same VLAN database automatically. Which protocol facilitates this?
Answer: VTP
VLAN Trunking Protocol (VTP) propagates VLAN configuration from a VTP server to client switches, keeping the VLAN database synchronized.