Which of the following routing protocols is a distance-vector protocol?
A) OSPF
B) EIGRP
C) BGP
D) RIP
Answer: D
Which layer of the OSI model do routers operate at?
A) Physical
B) Data Link
C) Network
D) Transport
Answer: C
Which of the following protocols is used for dynamic routing?
A) DHCP
B) DNS
C) RIP
D) FTP
Answer: C
What is the main purpose of a switch in a network?
A) To route data between different networks
B) To amplify signals
C) To forward data within a single network
D) To convert data formats
Answer: C
Which protocol is used to find the MAC address of a device from its IP address?
A) RARP
B) ARP
C) DNS
D) DHCP
Answer: B
Which routing protocol uses the Dijkstra algorithm to calculate the shortest path?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: B
What is the purpose of VLANs in a switched network?
A) To increase bandwidth
B) To create separate broadcast domains
C) To reduce the number of routers needed
D) To encrypt data
Answer: B
Which of the following is a link-state routing protocol?
A) RIP
B) IGRP
C) OSPF
D) BGP
Answer: C
In which mode does a switch initially learn the MAC addresses on the network?
A) Store-and-forward
B) Cut-through
C) Fragment-free
D) Learning
Answer: D
Which command is used to view the routing table on a Cisco router?
A) show ip interfaces
B) show ip route
C) show interfaces
D) show version
Answer: B
Which switching method forwards a frame before it is entirely received?
A) Store-and-forward
B) Cut-through
C) Fragment-free
D) Adaptive switching
Answer: B
Which type of routing is manually configured by a network administrator?
A) Static routing
B) Dynamic routing
C) Default routing
D) Autonomous routing
Answer: A
What is the administrative distance of a directly connected route in Cisco routers?
A) 0
B) 1
C) 90
D) 110
Answer: A
Which routing protocol is known as a path-vector protocol?
A) OSPF
B) RIP
C) EIGRP
D) BGP
Answer: D
What is the maximum number of hops allowed by RIP?
A) 10
B) 15
C) 16
D) 30
Answer: B
Which protocol is used by switches to prevent loops in a network?
A) ARP
B) STP
C) RSTP
D) LLDP
Answer: B
What is the primary function of a router in a network?
A) To switch data packets within a LAN
B) To route data packets between different networks
C) To assign IP addresses
D) To perform network diagnostics
Answer: B
Which type of switch port is used to connect a switch to a router?
A) Access port
B) Trunk port
C) Routed port
D) Hybrid port
Answer: B
Which of the following is an advantage of dynamic routing over static routing?
A) Lower complexity
B) Easier configuration
C) Scalability
D) No bandwidth consumption
Answer: C
Which routing protocol uses the concept of areas to optimize routing?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: B
What is the purpose of the Spanning Tree Protocol (STP)?
A) To provide redundancy
B) To prevent switching loops
C) To increase bandwidth
D) To assign IP addresses
Answer: B
Which command is used to display the MAC address table on a Cisco switch?
A) show ip route
B) show mac address-table
C) show interfaces
D) show vlan
Answer: B
Which protocol is used by routers to communicate reachability information?
A) ARP
B) DHCP
C) BGP
D) FTP
Answer: C
Which of the following protocols is used to manage the IP address assignments in a network?
A) ARP
B) DNS
C) DHCP
D) ICMP
Answer: C
Which routing protocol is an enhanced version of IGRP?
A) RIP
B) OSPF
C) EIGRP
D) BGP
Answer: C
Which protocol does a router use to discover its neighbors on directly connected links?
A) ARP
B) DHCP
C) LLDP
D) CDP
Answer: D
Which type of VLAN is used to carry user data traffic?
A) Native VLAN
B) Management VLAN
C) Data VLAN
D) Voice VLAN
Answer: C
Which routing protocol uses the Bellman-Ford algorithm?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: A
What is the function of a default gateway in a network?
A) To route traffic within the same network
B) To route traffic to external networks
C) To assign IP addresses
D) To translate domain names
Answer: B
Which protocol is used by switches to discover other directly connected devices?
A) STP
B) RSTP
C) CDP
D) LLDP
Answer: C
Which of the following routing protocols supports VLSM (Variable Length Subnet Mask)?
A) RIP v1
B) RIP v2
C) IGRP
D) OSPF
Answer: B
What is the main function of a Layer 2 switch?
A) To route packets between different networks
B) To forward frames within a single network
C) To assign IP addresses
D) To manage domain names
Answer: B
Which protocol allows switches to dynamically learn the best path for forwarding traffic?
A) ARP
B) STP
C) DHCP
D) DNS
Answer: B
Which command is used to assign an IP address to an interface on a Cisco router?
A) ip address
B) set ip
C) assign ip
D) configure ip
Answer: A
Which of the following is a distance-vector routing protocol developed by Cisco?
A) OSPF
B) EIGRP
C) BGP
D) RIP
Answer: B
What is the primary purpose of a Layer 3 switch?
A) To route traffic between VLANs
B) To forward frames within a single VLAN
C) To assign IP addresses
D) To provide DHCP services
Answer: A
Which routing protocol uses autonomous systems to manage routing?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: C
Which protocol is used to resolve IP addresses to MAC addresses?
A) ARP
B) DHCP
C) DNS
D) ICMP
Answer: A
What is the default administrative distance of OSPF?
A) 90
B) 100
C) 110
D) 120
Answer: C
Which protocol provides loop-free paths in a switched network?
A) RSTP
B) OSPF
C) BGP
D) EIGRP
Answer: A
What type of routing uses metrics such as hop count and bandwidth to determine the best path?
A) Static routing
B) Default routing
C) Dynamic routing
D) Direct routing
Answer: C
Which command is used to configure a trunk port on a Cisco switch?
A) switchport mode access
B) switchport mode trunk
C) vlan trunk
D) trunk enable
Answer: B
Which protocol is used to ensure that routers in a network have a common view of routing tables?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: B
What is the administrative distance of a static route in a Cisco router?
A) 0
B) 1
C) 90
D) 110
Answer: B
Which protocol is responsible for finding the MAC address that corresponds to a given IP address?
A) ARP
B) RARP
C) ICMP
D) DHCP
Answer: A
Which type of VLAN is used to manage network devices?
A) Native VLAN
B) Management VLAN
C) Data VLAN
D) Voice VLAN
Answer: B
Which command displays the current configuration of a Cisco router?
A) show run
B) show ip route
C) show interfaces
D) show version
Answer: A
Which protocol is used for inter-domain routing?
A) RIP
B) OSPF
C) BGP
D) EIGRP
Answer: C
What is the purpose of a default route?
A) To route packets within the same network
B) To route packets to a specific destination
C) To route packets to an unknown destination
D) To assign IP addresses
Answer: C
Which switching method checks the entire frame for errors before forwarding?
A) Cut-through
B) Store-and-forward
C) Fragment-free
D) Adaptive switching
Answer: B