A network switch connects devices inside a LAN
and forwards Ethernet frames to the correct destination.
Switches are one of the most important devices in Networking.
In this chapter, you will learn
Layer 2 vs Layer 3 switches, managed vs unmanaged switches,
MAC address tables, frame forwarding, flooding, broadcasts,
STP/RSTP, link aggregation, LACP, port mirroring,
jumbo frames, PoE, and switch troubleshooting
.
Chapter 8 Practice Questions
Question 1
What is the main purpose of a network switch?
A. Connect devices inside a LAN
B. Replace DNS
C. Assign public IP addresses
D. Provide Internet service by itself
Correct answer: A — Connect devices inside a LAN
A switch connects devices inside a local network and forwards
Ethernet frames toward the correct destination.
Question 2
What type of address does a Layer 2 switch primarily use?
A. IP address
B. MAC address
C. DNS name
D. TCP sequence number
Correct answer: B — MAC address
A Layer 2 switch uses MAC addresses to decide where Ethernet frames go.
Question 3
Which OSI layer is most closely associated with a Layer 2 switch?
A. Layer 1
B. Layer 2
C. Layer 3
D. Layer 7
Correct answer: B — Layer 2
A Layer 2 switch operates mainly at the Data Link layer.
Question 4
What does a Layer 2 switch forward?
A. Frames
B. Files only
C. DNS records
D. Applications
Correct answer: A — Frames
Layer 2 switches forward Ethernet frames using MAC-address information.
Question 5
What extra capability does a Layer 3 switch have?
A. Routing
B. It removes MAC addresses
C. It only works with Wi-Fi
D. It cannot use VLANs
Correct answer: A — Routing
A Layer 3 switch can perform normal switching and also route traffic.
Question 6
Which information can a Layer 3 switch work with?
A. MAC addresses only
B. MAC addresses and IP addresses
C. DNS names only
D. TCP ports only
Correct answer: B — MAC addresses and IP addresses
A Layer 3 switch can use both Layer 2 MAC information and Layer 3 IP information.
Question 7
Which switch type can route traffic between VLAN 10 and VLAN 20?
A. Layer 3 switch
B. Basic hub
C. Patch panel
D. Repeater only
Correct answer: A — Layer 3 switch
A Layer 3 switch can perform inter-VLAN routing.
Question 8
Which statement correctly compares Layer 2 and Layer 3 switches?
A. Layer 2 = MAC + Frames; Layer 3 = MAC + Frames + IP routing
B. Layer 2 = IP only; Layer 3 = MAC only
C. Both are Layer 1 devices only
D. Layer 3 switches cannot use VLANs
Correct answer: A — Layer 2 = MAC + Frames; Layer 3 = MAC + Frames + IP routing
This is the key distinction from your Chapter 8 material.
Question 9
What is a managed switch?
A. A configurable switch
B. A switch that cannot be configured
C. A switch with no ports
D. A router only
Correct answer: A — A configurable switch
Managed switches allow administrators to configure advanced network features.
Question 10
Which feature is commonly available on a managed switch?
A. VLAN configuration
B. No configuration at all
C. No monitoring
D. No port settings
Correct answer: A — VLAN configuration
Managed switches can commonly configure VLANs, trunks, STP,
port security, and other features.
Question 11
Which switch type is most common in enterprise networks?
A. Managed switch
B. Unmanaged hub only
C. Repeater only
D. Patch panel
Correct answer: A — Managed switch
Managed switches are common in businesses and enterprise environments.
Question 12
What best describes an unmanaged switch?
A. Plug-and-play
B. Requires complex routing configuration
C. Always provides advanced VLAN control
D. Works only as a router
Correct answer: A — Plug-and-play
An unmanaged switch normally works automatically with little or no configuration.
Question 13
Which environment is a good example for an unmanaged switch?
A. Small simple network
B. Complex enterprise requiring advanced VLAN policies
C. Large data center core only
D. Internet service provider backbone only
Correct answer: A — Small simple network
Unmanaged switches are useful when basic connectivity is needed
without advanced configuration.
Question 14
What does a switch store in a MAC address table?
A. MAC addresses and associated switch ports
B. DNS names only
C. User passwords
D. Internet URLs
Correct answer: A — MAC addresses and associated switch ports
A switch uses this table to know which port leads to a particular MAC address.
Question 15
What is another name for a MAC address table?
A. CAM table
B. DNS table
C. ARP-only table
D. Routing protocol table
Correct answer: A — CAM table
The MAC address table may also be called a CAM table.
Question 16
A switch learns MAC address AA:AA:AA:AA:AA:AA on Port 1.
What does that mean?
A. That MAC address is reachable through Port 1
B. Port 1 is automatically a router
C. The MAC address becomes an IP address
D. The switch must delete Port 1
Correct answer: A — That MAC address is reachable through Port 1
The switch associates learned MAC addresses with the ports
on which they are observed.
Question 17
Which managed-switch feature helps prevent switching loops?
A. STP
B. HTTP
C. DNS
D. DHCP
Correct answer: A — STP
STP is one of the switch features named in the Chapter 8 material
and is used to manage redundant Layer 2 paths.
Question 18
What does RSTP provide compared with traditional STP?
A. Faster spanning-tree convergence
B. DNS resolution
C. Email transport
D. IP address assignment
Correct answer: A — Faster spanning-tree convergence
RSTP is the rapid version of spanning tree and is intended
to converge faster than traditional STP.
Question 19
What is link aggregation used for?
A. Combine multiple physical links into one logical link
B. Replace MAC addresses
C. Assign DNS names
D. Disable switch redundancy
Correct answer: A — Combine multiple physical links into one logical link
Link aggregation can increase bandwidth and provide redundancy.
Question 20
Which protocol is associated with link aggregation negotiation?
A. LACP
B. SMTP
C. NTP
D. POP3
Correct answer: A — LACP
LACP is the link-aggregation protocol named in your Chapter 8 introduction.
Question 21
What is port mirroring used for?
A. Copy traffic for monitoring or analysis
B. Increase monitor screen brightness
C. Assign IP addresses
D. Encrypt all VLAN traffic automatically
Correct answer: A — Copy traffic for monitoring or analysis
Port mirroring allows selected network traffic to be copied
to another port for troubleshooting or monitoring.
Question 22
What are jumbo frames?
A. Ethernet frames larger than the standard frame size
B. Tiny DNS packets only
C. Wireless-only packets
D. Router configuration files
Correct answer: A — Ethernet frames larger than the standard frame size
Jumbo frames are larger Ethernet frames and may be used
in environments where supported end-to-end.
Question 23
What does PoE allow a switch to provide?
A. Electrical power over Ethernet cabling
B. DNS resolution
C. Public IP addresses
D. Fiber light directly to a PC
Correct answer: A — Electrical power over Ethernet cabling
PoE can provide both data connectivity and electrical power
through Ethernet cabling.
Question 24
Which device commonly benefits from PoE?
A. Wireless access point
B. Passive patch panel only
C. Standard paper document
D. DNS record
Correct answer: A — Wireless access point
PoE is commonly useful for devices such as access points,
IP phones, and cameras.
Question 25
Which feature allows an administrator to monitor a managed switch?
A. SNMP
B. POP3
C. FTP only
D. TFTP only
Correct answer: A — SNMP
SNMP is listed among the configurable and monitoring features
of a managed switch.
Question 26
Which switch feature can restrict which devices are allowed on a port?
A. Port security
B. DNS
C. NTP
D. SMTP
Correct answer: A — Port security
Port security is a managed-switch feature used to control
device access at a switch port.
Question 27
Which switch setting can help fix a link that is up but performing poorly?
A. Speed and duplex
B. DNS domain name only
C. SMTP port only
D. POP3 mailbox
Correct answer: A — Speed and duplex
Managed switches often allow speed and duplex configuration,
which can be important when troubleshooting link problems.
Question 28
A network requires VLANs, trunks, STP, monitoring, and port security.
Which switch type should be chosen?
A. Managed switch
B. Unmanaged switch
C. Hub
D. Repeater
Correct answer: A — Managed switch
These are advanced features associated with managed switches.
Question 29
A small home setup only needs extra Ethernet ports and no advanced configuration.
Which device is most appropriate?
A. Unmanaged switch
B. Layer 3 core switch only
C. Enterprise firewall only
D. Router-on-a-stick
Correct answer: A — Unmanaged switch
An unmanaged switch is suitable for simple plug-and-play connectivity.
Question 30
Which statement correctly summarizes a network switch?
A.
A switch connects LAN devices and primarily forwards Ethernet frames
using MAC-address information.
B.
A switch only resolves DNS names.
C.
A switch has no knowledge of MAC addresses.
D.
All switches are unmanaged and cannot be configured.
Correct answer: A — A switch connects LAN devices and primarily
forwards Ethernet frames using MAC-address information.
Layer 2 switches primarily use MAC addresses and frames.
Layer 3 switches add IP-routing capabilities.
Exam memory:
Layer 2 switch = MAC + Frames.
Layer 3 switch = MAC + Frames + IP routing.
Managed = configurable.
Unmanaged = plug-and-play.
MAC address table = CAM table.