A switch displays the following output:
Interface Status VLAN
Gi1/0/5 connected 20 Gi1/0/6 notconnect 1 Gi1/0/24 trunk trunk
Which interface is operating as an access port in VLAN 20?
Interface Status VLAN
A switch displays the following output:
Interface Status VLAN
Gi1/0/5 connected 20 Gi1/0/6 notconnect 1 Gi1/0/24 trunk trunk
Which interface is operating as an access port in VLAN 20?
Answer choices
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Gi1/0/5
Correct. It is connected and assigned to VLAN 20.
Gi1/0/6
Gi1/0/6 is an access port in VLAN 1, but it is not in VLAN 20.
Gi1/0/24
Gi1/0/24 is a trunk, not an access port.
None of the interfaces
Gi1/0/5 clearly matches.
Common exam trap
A common exam trap is mistaking a trunk port for an access port because it carries VLAN 20 traffic among others. The interface Gi1/0/24 is a trunk port, not an access port, so it cannot be the correct answer even if VLAN 20 traffic passes through it. Another trap is selecting an interface that is assigned to VLAN 1 but shows 'notconnect' status, like Gi1/0/6, which means it is not operational and thus not the correct choice. Candidates must carefully distinguish between port modes and operational status to avoid these pitfalls.
Technical deep dive
A VLAN (Virtual Local Area Network) segments a switch into multiple broadcast domains, allowing devices in the same VLAN to communicate as if they were on the same physical network. Access ports are switch interfaces assigned to a single VLAN and carry traffic for that VLAN only. Trunk ports, in contrast, carry traffic for multiple VLANs simultaneously, tagging frames with VLAN identifiers to maintain separation across the link. In the provided switch output, the interface Gi1/0/5 is listed as "connected" and assigned to VLAN 20, indicating it is an access port operating within VLAN 20. The interface Gi1/0/6 is "notconnect" and assigned to VLAN 1, which is the default VLAN, but it is not active or connected. The interface Gi1/0/24 is labeled as "trunk" and operates as a trunk port, carrying multiple VLANs rather than a single access VLAN. A common exam trap is confusing the interface status and VLAN assignment with port mode. For example, a trunk port can show "trunk" status and carry VLAN 20 traffic, but it is not an access port. Similarly, an interface in VLAN 1 but not connected is not operational. Understanding that an access port is assigned to a single VLAN and shows "connected" status is critical to correctly identifying the interface operating as an access port in VLAN 20.
Related practice questions
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Practise IPv4 subnetting, CIDR, masks, host ranges and subnet selection.
Practise OSPF neighbours, router IDs, metrics, areas and routing-table interpretation.
Practise VLANs, access ports, trunks, allowed VLANs and switching scenarios.
Practise spanning tree, root bridge election, port roles and STP troubleshooting.
Practise LACP, PAgP, port-channel behaviour and bundle requirements.
Practise standard and extended ACLs, permit/deny logic and traffic filtering.
Practise static NAT, dynamic NAT, PAT and inside/outside address translation.
Practise DHCP scopes, relay, leases and troubleshooting.
Practise routing-table output, longest-prefix match, AD and route selection.
Practise trunk verification and VLAN forwarding across switches.
Practise WLAN security, authentication and wireless architecture concepts.
Practise IPv6 addressing, routes, neighbour discovery and common IPv6 exam traps.
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
Question 2
Question 3
Question 4
Question 5
Question 6
FAQ
A switch access port is assigned to a single VLAN and forwards untagged frames only for that VLAN.
The correct answer is: Gi1/0/5 — The output explicitly shows Gi1/0/5 in VLAN 20 and not operating as a trunk.
Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.
Sign in to join the discussion.