Home
Computer Dictionary
CheatSheet
MCQ
Test
Interview Preparation
Route and Switch Quiz
Q.1 What is the primary function of a router in a network?
To forward packets between different networks
To connect devices within the same network
To regulate network traffic flow
To provide physical layer connectivity
Q.2 Which layer of the OSI model do switches primarily operate at?
Data Link Layer (Layer 2)
Network Layer (Layer 3)
Transport Layer (Layer 4)
Physical Layer (Layer 1)
Q.3 What is the primary function of a switch in a network?
To forward frames within the same network
To forward packets between different networks
To regulate network traffic flow
To provide physical layer connectivity
Q.4 Which protocol is commonly used by routers to dynamically learn and share routing information?
OSPF (Open Shortest Path First)
HTTP (Hypertext Transfer Protocol)
FTP (File Transfer Protocol)
SMTP (Simple Mail Transfer Protocol)
Q.5 What is the purpose of a default gateway in a network?
To forward packets to other networks
To connect devices within the same network
To regulate network traffic flow
To provide physical layer connectivity
Q.6 Which device forwards data based on MAC addresses?
Switch
Router
Hub
Bridge
Q.7 What is the primary function of VLANs (Virtual Local Area Networks) in a network?
To logically segment a single physical network into multiple virtual networks
To connect devices within the same network
To regulate network traffic flow
To provide physical layer connectivity
Q.8 Which routing protocol uses distance vector algorithm for routing?
RIP (Routing Information Protocol)
OSPF (Open Shortest Path First)
EIGRP (Enhanced Interior Gateway Routing Protocol)
BGP (Border Gateway Protocol)
Q.9 What is the purpose of spanning tree protocol (STP) in a network with redundant links?
To prevent loops in the network
To forward packets to other networks
To regulate network traffic flow
To provide physical layer connectivity
Q.10 What does a router use to make forwarding decisions?
Routing table
MAC address
IP address
Subnet mask
Q.11 Which routing protocol uses cost as its metric for path selection?
OSPF (Open Shortest Path First)
RIP (Routing Information Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
BGP (Border Gateway Protocol)
Q.12 What is the primary function of a Layer 3 switch?
To perform routing functions
To forward frames based on MAC addresses
To forward packets based on IP addresses
To provide physical layer connectivity
Q.13 What is the main benefit of using dynamic routing protocols over static routing?
Automatic network adaptation to changes
Higher security
Lower latency
Simpler configuration
Q.14 Which switch forwarding method requires the switch to consult its MAC address table before forwarding frames?
Store-and-forward
Cut-through
Fragment-free
Adaptive switching
Q.15 What is the primary function of a Layer 2 switch?
To forward frames based on MAC addresses
To perform routing functions
To forward packets based on IP addresses
To provide physical layer connectivity
Q.16 Which routing protocol is commonly used for routing between autonomous systems?
BGP (Border Gateway Protocol)
OSPF (Open Shortest Path First)
RIP (Routing Information Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
Q.17 What is the primary function of ARP (Address Resolution Protocol)?
To map IP addresses to MAC addresses
To forward packets between different networks
To translate domain names to IP addresses
To assign IP addresses dynamically
Q.18 Which routing protocol uses a hybrid approach, combining aspects of distance vector and link-state routing?
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPF (Open Shortest Path First)
RIP (Routing Information Protocol)
BGP (Border Gateway Protocol)
Q.19 What is the main purpose of VTP (VLAN Trunking Protocol) in a switched network?
To synchronize VLAN information between switches
To perform routing functions
To forward packets between different networks
To translate domain names to IP addresses
Q.20 Which switching method has the lowest latency?
Cut-through
Store-and-forward
Fragment-free
Adaptive switching
Q.21 What is the main purpose of HSRP (Hot Standby Router Protocol) or VRRP (Virtual Router Redundancy Protocol) in a network?
To provide redundancy for default gateway addresses
To synchronize VLAN information between switches
To forward packets between different networks
To translate domain names to IP addresses
Q.22 Which routing protocol uses a vector-based metric that includes bandwidth, delay, load, reliability, and MTU?
EIGRP (Enhanced Interior Gateway Routing Protocol)
OSPF (Open Shortest Path First)
RIP (Routing Information Protocol)
BGP (Border Gateway Protocol)
Q.23 What is the primary function of ACLs (Access Control Lists) in a network?
To filter traffic based on source or destination IP addresses
To synchronize VLAN information between switches
To forward packets between different networks
To translate domain names to IP addresses
Q.24 Which routing protocol is considered an interior gateway protocol (IGP)?
OSPF (Open Shortest Path First)
BGP (Border Gateway Protocol)
RIP (Routing Information Protocol)
IS-IS (Intermediate System to Intermediate System)
Q.25 What is the purpose of port security on a switch?
To restrict access to a switch port based on MAC address
To synchronize VLAN information between switches
To forward packets between different networks
To translate domain names to IP addresses
Q.26 Which protocol is used by a router to inform its neighbors of the networks it can reach?
RIP (Routing Information Protocol)
OSPF (Open Shortest Path First)
BGP (Border Gateway Protocol)
VTP (VLAN Trunking Protocol)
Q.27 What is the primary purpose of trunking in a switched network?
To carry traffic for multiple VLANs over a single link
To synchronize VLAN information between switches
To forward packets between different networks
To translate domain names to IP addresses
Q.28 Which layer of the OSI model do routers primarily operate at?
Network Layer (Layer 3)
Data Link Layer (Layer 2)
Transport Layer (Layer 4)
Physical Layer (Layer 1)
Q.29 What is the main purpose of DHCP Snooping on a switch?
To prevent unauthorized DHCP servers from assigning IP addresses
To synchronize VLAN information between switches
To forward packets between different networks
To translate domain names to IP addresses
Q.30 Which protocol is used for automatic assignment of IP addresses on a network?
DHCP (Dynamic Host Configuration Protocol)
DNS (Domain Name System)
FTP (File Transfer Protocol)
HTTP (Hypertext Transfer Protocol)
Submit Test
Reset Test