IP Routing – Practice Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Apalani
A
Apalani
Community Contributor
Quizzes Created: 17 | Total Attempts: 75,774
Questions: 19 | Attempts: 1,252

SettingsSettingsSettings
IP Routing  Practice Test - Quiz

By IMS Asia (https://www. Imsasia. Com)


Questions and Answers
  • 1. 

    TCP is an acronym for _________? 

    • A.

      Transport Control Protocol

    • B.

      Transport Control Point

    • C.

      Transport Communication Protocol

    • D.

      Transmission Control Protocol

    Correct Answer
    D. Transmission Control Protocol
    Explanation
    TCP stands for Transmission Control Protocol. It is a widely used networking protocol that provides reliable and ordered delivery of data packets over an IP network. TCP ensures that data packets are transmitted accurately and in the correct order, and it also handles congestion control and flow control to optimize network performance.

    Rate this question:

  • 2. 

    IP is an acronym for ________?

    • A.

      Information Protocol

    • B.

      Internet Protocol

    • C.

      Internal Program

    • D.

      Interface Program

    Correct Answer
    B. Internet Protocol
    Explanation
    IP is an acronym for Internet Protocol. Internet Protocol is a set of rules and protocols that govern the way data is transmitted over the internet. It defines how data packets are addressed, routed, and delivered to their destination. IP is an essential component of the internet infrastructure and enables communication between different devices and networks.

    Rate this question:

  • 3. 

    How many bits are in an octet?

    • A.

      4 bits

    • B.

      8 bits

    • C.

      1 bit

    • D.

      2 bits

    Correct Answer
    B. 8 bits
    Explanation
    An octet is a unit of digital information that consists of 8 bits. Each bit can be either a 0 or a 1, representing binary data. Therefore, there are 8 bits in an octet.

    Rate this question:

  • 4. 

    What are the four commonly used classes of IP addresses?

    • A.

      Class A

    • B.

      Class B

    • C.

      Class C

    • D.

      Class D

    • E.

      All of the above

    Correct Answer
    E. All of the above
    Explanation
    The four commonly used classes of IP addresses are Class A, Class B, Class C, and Class D. Class A addresses are used for large networks, Class B addresses are used for medium-sized networks, Class C addresses are used for small networks, and Class D addresses are used for multicast addresses. Therefore, the correct answer is "All of the above" as it includes all four classes of IP addresses.

    Rate this question:

  • 5. 

    What is the default subnet mask for Class A?

    • A.

      255.255.255.0

    • B.

      255.255.0.0

    • C.

      255.255.255.255

    • D.

      255.0.0.0

    Correct Answer
    D. 255.0.0.0
    Explanation
    The default subnet mask for Class A is 255.0.0.0. In IPv4, IP addresses are divided into classes, with Class A being used for large networks. The subnet mask determines the network and host portions of an IP address. In Class A, the first octet is used for the network portion, while the remaining three octets are used for the host portion. The default subnet mask for Class A has all the bits in the first octet set to 1, indicating that the entire first octet is used for the network portion. Therefore, the correct answer is 255.0.0.0.

    Rate this question:

  • 6. 

    What is the default subnet mask for Class B?

    • A.

      255.255.255.0

    • B.

      255.255.0.0

    • C.

      255.255.255.255

    • D.

      255.0.0.0

    Correct Answer
    B. 255.255.0.0
    Explanation
    The default subnet mask for Class B is 255.255.0.0. This subnet mask is used to divide an IP address into network and host portions. In Class B, the first two octets are used for the network portion, while the last two octets are used for the host portion. The subnet mask 255.255.0.0 signifies that the first two octets are fixed for the network, allowing for a larger number of hosts compared to Class C.

    Rate this question:

  • 7. 

    What is the default subnet mask for Class C?

    • A.

      255.255.255.0

    • B.

      255.0.0.0

    • C.

      255.255.0.0

    • D.

      255.255.255.255

    Correct Answer
    A. 255.255.255.0
    Explanation
    The default subnet mask for Class C is 255.255.255.0. This subnet mask is used to divide an IP address into network and host portions. In Class C, the first three octets are reserved for the network portion, while the last octet is used for the host portion. The subnet mask 255.255.255.0 signifies that the first three octets are fixed and the last octet can vary for different hosts within the network.

    Rate this question:

  • 8. 

    What is the beginning range for a layer three multicast address?

    • A.

      244.0.0.0

    • B.

      224.0.0.0

    • C.

      239.0.0.0

    • D.

      255.0.0.0

    Correct Answer
    B. 224.0.0.0
    Explanation
    The beginning range for a layer three multicast address is 224.0.0.0. This range is reserved for multicast addresses and is used for various multicast protocols and applications. Multicast addresses in this range are used for communication between multiple hosts that are interested in receiving the multicast traffic.

    Rate this question:

  • 9. 

    Given the IP address 198.176.174.202 with a 28 bit subnet mask.  Select the  subnet number and subnet broadcast address, respectively? 

    • A.

      198.176.174.192 – 198.176.174.207

    • B.

      198.176.174.128 – 198.176.174.192

    • C.

      198.176.174.200 – 198.176.174.207

    • D.

      None of the above

    Correct Answer
    A. 198.176.174.192 – 198.176.174.207
    Explanation
    The given IP address is 198.176.174.202 with a 28-bit subnet mask. A 28-bit subnet mask means that the first 28 bits of the IP address are used for the network address, and the remaining 4 bits are used for host addresses within the subnet.

    To determine the subnet number, we need to find the network address by setting all the host bits to 0. In this case, the network address is 198.176.174.192.

    To determine the subnet broadcast address, we need to find the address where all host bits are set to 1. In this case, the subnet broadcast address is 198.176.174.207.

    Therefore, the correct answer is 198.176.174.192 – 198.176.174.207.

    Rate this question:

  • 10. 

    Using a Class B address with a mask of 255.255.255.128, how many networks and hosts are allowed, respectively ?

    • A.

      126 networks and 512 hosts

    • B.

      512 networks and 128 hosts

    • C.

      128 networks and 512 hosts

    • D.

      510 networks and 126 hosts

    Correct Answer
    D. 510 networks and 126 hosts
    Explanation
    A Class B address has a default subnet mask of 255.255.0.0. However, in this question, a subnet mask of 255.255.255.128 is given, which means that the network portion of the address is extended by 1 bit, allowing for more subnets.

    With a mask of 255.255.255.128, the last octet of the address is divided into 2 parts: the first 7 bits represent the network portion, and the last bit represents the host portion.

    In the network portion, there are 7 bits, which can have 2^7 (128) possible combinations. However, the first and last combinations are reserved, so there are 128 - 2 = 126 usable networks.

    In the host portion, there is 1 bit, which can have 2^1 (2) possible combinations. However, the first combination (all 0s) represents the network address, and the last combination (all 1s) represents the broadcast address, so there are 2 - 2 = 0 usable hosts.

    Therefore, the correct answer is 510 networks and 126 hosts.

    Rate this question:

  • 11. 

    Which is an illegal subnet mask ?

    • A.

      255.255.255.254

    • B.

      255.128.0.0

    • C.

      255.255.255.242

    • D.

      255.255.255.192

    Correct Answer
    C. 255.255.255.242
    Explanation
    The given subnet mask, 255.255.255.242, is illegal because it does not follow the standard subnet mask format. In a valid subnet mask, the network portion consists of consecutive 1s followed by consecutive 0s in the host portion. However, in this case, the subnet mask has a 1 followed by a 0 in the host portion, which is not allowed.

    Rate this question:

  • 12. 

    What command defines an alias host name on a router ?

    • A.

      Ip domain-lookup

    • B.

      Ip alias

    • C.

      Ip host

    • D.

      None of the above

    Correct Answer
    C. Ip host
    Explanation
    The correct answer is "ip host." This command is used to define an alias host name on a router. It allows the router to associate a specific IP address with a hostname, making it easier to manage and access network devices. The "ip host" command is commonly used in network configurations to create static mappings between IP addresses and hostnames.

    Rate this question:

  • 13. 

    What command defines a DNS server for the router to use to resolve logical names ?

    • A.

      Ip domain-lookup

    • B.

      Ip host

    • C.

      Ip name-server

    • D.

      None of the above

    Correct Answer
    C. Ip name-server
    Explanation
    The correct answer is "ip name-server." This command is used to define a DNS server for the router to use in order to resolve logical names. By specifying the IP address of the DNS server, the router can send DNS queries to that server and receive the corresponding IP addresses for the logical names it needs to resolve.

    Rate this question:

  • 14. 

    PING and Traceroute test what Layers of the OSI reference model ?

    • A.

      Physical

    • B.

      DataLink

    • C.

      Network

    • D.

      Application

    • E.

      All of the above

    Correct Answer(s)
    A. pHysical
    B. DataLink
    C. Network
    Explanation
    PING and Traceroute are network diagnostic tools that operate at different layers of the OSI reference model. PING tests the connectivity between two devices at the network layer (Layer 3), while Traceroute determines the path taken by packets from the source to the destination, also operating at the network layer. Additionally, both PING and Traceroute rely on lower layers for their functionality, such as the physical layer (Layer 1) for transmitting the packets and the data link layer (Layer 2) for addressing and error detection. Therefore, PING and Traceroute test the Physical, DataLink, and Network layers of the OSI reference model.

    Rate this question:

  • 15. 

    What routing proctols are distance vector ?

    • A.

      RIP

    • B.

      IGRP

    • C.

      OSPF

    • D.

      IS-IS

    Correct Answer(s)
    A. RIP
    B. IGRP
    Explanation
    RIP (Routing Information Protocol) and IGRP (Interior Gateway Routing Protocol) are both examples of distance vector routing protocols. Distance vector routing protocols determine the best path for data packets based on the distance or number of hops to a destination. These protocols exchange routing information with neighboring routers and update their routing tables accordingly. RIP and IGRP use the Bellman-Ford algorithm to calculate the best path and have limitations such as slow convergence and limited scalability. On the other hand, OSPF (Open Shortest Path First) and IS-IS (Intermediate System to Intermediate System) are examples of link-state routing protocols, which use more advanced algorithms and have better scalability and faster convergence.

    Rate this question:

  • 16. 

    What routing protocols are Link State?

    • A.

      OSPF

    • B.

      IS-IS

    • C.

      IGRP

    Correct Answer(s)
    A. OSPF
    B. IS-IS
    Explanation
    OSPF and IS-IS are the routing protocols that are Link State. These protocols use the Link State Database (LSDB) to store information about the network topology, including the state and cost of each link. By exchanging link state information with neighboring routers, OSPF and IS-IS are able to build a complete and accurate map of the network. This allows them to calculate the shortest path to a destination and make efficient routing decisions. IGRP, on the other hand, is a distance vector routing protocol and does not use the Link State approach.

    Rate this question:

  • 17. 

    What is the metric used by RIP ?

    • A.

      Hop count

    • B.

      Hop count and tick

    • C.

      Bandwidth, load, delay, reliability, and MTU

    • D.

      Cost

    Correct Answer
    A. Hop count
    Explanation
    RIP (Routing Information Protocol) uses hop count as the metric to determine the best path for routing. Hop count refers to the number of routers or network devices that a packet must pass through to reach its destination. In RIP, each router increments the hop count value by one when forwarding a packet. By comparing the hop counts of different routes, RIP selects the path with the lowest hop count as the best route. Therefore, hop count is the metric used by RIP to make routing decisions.

    Rate this question:

  • 18. 

    What is the metric used by IGRP ?

    • A.

      Hop count

    • B.

      Hop count and tick

    • C.

      Bandwidth, load, delay, reliability, and MTU

    • D.

      Cost

    Correct Answer
    C. Bandwidth, load, delay, reliability, and MTU
    Explanation
    IGRP (Interior Gateway Routing Protocol) uses multiple metrics to determine the best path for routing. These metrics include bandwidth (the capacity of a link), load (the current traffic on a link), delay (the time taken for a packet to travel from source to destination), reliability (the probability of a link being operational), and MTU (Maximum Transmission Unit, the maximum size of a packet that can be transmitted). By considering these metrics, IGRP can make more informed decisions about the optimal routes for data packets within a network.

    Rate this question:

  • 19. 

    What is the metric used by OSPF ?

    • A.

      Hop count

    • B.

      Hop count and tick

    • C.

      Bandwidth, load, delay, reliability, and MTU

    • D.

      Cost

    Correct Answer
    D. Cost
    Explanation
    OSPF (Open Shortest Path First) uses the metric of "cost" to determine the best path for routing. The cost is calculated based on various factors such as bandwidth, load, delay, reliability, and MTU (Maximum Transmission Unit). By considering these factors, OSPF can select the most efficient and reliable route for data transmission. The lower the cost, the more preferred the route becomes. Therefore, the correct answer is "cost".

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 28, 2011
    Quiz Created by
    Apalani
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.