Networking Basics IP Addressing, Subnetting and Routing MCQs

Questions: 30

Questions
  • 1. What does an IP address represent?

    • a) A physical address of a device in a network
    • b) A type of network cable
    • c) A protocol for transferring data packets
    • d) A unique identifier for a device on a network
  • 2. Which class of IP address is used for private networks?

    • a) Class A
    • b) Class B
    • c) Class C
    • d) Class D
  • 3. Which IP address range is reserved for private networks in Class A?

    • a) 192.168.0.0 to 192.168.255.255
    • b) 172.16.0.0 to 172.31.255.255
    • c) 224.0.0.0 to 239.255.255.255
    • d) 10.0.0.0 to 10.255.255.255
  • 4. What is the default subnet mask for a Class A IP address?

    • a) 255.0.0.0
    • b) 255.255.0.0
    • c) 255.255.255.0
    • d) 255.255.255.255
  • 5. What does CIDR stand for in IP addressing?

    • a) Classful Internet Data Routing
    • b) Constant Inter-Domain Routing
    • c) Centralized Internet Data Routing
    • d) Classless Inter-Domain Routing
  • 6. What is the purpose of a subnet mask?

    • a) To identify the network portion of an IP address
    • b) To encrypt network data
    • c) To assign MAC addresses to devices
    • d) To dynamically assign IP addresses
  • 7. Which of the following IP addresses is a valid Class C private address?

    • a) 192.168.1.1
    • b) 10.0.0.1
    • c) 172.16.0.1
    • d) 200.100.50.25
  • 8. What is the term used for the number of bits that represent the network portion in a subnet mask?

    • a) Subnet bits
    • b) Host bits
    • c) Address bits
    • d) Network bits
  • 9. Which of the following is a valid IP address for a Class B network?

    • a) 192.168.0.1
    • b) 172.16.5.6
    • c) 224.0.0.1
    • d) 10.1.1.1
  • 10. What is the valid range of IP addresses for a Class A network?

    • a) 128.0.0.0 to 191.255.255.255
    • b) 192.0.0.0 to 223.255.255.255
    • c) 224.0.0.0 to 239.255.255.255
    • d) 0.0.0.0 to 127.255.255.255
  • 11. What is the first step in the routing process for a data packet?

    • a) The data is sent to the correct IP address
    • b) The router looks at the destination MAC address
    • c) The router checks the destination IP address
    • d) The data is encrypted
  • 12. What is the purpose of a default gateway in a network?

    • a) To provide DNS resolution
    • b) To assign IP addresses
    • c) To prevent unauthorized access
    • d) To route traffic from a local network to external networks
  • 13. Which of the following best describes static routing?

    • a) The routing table is automatically updated
    • b) Routing decisions are made based on the shortest path
    • c) Routes change dynamically based on network conditions
    • d) Routes are manually configured by the network administrator
  • 14. What is the main purpose of the Routing Information Protocol (RIP)?

    • a) To assign IP addresses to devices
    • b) To enable secure communications over a network
    • c) To encrypt data packets
    • d) To route data packets between networks
  • 15. What is an example of a network address?

    • a) 192.168.1.255
    • b) 10.0.0.0
    • c) 255.255.255.0
    • d) 172.16.5.10
  • 16. What is the purpose of the IP address range 169.254.x.x?

    • a) It is used for public networks
    • b) It is used for automatic private IP addressing (APIPA)
    • c) It is reserved for private networks
    • d) It is reserved for multicast communication
  • 17. What is the subnet mask for the IP address 192.168.1.10 with a /24 prefix?

    • a) 255.255.0.0
    • b) 255.255.255.0
    • c) 255.255.255.255
    • d) 255.0.0.0
  • 18. How many usable host IP addresses are available in a Class C network with a subnet mask of 255.255.255.0?

    • a) 256
    • b) 128
    • c) 512
    • d) 254
  • 19. What is the purpose of Network Address Translation (NAT)?

    • a) To assign IP addresses to devices automatically
    • b) To route data packets between networks
    • c) To block unauthorized network traffic
    • d) To convert public IP addresses into private IP addresses
  • 20. Which routing protocol uses the distance-vector algorithm?

    • a) OSPF
    • b) BGP
    • c) EIGRP
    • d) RIP
  • 21. What does a routing table contain?

    • a) A list of devices connected to the network
    • b) A list of network destinations and their corresponding next-hop addresses
    • c) A list of available IP addresses
    • d) A list of available protocols in the network
  • 22. Which of the following is used to find the network portion of an IP address?

    • a) Subnet mask
    • b) IP address
    • c) DNS address
    • d) MAC address
  • 23. What is the main purpose of an IP router?

    • a) To assign IP addresses to devices
    • b) To filter network traffic
    • c) To forward data packets between different networks
    • d) To encrypt data packets
  • 24. What is the maximum number of subnets available in a Class B network with a subnet mask of 255.255.255.0?

    • a) 128
    • b) 64
    • c) 256
    • d) 16
  • 25. Which of the following is used to subnet a Class A IP address?

    • a) 255.0.0.0
    • b) 255.255.255.0
    • c) 255.255.255.255
    • d) 255.255.0.0
  • 26. What is the broadcast address for the IP address 192.168.10.25 with a subnet mask of 255.255.255.0?

    • a) 192.168.10.0
    • b) 192.168.1.255
    • c) 255.255.255.255
    • d) 192.168.10.255
  • 27. What is the purpose of routing in a network?

    • a) To forward data packets to their correct destination based on IP address
    • b) To manage network traffic based on domain names
    • c) To assign IP addresses dynamically
    • d) To physically connect devices
  • 28. What is the main function of a router in a network?

    • a) To connect devices within the same network
    • b) To assign IP addresses to devices
    • c) To amplify network signals
    • d) To forward data packets between different networks
  • 29. What does the 'default gateway' refer to in a network?

    • a) The device responsible for assigning IP addresses
    • b) The device that routes traffic between local networks and the internet
    • c) The server responsible for managing network security
    • d) The address of the DNS server
  • 30. What is the maximum number of hosts that can be accommodated in a subnet with a subnet mask of 255.255.255.128?

    • a) 128
    • b) 254
    • c) 126
    • d) 512

Ready to put your knowledge to the test? Take this exam and evaluate your understanding of the subject.

Start Exam