Free CCNP Routing and Switching Questions and Answers — Questions and Answers
Question 1: Layer 2 switching uses which of the following values to forward data?
- IP address
- IPX address
- MAC address (Correct answer)
- RIP address
- UDP port
Correct answer: MAC address
Explanation: <br> Layer 2 switching uses MAC addresses to forward data. MAC addresses are unique identifiers assigned to network interface cards (NICs) at the factory. Layer 2 switches use these addresses to determine the destination of the data and forward it to the appropriate device on the local network. IP addresses, IPX addresses, RIP addresses, and UDP ports are all used in different layers of the network stack and are not directly used by layer 2 switching
Question 2: Which of the following does a multilayer switch perform?
- Forwarding according to MAC address.
- Forwarding according to IP address.
- Forwarding according to UDP/TCP port numbers.
- All of the above. (Correct answer)
Correct answer: All of the above.
Explanation: <br> A multilayer switch performs all of the mentioned tasks. It is capable of forwarding data packets based on MAC addresses, IP addresses, and UDP/TCP port numbers. This allows the switch to efficiently route traffic at both the data link layer and network layer, making it a versatile networking device.
Question 3: What does the 20/80 rule of networking state? (Pick one.)
- Only 20 out of 80 packets arrive at the destination.
- Twenty percent of the network is used 80 percent of the time.
- Twenty percent of the traffic on a network segment travels across the network, whereas 80 percent of it stays local.
- Twenty percent of the traffic on a network segment stays local, whereas 80 percent of it travels across the network. (Correct answer)
Correct answer: Twenty percent of the traffic on a network segment stays local, whereas 80 percent of it travels across the network.
Explanation: <br> The 20/80 rule of networking states that twenty percent of the traffic on a network segment stays local, whereas 80 percent of it travels across the network. This means that only a small portion of the network traffic remains within a specific segment, while the majority of it is transmitted across different segments or even outside of the network. This rule highlights the importance of efficient network design and management to ensure smooth and effective data transmission.
Question 4: Where does a collision domain exist in a switched network?
- On a single switch port (Correct answer)
- Across all switch ports
- On a single VLAN
- Across all VLANs
Correct answer: On a single switch port
Explanation: <br> A collision domain exists on a single switch port in a switched network. In a switched network, each switch port operates as an individual collision domain. This means that when data is transmitted on a switch port, it does not collide with data transmitted on other switch ports. Switches use MAC address tables to forward data only to the intended destination port, effectively isolating each port and creating separate collision domains. This allows for efficient and simultaneous communication between devices connected to different switch ports.
Question 5: Where does a broadcast domain exist in a switched network?
- On a single switch port
- Across all switch ports
- On a single VLAN (Correct answer)
- Across all VLANs
Correct answer: On a single VLAN
Explanation: <br> A broadcast domain exists on a single VLAN in a switched network. A VLAN (Virtual Local Area Network) is a logical grouping of devices that are connected to the same network and can communicate with each other as if they were on the same physical network. In a switched network, each VLAN is isolated from others, creating separate broadcast domains. This means that broadcast traffic, such as ARP requests or DHCP requests, is only forwarded within the same VLAN and does not cross over to other VLANs. Therefore, a broadcast domain exists within a single VLAN in a switched network.
Question 6: What is a VLAN primarily used for?
- To segment a collision domain
- To segment a broadcast domain (Correct answer)
- To segment an autonomous system
- To segment a spanning-tree domain
Correct answer: To segment a broadcast domain
Explanation: <br> A VLAN, or Virtual Local Area Network, is primarily used to segment a broadcast domain. By dividing a network into multiple VLANs, broadcast traffic is contained within each VLAN, reducing unnecessary network congestion and improving network performance. This segmentation allows for better control over network traffic and enhances security by isolating different groups of devices or users. Additionally, VLANs enable easier management and configuration of network resources, as they can be logically grouped together based on specific requirements or organizational structures.
Question 7: Which of the following are the components of a typical switch block?
- Access-layer switches (Correct answer)
- Distribution-layer switches (Correct answer)
- Core-layer switches
- E-commerce servers
- Service provider switches
Correct answer: Access-layer switches
Explanation: <br> Access-layer switches and distribution-layer switches are components of a typical switch block. Access-layer switches are responsible for connecting end devices, such as computers and printers, to the network. Distribution-layer switches are used to connect access-layer switches to the core-layer switches. Core-layer switches are not mentioned in the question, but they are another component of a typical switch block, as they are responsible for routing data between different networks. E-commerce servers and service provider switches are not components of a typical switch block.
Question 8: What are the two types of core, or backbone designs?
- Collapsed core (Correct answer)
- Loop-free core
- Dual-core (Correct answer)
- Layered core
Correct answer: Collapsed core
Explanation: <br> A collapsed core design refers to a network architecture where the core and distribution layers are combined into a single layer, reducing complexity and cost. On the other hand, a dual-core design involves having two separate core layers for redundancy and increased reliability. These designs are commonly used in network infrastructure to ensure efficient and reliable data transmission."
Question 9: Which of the following protocols can be used as a tool to discover a network topology?
- RIP
- CDP (Correct answer)
- STP
- ICMP
Correct answer: CDP
Explanation: <br> CDP (Cisco Discovery Protocol) is a protocol used by Cisco devices to discover and gather information about neighboring devices on a network. It allows network administrators to obtain details about the devices connected to their Cisco network, such as their IP addresses, capabilities, and platform information. By using CDP, administrators can effectively map out the network topology, identifying the connections between devices and understanding how they are interconnected. Therefore, CDP is a suitable tool for discovering a network topology.
Question 10: Which of the following devices performs transparent bridging?
- Ethernet hub
- Layer 2 switch (Correct answer)
- Layer 3 switch
- Router
Correct answer: Layer 2 switch
Explanation: <br> A Layer 2 switch performs transparent bridging. Transparent bridging is a technique used in computer networks to connect multiple network segments together. It operates at the data link layer (Layer 2) of the OSI model and uses MAC addresses to forward data packets between different network segments. A Layer 2 switch can learn and store MAC addresses in its forwarding table, allowing it to make forwarding decisions based on MAC addresses. This allows for efficient and fast switching of data packets between different network segments, making Layer 2 switches ideal for creating local area networks (LANs).
Question 11: When a PC is connected to a Layer 2 switch port, how far does the collision domain spread?
- No collision domain exists.
- One switch port. (Correct answer)
- One VLAN.
- All ports on the switch.All ports on the switch.
Correct answer: One switch port.
Explanation: <br> When a PC is connected to a Layer 2 switch port, the collision domain is limited to that specific switch port. This means that collisions can only occur between devices connected to that particular port. The switch itself helps to eliminate collisions by creating separate collision domains for each port, allowing for simultaneous communication between devices connected to different ports without interference. Therefore, in this scenario, the collision domain does not extend beyond the switch port to any other ports or VLANs.
Layer 2 switching uses which of the following values to forward data?