Network Access — Question Bank
Thirty-six questions covering CCNA Domain 2.0 (Network Access, 20% of the exam): VLANs and 802.1Q, trunking, discovery protocols, EtherChannel and LACP, Rapid PVST+, VLAN configuration, and wireless LAN architecture, AP modes and WLAN security. Instant feedback with explanations after each answer.
- Each part is an independent self-scoring quiz; work them in order.
- Read every explanation, including why each distractor is wrong.
- Use the reset button to retry a part until you score full marks twice in a row.
- Your progress is stored locally on this device.
Part 1 — VLANs & 802.1Q
-
What is the primary effect of creating multiple VLANs on one switch?
- It increases the size of each broadcast domain.
- It splits one broadcast domain into several smaller ones.
- It removes the need for a router between subnets.
- It converts the switch into a Layer 3 device.
A VLAN is a logical broadcast domain. Splitting a switch into VLANs creates separate broadcast domains, which improves security and reduces unnecessary broadcast traffic; inter-VLAN traffic still needs Layer 3.
-
How large is the 802.1Q tag inserted into an Ethernet frame?
- 2 bytes
- 3 bytes
- 4 bytes
- 8 bytes
The 802.1Q tag is 4 bytes: a 2-byte TPID (0x8100) plus a 2-byte Tag Control Information field containing the 12-bit VLAN ID and priority bits. A tagged frame can therefore be up to 1522 bytes.
-
Which VLAN is the default VLAN on a Cisco switch?
- VLAN 1
- VLAN 0
- VLAN 1002
- VLAN 4095
VLAN 1 is the default VLAN; all ports begin as members and control protocols such as DTP, CDP, and VTP run there. VLANs 1002–1005 are reserved for legacy media.
-
Which VLAN ID range is the extended range?
- 1–1005
- 1–4094
- 1002–1005
- 1006–4094
Normal-range VLANs are 1–1005; extended-range VLANs are 1006–4094 and are stored in the running configuration. The usable VLAN IDs overall span 1–4094.
-
A frame arrives untagged on a trunk. Which VLAN does the switch assign it to?
- VLAN 0
- The native VLAN
- The default VLAN 100
- The voice VLAN
Untagged frames on an 802.1Q trunk belong to the native VLAN, which defaults to VLAN 1. The native VLAN should match on both ends of a trunk.
-
Which command assigns access ports Fa0/1 through Fa0/10 to VLAN 20 on a Cisco switch?
switchport trunk allowed vlan 20vlan 20 access fa0/1-10interface range fa0/1-10thenswitchport access vlan 20switchport mode trunk vlan 20
Enter interface range configuration mode, then set the access VLAN. The switchport mode defaults to access on most platforms, but you can confirm it with
switchport mode access. -
Why is a voice VLAN configured on a switch port connected to an IP phone?
- To tag voice traffic in a separate VLAN so it can be prioritised, while data from the attached PC stays in the access VLAN.
- To disable CDP on the phone.
- To force the phone to use DHCP.
- To make the port a trunk-only port.
A voice VLAN separates phone traffic from PC data. The phone tags voice frames with the voice VLAN ID and forwards untagged PC data on the access VLAN, enabling QoS treatment of voice.
-
Which statement about an access port is correct?
- It carries only tagged frames.
- It must belong to VLAN 1.
- It can carry many VLANs at once.
- It belongs to exactly one data VLAN and sends untagged frames to the host.
An access port is a member of a single data VLAN; frames to and from the attached host are untagged. A trunk, by contrast, carries multiple VLANs with tagging.
Part 2 — Trunks, DTP, CDP & LLDP
-
What does DTP do?
- Assigns IP addresses to switch interfaces.
- Detects loops and blocks redundant ports.
- Negotiates whether a link becomes a trunk.
- Discovers neighbouring devices and their capabilities.
Dynamic Trunking Protocol (DTP) negotiates trunking between Cisco switches. Loop prevention is STP; neighbour discovery is CDP or LLDP.
-
Which command hard-codes an interface as a trunk and stops it from negotiating?
switchport mode trunkswitchport mode dynamic autoswitchport mode accessswitchport nonegotiate access
Setting the mode to trunk permanently makes the port a trunk. Adding
switchport nonegotiatedisables DTP entirely, which is a security best practice on access ports. -
Which command on a Cisco switch displays the VLANs allowed on a trunk and the native VLAN?
show vlan briefshow interfaces trunkshow mac address-tableshow spanning-tree
show interfaces trunklists trunk ports, the native VLAN, and the allowed and active VLANs.show vlan briefshows VLAN-to-port assignments instead. -
Which two protocols discover directly connected neighbours? (Choose the best single answer.)
- DTP and VTP
- STP and LACP
- ARP and DHCP
- CDP and LLDP
CDP is Cisco proprietary; LLDP is the open IEEE 802.1AB standard. Both advertise device identity, capabilities, and interface information to directly connected neighbours.
-
Which statement about CDP is true?
- It runs only on access ports.
- It is an open standard defined by IEEE.
- It is enabled by default on Cisco devices and can leak information, so it should be disabled on untrusted edge ports.
- It encrypts neighbour advertisements.
CDP is Cisco proprietary, enabled by default, and sends unencrypted advertisements. On ports facing untrusted devices, disabling CDP (or LLDP) reduces the information available to an attacker.
-
A trunk between two switches carries VLANs 1, 10, and 20. Which command restricts the trunk to only VLANs 10 and 20?
switchport trunk allowed vlan 10,20switchport access vlan 10,20vlan allowed 10,20switchport trunk native vlan 10,20
Allowed VLANs on a trunk are set with
switchport trunk allowed vlan. The native VLAN command sets only a single untagged VLAN. -
Which command shows the MAC address table on a switch?
show arpshow mac address-tableshow ip routeshow cdp neighbors
show mac address-tablelists learned MAC addresses, their VLAN, type, and port. It is the key tool for confirming how a switch learns and forwards frames.
Part 3 — EtherChannel & LACP
-
What is the main benefit of an EtherChannel between two switches?
- It creates a Layer 3 routing adjacency.
- It removes the need for VLANs.
- It bundles several physical links into one logical link for more bandwidth and redundancy.
- It disables Spanning Tree on all ports.
EtherChannel aggregates up to eight active physical links into one logical port-channel. STP sees it as a single link, so it provides load sharing without loop blocking.
-
Which protocol is the open-standard (IEEE 802.3ad) link aggregation protocol?
- LACP
- PAgP
- DTP
- VTP
LACP (Link Aggregation Control Protocol) is the IEEE standard. PAgP is Cisco proprietary. DTP negotiates trunking and VTP propagates VLANs.
-
Which command bundle mode creates a Layer 2 EtherChannel using LACP on two interfaces?
channel-group 1 mode onchannel-group 1 mode passivechannel-group 1 mode desirablechannel-group 1 mode active
mode activeuses LACP and actively negotiates.desirableis PAgP,onforces the bundle with no protocol, andpassiveis LACP but waits for the far end. -
Which settings must match on all physical interfaces of an EtherChannel before the bundle will form?
- IP addresses and routing protocol
- Speed, duplex, and switchport mode (access/trunk)
- The hostname and domain name
- The spanning-tree cost only
For a bundle to come up, member interfaces must agree on speed, duplex, and switchport mode (and allowed/native VLANs if trunks). A mismatch suspends the interface from the channel.
-
Which command verifies the status of an EtherChannel?
show ip interface briefshow vlan briefshow etherchannel summaryshow ntp status
show etherchannel summaryflags each bundle and its member ports, showing whether the channel is up and using LACP or PAgP. -
What does the LACP operating mode
passivedo?- It waits for the far end to initiate LACP negotiation.
- It refuses to form a channel.
- It uses PAgP instead of LACP.
- It forces the channel without any protocol.
LACP
passivedoes not initiate negotiation but will respond if the other side sends LACP. Two passive ends will not form a channel; at least one side must beactive.
Part 4 — Spanning Tree (Rapid PVST+)
-
What is the purpose of Spanning Tree Protocol?
- To assign IP addresses to switches.
- To build a loop-free Layer 2 topology by blocking redundant paths.
- To aggregate links for bandwidth.
- To encrypt BPDUs between switches.
STP creates a loop-free logical topology by electing a root bridge and placing redundant ports in a blocking state, preventing broadcast storms and MAC table instability.
-
How is the root bridge elected in STP?
- The switch with the most ports wins.
- The switch with the highest MAC address wins.
- The switch with the lowest bridge ID (priority then MAC) wins.
- The first switch to boot wins permanently.
The bridge ID combines the priority and the base MAC address. The lowest value wins, so lowering the priority below the default makes a switch the root. The default priority is 32768.
-
What are the default STP timers (hello, forward delay, max age)?
- 2 s, 15 s, 20 s
- 2 s, 20 s, 15 s
- 10 s, 15 s, 30 s
- 1 s, 4 s, 8 s
Classic STP uses a 2-second hello, 15-second forward delay, and 20-second max age. Rapid PVST+ converges far faster using its proposal/agreement mechanism.
-
Which feature should you enable on access ports facing end hosts to protect the topology?
- Root guard
- Loop guard
- BPDU filter everywhere
- PortFast with BPDU guard
PortFast lets an access port enter forwarding immediately, and BPDU guard disables the port if it receives a BPDU, stopping an unauthorised switch from joining. Root guard is placed on ports where the root must not appear.
-
Which Cisco per-VLAN STP variant is the modern default that converges quickly?
- Classic STP (802.1D)
- Rapid PVST+
- CST (802.1Q common spanning tree)
- MST only
Rapid PVST+ runs an RSTP instance per VLAN and is the default on Cisco Catalyst switches. It converges in seconds rather than the 30–50 s of classic STP.
-
What is the default bridge priority value on a Cisco switch?
- 4096
- 8192
- 32768
- 65536
The default bridge priority is 32768 (plus the VLAN/system ID extension, giving 32769 for VLAN 1). Priorities are configured in increments of 4096.
-
Which command sets a switch to be the root bridge for VLAN 10?
spanning-tree vlan 10 root primaryspanning-tree vlan 10 portfastspanning-tree vlan 10 cost 0spanning-tree mode mst
root primaryautomatically lowers the priority so the switch wins the election for VLAN 10.root secondaryis the backup. PortFast applies to access ports, not the root election.
Part 5 — Wireless LANs & AP modes
-
Which two UDP ports does CAPWAP use for control and data?
- 80 and 443
- 161 and 162
- 5246 and 5247
- 1812 and 1813
CAPWAP control uses UDP 5246 and data uses UDP 5247. CAPWAP is the protocol that lets lightweight access points tunnel traffic to a wireless LAN controller.
-
What is the role of a wireless LAN controller (WLC)?
- It centrally manages lightweight APs, SSIDs, and wireless policy.
- It assigns MAC addresses to clients.
- It replaces the need for a router in the WLAN.
- It converts wireless frames to fibre.
A WLC configures and manages lightweight APs in a split-MAC architecture: the AP handles real-time functions while the WLC handles management, authentication, and roaming.
-
Which AP mode has the access point stop serving clients and simply monitor the RF spectrum for threats and rogue devices?
- Local mode
- FlexConnect
- Sniffer mode
- Monitor mode
Monitor mode dedicates the radio to scanning for rogues, interference, and intrusions. Sniffer mode captures packets for analysis, and flexconnect serves clients locally when the WAN link is down.
-
In which AP mode can an AP continue to serve clients locally if its WAN link to the WLC fails?
- Local mode
- FlexConnect mode
- Sniffer mode
- Monitor mode
FlexConnect APs can switch traffic locally and survive WAN failure. In local mode, client traffic is tunneled to the WLC, so a WAN outage affects the branch WLAN.
-
Which wireless principle describes a client selecting the access point with the strongest signal?
- Roaming
- Channel bonding
- Association (AP selection)
- Beamforming
A wireless client scans for SSIDs and associates with an AP based largely on signal strength and supported rates. Roaming is the process of moving association as the client moves between APs.
-
Which 5 GHz advantage helps avoid interference compared with 2.4 GHz?
- More non-overlapping channels and less congestion
- Longer range through walls
- Fewer available channels
- Compatibility with legacy devices only
The 5 GHz band offers many more non-overlapping channels and is usually less crowded, though it has shorter range and weaker wall penetration than 2.4 GHz.
-
What is an SSID?
- The MAC address of the access point
- The logical name that identifies a wireless network
- The encryption key used by WPA2
- The channel number of the radio
The Service Set Identifier (SSID) is the human-readable network name broadcast by APs. Hiding it is not a real security control; the WLAN still exists.
Part 6 — WLAN security & switch config
-
Which encryption does WPA2 use?
- TKIP
- WEP
- AES-CCMP
- RC4
WPA2 (802.11i) uses AES with CCMP for strong encryption. WEP and TKIP/RC4 are broken or deprecated.
-
Which authentication method does WPA3-Personal use?
- SAE (Simultaneous Authentication of Equals)
- WEP shared key
- TKIP pre-shared key
- Plaintext open authentication
WPA3-Personal uses SAE (the Dragonfly handshake) instead of the WPA2 PSK method, resisting offline dictionary attacks and providing forward secrecy.
-
Which enterprise authentication framework uses a RADIUS server for 802.1X wireless?
- PSK
- WEP
- SAE
- 802.1X/EAP
WPA2-Enterprise and WPA3-Enterprise use 802.1X with EAP and a RADIUS server, so each user authenticates with individual credentials instead of a shared password.
-
Which command sets the access-mode switchport for interface Gi0/5 and assigns it to VLAN 30?
switchport trunk allowed vlan 30switchport mode accessthenswitchport access vlan 30ip address 30.0.0.1vlan database 30
Set the port as an access port and assign its data VLAN. The VLAN must already exist in the VLAN database (or be created automatically depending on the platform).
-
Which command creates VLAN 50 named SALES on a Cisco switch?
switchport vlan 50 name SALESname SALES vlan 50vlan 50thenname SALESset vlan 50 SALES
Enter global config, then VLAN configuration mode with
vlan 50, and name it withname SALES. Some platforms also allowvlan 50 name SALESon one line. -
Which security feature limits which MAC addresses may use a switch port?
- Port security
- DHCP snooping
- Dynamic ARP Inspection
- BPDU guard
Port security restricts a port to a set number of MAC addresses and can take action on a violation (protect, restrict, or shutdown). DHCP snooping and DAI are related Layer 2 protections against spoofing.
Missed-question review map
| Part | Topic | Where it is covered |
|---|---|---|
| Part 1 | VLANs, 802.1Q, access ports, voice VLAN | Week 5 · VLAN & Trunk lessons |
| Part 2 | Trunks, DTP, CDP, LLDP, verification | Week 5 · Data Link Layer |
| Part 3 | EtherChannel, LACP, PAgP | Week 5 · STP & EtherChannel lab |
| Part 4 | STP/RSTP, root bridge, PortFast, guards | Week 5 · STP lessons |
| Part 5 | WLC, CAPWAP, AP modes, channels | Week 8 · Wireless configuration lab |
| Part 6 | WPA2/WPA3, 802.1X, switch hardening | Week 8 · Wireless; Week 10 · Layer 2 security |
Sources & references
- Cisco. CCNA (200-301) Exam Topics, Domain 2.0 Network Access. cisco.com.
- IEEE. IEEE 802.1Q: Bridges and Bridged Networks (VLANs). standards.ieee.org.
- IEEE. IEEE 802.1D / 802.1w: Spanning Tree Protocols. standards.ieee.org.
- IEEE. IEEE 802.1AX: Link Aggregation. standards.ieee.org.
- IETF. RFC 5415: Control And Provisioning of Wireless Access Points (CAPWAP) (2009). rfc-editor.org/rfc/rfc5415.
Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.