-
web.groovymark@gmail.com
- November 19, 2024
Question 21
In the OSI model, which layer is responsible for establishing, maintaining, and terminating communication sessions between network devices?
a) Network layer
b) Session layer
c) Transport layer
d) Data Link layer
Correct Answer: b) Session layer
Explanation: The Session layer (Layer 5) manages sessions and controls the dialog between devices on a network.
Question 22
Which type of route is created when a router automatically discovers routes using routing protocols like OSPF or RIP?
a) Static route
b) Dynamic route
c) Default route
d) Direct route
Correct Answer: b) Dynamic route
Explanation: Dynamic routes are created when routers use routing protocols to automatically discover and update routes.
Question 23
What is the purpose of ARP in a network?
a) To translate IP addresses into MAC addresses
b) To translate MAC addresses into IP addresses
c) To find the default gateway
d) To route traffic between different networks
Correct Answer: a) To translate IP addresses into MAC addresses
Explanation: ARP (Address Resolution Protocol) translates IP addresses into MAC addresses to facilitate communication within a local network.
Question 24
What command is used to copy the running configuration from a router to a TFTP server?
a) copy tftp run
b) copy run tftp
c) save run tftp
d) copy config tftp
Correct Answer: b) copy run tftp
Explanation: The command copy run tftp copies the router's running configuration to a TFTP server.
Question 25
Which OSI layer combines messages or segments into packets?
a) Physical layer
b) Data Link layer
c) Network layer
d) Transport layer
Correct Answer: c) Network layer
Explanation: The Network layer (Layer 3) is responsible for combining segments or messages into packets and routing them between networks.
Question 26
What OSI layer is responsible for adding a header that includes routing information?
a) Network layer
b) Data Link layer
c) Physical layer
d) Application layer
Correct Answer: a) Network layer
Explanation: The Network layer (Layer 3) adds the header that includes the logical addressing (IP addresses) used for routing.
Question 27
Which OSI layer is considered the media access control layer?
a) Data Link layer
b) Transport layer
c) Presentation layer
d) Application layer
Correct Answer: a) Data Link layer
Explanation: The Data Link layer (Layer 2) is responsible for MAC addressing and ensuring error-free data transfer between adjacent nodes.
Question 28
Which network device is used to reduce collision domains in a network?
a) Hub
b) Switch
c) Router
d) Repeater
Correct Answer: b) Switch
Explanation: A switch reduces collision domains by providing dedicated bandwidth to each port.
Question 29
Which device is responsible for connecting different networks and routing packets between them?
a) Switch
b) Router
c) Hub
d) Bridge
Correct Answer: b) Router
Explanation: A router is responsible for connecting different networks and routing packets based on their destination IP address.
Question 30
In an IPv6 network, what mechanism is used by routers to inform clients of the available prefixes and other configuration options?
a) DHCPv6
b) Router Advertisement
c) Neighbor Discovery Protocol
d) Stateless Autoconfiguration
Correct Answer: b) Router Advertisement
Explanation: In IPv6, routers use Router Advertisement messages to inform clients of network prefixes and other configuration information.
Question 31
What is the primary benefit of using dynamic routing protocols such as OSPF or EIGRP?
a) Reduced packet loss
b) Automatic route updates
c) Increased bandwidth
d) Manual configuration of all routes
Correct Answer: b) Automatic route updates
Explanation: Dynamic routing protocols automatically update the routing table when network topology changes, reducing the need for manual configuration.
Question 32
Which of the following is a protocol used to discover the MAC address of a device on a local network, given its IP address?
a) ICMP
b) ARP
c) DNS
d) DHCP
Correct Answer: b) ARP
Explanation: ARP (Address Resolution Protocol) is used to resolve the MAC address for a given IP address on a local network.
Question 33
Which command can display the routing protocols running on a router?
a) show ip protocol
b) show run
c) show ip route
d) show ip int brief
Correct Answer: a) show ip protocol
Explanation: The show ip protocol command displays the routing protocols currently running on a router.
Question 34
Which command can be used to verify that EIGRP is running on a router?
a) show ip route
b) show run
c) show ip protocol
d) show interfaces
Correct Answer: c) show ip protocol
Explanation: The show ip protocol command is used to verify the routing protocols, including EIGRP, running on the router.
Question 35
Which OSI layer is responsible for managing message fragmentation and reassembly?
a) Physical layer
b) Data Link layer
c) Network layer
d) Transport layer
Correct Answer: d) Transport layer
Explanation: The Transport layer (Layer 4) handles message fragmentation and reassembly to ensure data arrives intact at its destination.
Question 36
Which port number is used by the TFTP protocol?
a) 1102
b) 69
c) 21
d) 25
Correct Answer: b) 69
Explanation: The TFTP protocol uses port 69 for transferring files.
Question 37
What routing protocol uses the Shortest Path First (SPF) algorithm to calculate the best route?
a) RIP
b) BGP
c) OSPF
d) EIGRP
Correct Answer: c) OSPF
Explanation: OSPF (Open Shortest Path First) uses the Shortest Path First algorithm to calculate the best route through the network.
Question 38
What command would you use to display the configured routes on a router?
a) show ip protocol
b) show ip route
c) show interfaces
d) show running-config
Correct Answer: b) show ip route
Explanation: The show ip route command displays the routing table and all configured routes on the router.
Question 39
Which network topology involves all nodes connected to a central hub, and the hub acts as a server to the connected devices?
a) Bus
b) Ring
c) Mesh
d) Star
Correct Answer: d) Star
Explanation: In a star topology, all devices connect to a central hub or switch, and the hub acts as a server to the connected devices.
Question 40
In the OSI model, which layer is responsible for error detection and frame synchronization in Ethernet networks?
a) Data Link layer
b) Physical layer
c) Network layer
d) Transport layer
Correct Answer: a) Data Link layer
Explanation: The Data Link layer (Layer 2) provides error detection and frame synchronization in Ethernet networks.