LAN (Local Area Network) MCQs
What does LAN stand for?
A) Local Area Network
B) Large Area Network
C) Long Area Network
D) Low Area Network
Answer: A
Which of the following is a characteristic of a LAN?
A) Covers a large geographical area
B) Operates within a limited area such as a building
C) Uses satellite communication
D) Requires high data transfer rates
Answer: B
Which device is commonly used to connect devices within a LAN?
A) Router
B) Switch
C) Modem
D) Hub
Answer: B
What topology is most commonly used in LANs today?
A) Star
B) Bus
C) Ring
D) Mesh
Answer: A
What is the maximum cable length for a 100BASE-TX Ethernet LAN?
A) 10 meters
B) 100 meters
C) 1000 meters
D) 10 kilometers
Answer: B
Which protocol is commonly used to detect and correct errors in a LAN?
A) TCP
B) IP
C) UDP
D) Ethernet
Answer: D
What does CSMA/CD stand for in Ethernet networks?
A) Carrier Sense Multiple Access/Collision Detection
B) Carrier Sense Multiple Access/Carrier Detection
C) Circuit Sense Multiple Access/Collision Detection
D) Carrier Sense Multiple Access/Collision Denial
Answer: A
Which layer of the OSI model is responsible for physical connections in a LAN?
A) Application Layer
B) Data Link Layer
C) Network Layer
D) Physical Layer
Answer: D
In a star topology, what happens if the central hub fails?
A) The entire network fails
B) Only the connected device fails
C) Network performance decreases
D) Network traffic increases
Answer: A
Which type of cable is most commonly used in modern Ethernet LANs?
A) Coaxial cable
B) Fiber optic cable
C) Twisted pair cable
D) Wireless
Answer: C
VLAN (Virtual LAN) MCQs
What does VLAN stand for?
A) Virtual Large Area Network
B) Virtual Local Area Network
C) Virtual Long Area Network
D) Virtual Layer Area Network
Answer: B
Which of the following is a benefit of using VLANs?
A) Simplified network configuration
B) Increased network security
C) Reduced hardware requirements
D) Improved wireless range
Answer: B
What is a common reason for implementing VLANs in a network?
A) To reduce the number of routers needed
B) To create separate broadcast domains
C) To increase bandwidth
D) To decrease latency
Answer: B
Which VLAN tagging protocol is most widely used?
A) ISL (Inter-Switch Link)
B) 802.1Q
C) VTP (VLAN Trunking Protocol)
D) GRE (Generic Routing Encapsulation)
Answer: B
What does the 802.1Q standard define?
A) A method for wireless communication
B) A protocol for routing between VLANs
C) A protocol for VLAN tagging
D) A method for data encryption
Answer: C
Which command is used to create a VLAN on a Cisco switch?
A) vlan add
B) vlan create
C) vlan setup
D) vlan [vlan-id]
Answer: D
What is the primary function of a VLAN?
A) To provide network access to remote users
B) To segment a network into logical groups
C) To encrypt data in transit
D) To increase data transfer speeds
Answer: B
Which device is necessary for routing traffic between VLANs?
A) Switch
B) Router
C) Hub
D) Bridge
Answer: B
How are VLANs typically identified?
A) By IP address
B) By MAC address
C) By VLAN ID
D) By subnet mask
Answer: C
Which of the following commands displays the VLAN configuration on a Cisco switch?
A) show vlan
B) show ip vlan
C) show config vlan
D) show running-config
Answer: A
What is the default VLAN ID on most switches?
A) 0
B) 1
C) 10
D) 100
Answer: B
Which feature allows VLANs to be created, deleted, and renamed across multiple switches?
A) VTP (VLAN Trunking Protocol)
B) STP (Spanning Tree Protocol)
C) RIP (Routing Information Protocol)
D) NAT (Network Address Translation)
Answer: A
Which VLAN is used for untagged traffic on a trunk port?
A) Management VLAN
B) Native VLAN
C) Default VLAN
D) Data VLAN
Answer: B
What is the purpose of a trunk port on a switch?
A) To connect to end-user devices
B) To connect multiple switches and carry multiple VLANs
C) To manage network traffic
D) To increase network security
Answer: B
Which command is used to assign a port to a VLAN on a Cisco switch?
A) switchport vlan [vlan-id]
B) vlan port [port-id]
C) switchport access vlan [vlan-id]
D) vlan assign [vlan-id]
Answer: C
What happens if a switch port receives a frame with a VLAN tag that is not recognized?
A) The frame is dropped
B) The frame is forwarded to all ports
C) The frame is tagged with the default VLAN
D) The frame is sent back to the source
Answer: A
Which command is used to show the interfaces assigned to a VLAN on a Cisco switch?
A) show vlan brief
B) show interfaces vlan
C) show vlan id [vlan-id]
D) show vlan interfaces
Answer: A
Which of the following is NOT a type of VLAN?
A) Data VLAN
B) Voice VLAN
C) Management VLAN
D) Multicast VLAN
Answer: D
What is the purpose of a Voice VLAN?
A) To segment voice traffic for better QoS
B) To encrypt voice communications
C) To provide wireless connectivity
D) To route voice traffic to external networks
Answer: A
How can VLANs improve network performance?
A) By reducing the number of routers needed
B) By creating smaller broadcast domains
C) By increasing network bandwidth
D) By decreasing the number of switches needed
Answer: B
What command is used to create a VLAN on a Cisco switch?
A) create vlan
B) switchport vlan
C) vlan [vlan-id]
D) vlan create
Answer: C
Which command enables trunking on a switch port?
A) switchport mode access
B) switchport mode trunk
C) vlan trunk enable
D) trunk port enable
Answer: B
What is a common VLAN management protocol used in Cisco networks?
A) STP
B) VTP
C) LACP
D) RSTP
Answer: B
Which command is used to view the current VLANs on a switch?
A) show vlan brief
B) show vlan all
C) show vlan config
D) show vlan status
Answer: A
Which VLAN is the default for untagged traffic on a trunk link?
A) VLAN 1
B) VLAN 10
C) VLAN 100
D) VLAN 1000
Answer: A
What is the primary function of VLAN Trunking Protocol (VTP)?
A) To provide VLAN tagging
B) To share VLAN configuration across multiple switches
C) To secure VLAN traffic
D) To increase VLAN bandwidth
Answer: B
Which VLAN configuration mode allows VLAN information to be added, modified, or deleted?
A) Transparent mode
B) Server mode
C) Client mode
D) Static mode
Answer: B
What does the ‘show interfaces trunk’ command display?
A) All active VLANs on the switch
B) Trunk interfaces and their status
C) IP addresses assigned to VLANs
D) Routing information for VLANs
Answer: B
Which protocol allows VLANs to communicate with each other?
A) IP
B) ICMP
C) VLAN routing
D) Inter-VLAN routing
Answer: D
Which of the following is a benefit of using VLANs?
A) Simplified network configuration
B) Reduced hardware requirements
C) Improved network security
D) Decreased latency
Answer: C
What is the purpose of the Native VLAN on a trunk link?
A) To carry tagged traffic
B) To carry untagged traffic
C) To carry management traffic
D) To carry multicast traffic
Answer: B
Which command is used to assign a VLAN to a switch port in access mode?
A) switchport access vlan [vlan-id]
B) vlan port assign [vlan-id]
C) vlan access [vlan-id]
D) assign vlan [vlan-id]
Answer: A
What does VTP stand for?
A) Virtual Trunking Protocol
B) VLAN Trunking Protocol
C) Virtual Transmission Protocol
D) VLAN Tagging Protocol
Answer: B
Which VLAN is used for management purposes?
A) Native VLAN
B) Management VLAN
C) Data VLAN
D) Voice VLAN
Answer: B
How are VLANs typically identified within a network?
A) By MAC address
B) By VLAN ID
C) By IP address
D) By subnet mask
Answer: B
Which type of VLAN is created by default on most switches?
A) Data VLAN
B) Native VLAN
C) Default VLAN
D) Management VLAN
Answer: C
What is the function of the ‘show vlan’ command on a Cisco switch?
A) Display VLAN configuration and status
B) Create a new VLAN
C) Assign VLANs to ports
D) Delete a VLAN
Answer: A
What happens if a VLAN tag is not recognized by a receiving switch?
A) The frame is forwarded to all ports
B) The frame is dropped
C) The frame is tagged with the default VLAN
D) The frame is sent back to the source
Answer: B
What is a Voice VLAN primarily used for?
A) Segregating voice traffic for better quality of service
B) Increasing data transfer speeds
C) Enhancing network security
D) Reducing network congestion
Answer: A
Which type of VLAN is typically used to separate traffic for different departments within an organization?
A) Voice VLAN
B) Data VLAN
C) Management VLAN
D) Guest VLAN
Answer: B