0% found this document useful (0 votes)
23 views31 pages

Routing and Switching & Ip and Subnet Questions

Uploaded by

mahmoud sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views31 pages

Routing and Switching & Ip and Subnet Questions

Uploaded by

mahmoud sadiq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 31

ROUTING AND SWITCHING ONLY

1. What is the default administrative distance for a static route in Cisco IOS?

A. 1

B. 90

C. 120

D. 255

Correct Answer: A

2. Which protocol is used to dynamically learn MAC addresses in a switch network?

A. ARP

B. VLAN Trunking Protocol (VTP)

C. Spanning Tree Protocol (STP)

D. Address Resolution Protocol (ARP)

Correct Answer: D

3. What is the purpose of the Spanning Tree Protocol (STP) in a switch network?

A. To prevent loops in the network

B. To create virtual LANs

C. To prioritize traffic based on IP addresses

D. To establish neighbor relationships between routers

Correct Answer: A

4. What is the maximum number of VLANs that can be supported on a Cisco switch?

A. 64

B. 128

C. 256

D. 4096

Correct Answer: D

5. Which routing protocol uses the Dijkstra algorithm to calculate the best path to a destination?
A. OSPF

B. RIP

C. EIGRP

D. BGP

Correct Answer: A

6. What is the purpose of a default route in a routing table?

A. To direct traffic to the next-hop router for all destinations not explicitly listed

B. To configure a specific path for traffic within a VLAN

C. To optimize traffic flow within a network

D. To prioritize traffic based on IP addresses

Correct Answer: A

7. What is the function of a network switch in a LAN environment?

A. To connect devices within the same network segment

B. To connect devices in different subnets

C. To establish communication between different VLANs

D. To route traffic between different networks

Correct Answer: A

8. Which routing protocol uses a distance vector algorithm based on hop count?

A. RIP

B. OSPF

C. BGP

D. EIGRP

Correct Answer: A

9. What is the purpose of the ARP protocol in a switch network?

A. To map IP addresses to MAC addresses

B. To prevent broadcast storms

C. To establish neighbor relationships between switches

D. To prioritize traffic based on IP addresses


Correct Answer: A

10. Which layer of the OSI model is responsible for routing and switching functions?

A. Layer 1 (Physical)

B. Layer 2 (Data Link)

C. Layer 3 (Network)

D. Layer 4 (Transport)

Correct Answer: C

11. Which command is used to configure a static route in Cisco IOS?

A. ip route

B. route add

C. static route

D. set route

Correct Answer: A

12. What is the purpose of VLAN Trunking Protocol (VTP) in a switch network?

A. To create virtual LANs

B. To prevent loops in the network

C. To prioritize traffic based on IP addresses

D. To dynamically propagate VLAN information between switches

Correct Answer: D

13. How does a switch determine the appropriate port for forwarding traffic to a specific destination MAC address?

A. By consulting the ARP table

B. By analyzing the destination IP address

C. By using the MAC address table

D. By consulting the routing table

Correct Answer: C

14. Which command is used to display the routing table in Cisco IOS?

A. show routes
B. show ip route

C. display routing-table

D. view routes

Correct Answer: B

15. Which protocol is used to establish neighbor relationships between routers in a network?

A. OSPF

B. BGP

C. EIGRP

D. RIP

Correct Answer: A

16. What is the purpose of the TTL field in an IP packet header?

A. To verify the integrity of the packet

B. To prevent routing loops

C. To specify the destination address

D. To calculate the checksum

Correct Answer: B

17. How does a router determine the best path to a destination network in a dynamic routing environment?

A. By comparing administrative distances

B. By using the Dijkstra algorithm

C. By consulting the ARP table

D. By analyzing the destination IP address

Correct Answer: B

18. Which command is used to configure a default route in a Cisco router?

A. ip default-gateway

B. route add default

C. ip route 0.0.0.0 0.0.0.0

D. default-gateway

Correct Answer: C
19. What is the purpose of the administrative distance metric in a routing table entry?

A. To determine the reliability of the route

B. To prioritize routes from different protocols

C. To calculate the best path to the destination

D. To specify the next-hop router

Correct Answer: B

20. What is the function of a router in a network environment?

A. To connect devices within the same LAN

B. To connect devices in different VLANs

C. To route traffic between different networks

D. To optimize traffic flow within a VLAN

Correct Answer: C

21. Which protocol is used to share routing information between routers in a network?

A. OSPF

B. IPv6

C. ICMP

D. DNS

Correct Answer: A

22. What is the purpose of the MAC address table in a switch?

A. To map IP addresses to MAC addresses

B. To prevent broadcast storms

C. To forward traffic based on destination MAC addresses

D. To prioritize traffic based on IP addresses

Correct Answer: C

23. Which routing protocol uses a combination of distance vector and link-state algorithms?

A. OSPF

B. BGP
C. EIGRP

D. RIP

Correct Answer: C

24. What is the purpose of the "ip default-gateway" command in a router configuration?

A. To specify the default gateway for devices in the same network segment

B. To configure a static route

C. To optimize traffic flow within a VLAN

D. To establish neighbor relationships between routers

Correct Answer: A

25. Which command is used to display the MAC address table on a switch?

A. show arp

B. show mac-address-table

C. display mac

D. view arp

Correct Answer: B

26. What is the purpose of a VLAN in a switch network?

A. To create virtual LANs

B. To prevent loops in the network

C. To establish communication between different networks

D. To route traffic between VLANs

Correct Answer: A

27. Which protocol is used to dynamically learn the best path to a destination network in a router environment?

A. OSPF

B. BGP

C. RIP

D. EIGRP

Correct Answer: D
28. How does a router determine the best path to a destination network in a static routing environment?

A. By analyzing the destination IP address

B. By comparing administrative distances

C. By using the Dijkstra algorithm

D. By consulting the ARP table

Correct Answer: B

29. What is the purpose of the subnet mask in a routing configuration?

A. To specify the default gateway

B. To determine the network portion of an IP address

C. To calculate the best path to a destination

D. To prevent broadcast storms

Correct Answer: B

30. Which protocol is used to establish a secure remote connection to a router?

A. SSH

B. Telnet

C. FTP

D. SNMP

Correct Answer: A

31. What is the purpose of a layer 3 switch in a network environment?

A. To forward traffic based on MAC addresses

B. To route traffic between VLANs

C. To establish communication between different networks

D. To prioritize traffic based on IP addresses

Correct Answer: B

32. Which command is used to display the ARP table in a switch?

A. show ip arp

B. show mac-address-table

C. display arp
D. view arp

Correct Answer: A

33. What is the function of the Address Resolution Protocol (ARP) in a network environment?

A. To map MAC addresses to IP addresses

B. To prevent broadcast storms

C. To route traffic between different networks

D. To prioritize traffic based on IP addresses

Correct Answer: A

34. Which routing protocol uses a hop count metric to determine the best path to a destination network?

A. OSPF

B. EIGRP

C. RIP

D. BGP

Correct Answer: C

35. What is the purpose of the routing table in a router configuration?

A. To establish neighbor relationships between routers

B. To forward traffic to the appropriate next-hop router

C. To prevent loops in the network

D. To create virtual LANs

Correct Answer: B

36. Which command is used to configure VLANs on a switch?

A. set vtp domain

B. create vlan

C. vlan database

D. config vlan

Correct Answer: B

37. What is the purpose of the duplex setting on a switch port?


A. To specify the speed of the connection

B. To prevent collisions on the network

C. To establish communication between different VLANs

D. To optimize traffic flow within a network

Correct Answer: B

38. How does a switch determine the appropriate VLAN for a packet received on an access port?

A. By analyzing the destination IP address

B. By consulting the VLAN database

C. By inspecting the VLAN tag in the Ethernet frame

D. By consulting the routing table

Correct Answer: C

39. What is the function of a loopback interface in a router configuration?

A. To test the router's routing capabilities

B. To connect routers in different networks

C. To establish secure remote connections

D. To optimize traffic flow within a network

Correct Answer: A

40. Which routing protocol supports both IPv4 and IPv6 address families?

A. OSPF

B. EIGRP

C. BGP

D. RIP

Correct Answer: B

41. What is the purpose of the "show interfaces" command in Cisco IOS?

A. To display detailed information about router interfaces

B. To configure VLAN interfaces

C. To establish neighbor relationships between routers

D. To verify the integrity of the network


Correct Answer: A

42. Which protocol is used to dynamically learn the best path to a destination network in a switch environment?

A. ARP

B. VTP

C. STP

D. OSPF

Correct Answer: D

43. What is the purpose of the "ip default-network" command in a router configuration?

A. To specify the default gateway

B. To optimize traffic flow within a VLAN

C. To configure a static route

D. To create virtual LANs

Correct Answer: C

44. How does a router determine the appropriate next hop for a packet destined for a remote network?

A. By consulting the ARP table

B. By analyzing the destination IP address

C. By inspecting the TTL field in the IP header

D. By using the routing table

Correct Answer: D

45. What is the purpose of the TTL field in an IP packet header?

A. To prevent routing loops

B. To verify the integrity of the packet

C. To specify the destination address

D. To calculate the checksum

Correct Answer: A

46. Which command is used to display the VLAN configuration on a switch?

A. show vlan
B. vlan show

C. display vlan

D. view vlan

Correct Answer: A

47. What is the function of a network switch in a LAN environment?

A. To connect devices within the same network segment

B. To route traffic between different networks

C. To establish communication between different VLANs

D. To prioritize traffic based on IP addresses

Correct Answer: A

48. Which layer of the OSI model is responsible for routing and switching functions?

A. Layer 1 (Physical)

B. Layer 2 (Data Link)

C. Layer 3 (Network)

D. Layer 4 (Transport)

Correct Answer: C

49. What is the purpose of the administrative distance metric in a routing table entry?

A. To determine the reliability of the route

B. To prioritize routes from different protocols

C. To calculate the best path to the destination

D. To specify the next-hop router

Correct Answer: B

50. What is the maximum number of VLANs that can be supported on a Cisco switch?

A. 64

B. 128

C. 256

D. 4096

Correct Answer: D
51. Which command is used to configure a static route in Cisco IOS?

A. ip route

B. route add

C. static route

D. set route

Correct Answer: A

52. What is the purpose of Spanning Tree Protocol (STP) in a switch network?

A. To prevent loops in the network

B. To create virtual LANs

C. To prioritize traffic based on IP addresses

D. To establish neighbor relationships between routers

Correct Answer: A

53. What is the purpose of VLAN Trunking Protocol (VTP) in a switch network?

A. To create virtual LANs

B. To prevent loops in the network

C. To prioritize traffic based on IP addresses

D. To dynamically propagate VLAN information between switches

Correct Answer: D

54. Which routing protocol uses the Dijkstra algorithm to calculate the best path to a destination?

A. OSPF

B. RIP

C. EIGRP

D. BGP

Correct Answer: A

55. What is the function of a default route in a routing table?

A. To direct traffic to the next-hop router for all destinations not explicitly listed

B. To configure a specific path for traffic within a VLAN


C. To optimize traffic flow within a network

D. To prioritize traffic based on IP addresses

Correct Answer: A

56. How does a router determine the best path to a destination network in a dynamic routing environment?

A. By comparing administrative distances

B. By using the Dijkstra algorithm

C. By consulting the ARP table

D. By analyzing the destination IP address

Correct Answer: B

57. What is the purpose of a loopback interface in a router configuration?

A. To test the router's routing capabilities

B. To connect routers in different networks

C. To establish secure remote connections

D. To optimize traffic flow within a network

Correct Answer: A

58. What is the purpose of the "show ip route" command in Cisco IOS?

A. To display the routing table

B. To configure a static route

C. To establish neighbor relationships between routers

D. To verify the integrity of the network

Correct Answer: A

59. What is the purpose of the MAC address table in a switch?

A. To map IP addresses to MAC addresses

B. To prevent broadcast storms

C. To forward traffic based on destination MAC addresses

D. To prioritize traffic based on IP addresses

Correct Answer: C
60. Which protocol is used to establish neighbor relationships between routers in a network?

A. OSPF

B. BGP

C. EIGRP

D. RIP

Correct Answer: A

61. What is the purpose of the "ip default-gateway" command in a router configuration?

A. To specify the default gateway for devices in the same network segment

B. To configure a static route

C. To optimize traffic flow within a VLAN

D. To establish neighbor relationships between routers

Correct Answer: A

62. Which command is used to display the MAC address table on a switch?

A. show arp

B. show mac-address-table

C. display mac

D. view arp

Correct Answer: B

63. What is the purpose of a VLAN in a switch network?

A. To create virtual LANs

B. To prevent loops in the network

C. To establish communication between different networks

D. To route traffic between VLANs

Correct Answer: A

64. Which command is used to configure a default route in a Cisco router?

A. ip default-gateway

B. route add default

C. ip route 0.0.0.0 0.0.0.0


D. default-gateway

Correct Answer: C

65. What is the purpose of the duplex setting on a switch port?

A. To specify the speed of the connection

B. To prevent collisions on the network

C. To establish communication between different VLANs

D. To optimize traffic flow within a network

Correct Answer: B

66. How does a switch determine the appropriate VLAN for a packet received on an access port?

A. By analyzing the destination IP address

B. By consulting the VLAN database

C. By inspecting the VLAN tag in the Ethernet frame

D. By consulting the routing table

Correct Answer: C

67. What is the function of a layer 3 switch in a network environment?

A. To forward traffic based on MAC addresses

B. To route traffic between VLANs

C. To establish communication between different networks

D. To prioritize traffic based on IP addresses

Correct Answer: B

68. What is the purpose of the subnet mask in a routing configuration?

A. To specify the default gateway

B. To determine the network portion of an IP address

C. To calculate the best path to a destination

D. To prevent broadcast storms

Correct Answer: B

69. Which protocol is used to share routing information between routers in a network?
A. OSPF

B. IPv6

C. ICMP

D. DNS

Correct Answer: A

70. What is the purpose of the TTL field in an IP packet header?

A. To prevent routing loops

B. To verify the integrity of the packet

C. To specify the destination address

D. To calculate the checksum

Correct Answer: A

71. Which routing protocol uses a combination of distance vector and link-state algorithms?

A. OSPF

B. BGP

C. EIGRP

D. RIP

Correct Answer: C

IP ADDRESS AND SUBNETS ONLY

1. What is the purpose of an IP address?

A) To identify a network device

B) To format a web page

C) To secure a network

D) To create a virtual private network

Correct answer: A) To identify a network device

2. Which of the following classes of IP addresses ranges from 192.0.0.0 to 223.255.255.255?


A) Class A

B) Class B

C) Class C

D) Class D

Correct answer: B) Class B

3. What is the default subnet mask for a Class C IP address?

A) 255.0.0.0

B) 255.255.0.0

C) 255.255.255.0

D) 255.255.255.255

Correct answer: C) 255.255.255.0

4. How many bits are in an IPv4 address?

A) 16 bits

B) 32 bits

C) 48 bits

D) 64 bits

Correct answer: B) 32 bits

5. What is the purpose of subnetting?

A) To increase the number of available IP addresses

B) To improve network security

C) To limit the size of a network

D) To simplify network management

Correct answer: A) To increase the number of available IP addresses

6. Which of the following is a valid IP address?


A) 300.200.100.50

B) 192.168.1.256

C) 10.20.30.40

D) 400.500.600.700

Correct answer: C) 10.20.30.40

7. What is the maximum number of hosts that can be accommodated in a Class C network?

A) 126

B) 254

C) 510

D) 1022

Correct answer: B) 254

8. Which of the following is a loopback address?

A) 127.0.0.1

B) 192.168.0.1

C) 10.0.0.1

D) 172.16.0.1

Correct answer: A) 127.0.0.1

9. What is the purpose of a subnet mask?

A) To identify the network portion of an IP address

B) To enable a device to communicate with multiple networks

C) To convert a binary IP address to a decimal format

D) To prevent IP conflicts within a network

Correct answer: A) To identify the network portion of an IP address

10. How many usable IP addresses are in a network with a subnet mask of 255.255.255.224?
A) 30

B) 62

C) 126

D) 254

Correct answer: A) 30

11. Which of the following is a private IP address range?

A) 169.254.0.0 - 169.254.255.255

B) 192.0.2.0 - 192.0.2.255

C) 172.16.0.0 - 172.31.255.255

D) 198.51.100.0 - 198.51.100.255

Correct answer: C) 172.16.0.0 - 172.31.255.255

12. What is the purpose of a subnet?

A) To divide a network into smaller, manageable segments

B) To prevent unauthorized access to a network

C) To increase the speed of data transmission

D) To encrypt network traffic

Correct answer: A) To divide a network into smaller, manageable segments

13. Which of the following IP addresses is not a valid IPv4 address?

A) 256.0.0.1

B) 172.31.255.255

C) 10.1.1.1

D) 192.168.1.1

Correct answer: A) 256.0.0.1

14. What is the purpose of a default gateway in a network?


A) To assign IP addresses to devices

B) To connect a network to the internet

C) To secure a network

D) To manage network traffic

Correct answer: B) To connect a network to the internet

15. How many bits are in a subnet mask?

A) 4 bits

B) 8 bits

C) 16 bits

D) 32 bits

Correct answer: D) 32 bits

16. Which of the following classes of IP addresses ranges from 128.0.0.0 to 191.255.255.255?

A) Class A

B) Class B

C) Class C

D) Class D

Correct answer: B) Class B

17. What is the purpose of a subnet mask of 255.255.255.0?

A) To create a point-to-point network

B) To limit the number of hosts on a network

C) To indicate a private IP address

D) To identify the network portion of an IP address

Correct answer: B) To limit the number of hosts on a network

18. How many bits are in an octet of an IP address?


A) 4 bits

B) 8 bits

C) 16 bits

D) 32 bits

Correct answer: B) 8 bits

19. Which of the following is a valid subnet mask?

A) 255.0.0.0

B) 250.250.250.0

C) 255.255.255.192

D) 192.168.300.0

Correct answer: C) 255.255.255.192

20. What is the purpose of a subnet mask of 255.255.254.0?

A) To reserve IP addresses for future use

B) To divide a network into multiple subnets

C) To limit network access to specific devices

D) To identify the broadcast address

Correct answer: B) To divide a network into multiple subnets

21. Which of the following is not a valid subnet mask?

A) 255.255.255.254

B) 255.255.128.0

C) 255.0.128.0

D) 255.255.255.0

Correct answer: C) 255.0.128.0

22. What is the subnet mask for a Class B IP address?


A) 255.255.255.0

B) 255.0.0.0

C) 255.255.0.0

D) 255.255.255.255

Correct answer: C) 255.255.0.0

23. How many bits are usually reserved for the network portion of an IP address in a Class B network?

A) 8 bits

B) 16 bits

C) 24 bits

D) 32 bits

Correct answer: B) 16 bits

24. Which of the following is a valid IPv6 address?

A) 2001:db8::1

B) 192.168.1.1

C) 10.0.0.1

D) 172.16.0.1

Correct answer: A) 2001:db8::1

25. What is the purpose of subnet masking in IP addressing?

A) To identify the default gateway

B) To determine the network portion of an IP address

C) To encrypt data transmission

D) To assign IP addresses dynamically

Correct answer: B) To determine the network portion of an IP address

26. How many bits are in an IPv6 address?


A) 32 bits

B) 64 bits

C) 128 bits

D) 256 bits

Correct answer: C) 128 bits

27. What is the purpose of CIDR notation in IP addressing?

A) To simplify subnetting

B) To assign static IP addresses

C) To reserve IP addresses for future use

D) To enhance network security

Correct answer: A) To simplify subnetting

28. Which of the following is not a valid feature of subnets?

A) Increased network performance

B) Improved network security

C) Simplified network management

D) Reduced IP address availability

Correct answer: D) Reduced IP address availability

29. How many bits are in the host portion of an IPv4 address with a subnet mask of 255.255.255.0?

A) 8 bits

B) 16 bits

C) 24 bits

D) 32 bits

Correct answer: A) 8 bits

30. What is the purpose of a default subnet mask of 255.255.255.0?


A) To restrict network access

B) To improve network performance

C) To separate public and private IP addresses

D) To divide a network into subnets

Correct answer: D) To divide a network into subnets

31. Which of the following is not a valid subnet mask?

A) 255.255.255.248

B) 255.255.255.120

C) 255.255.255.254

D) 255.255.255.255

Correct answer: B) 255.255.255.120

32. What is the main difference between a public and a private IP address?

A) Public IP addresses are assigned by an ISP, while private IP addresses are within a local network

B) Public IP addresses are used for internal network communication, while private IP addresses are for external communication

C) Public IP addresses are static, while private IP addresses are dynamic

D) Public IP addresses have a wider subnet range than private IP addresses

Correct answer: A) Public IP addresses are assigned by an ISP, while private IP addresses are within a local network

33. How many bits are required for the host portion of an IPv4 address with a subnet mask of 255.255.255.192?

A) 32 bits

B) 64 bits

C) 128 bits

D) 192 bits

Correct answer: C) 128 bits

34. What is the purpose of a subnet mask with a value of 255.255.255.240?


A) To limit the number of devices on a network

B) To increase network security

C) To encrypt network traffic

D) To determine the broadcast address

Correct answer: A) To limit the number of devices on a network

35. Which of the following is not a valid IP address class?

A) Class E

B) Class F

C) Class G

D) Class H

Correct answer: B) Class F

36. How many subnets can be created with a subnet mask of 255.255.255.0?

A) 2

B) 4

C) 8

D) 16

Correct answer: D) 16

37. What is the purpose of a subnet mask of 255.255.252.0?

A) To create a point-to-point network

B) To separate private and public IP addresses

C) To increase the number of available IP addresses

D) To limit the size of a network

Correct answer: C) To increase the number of available IP addresses

38. Which of the following is a valid IP address within the range of class C?
A) 192.168.0.1

B) 10.0.0.1

C) 169.254.0.1

D) 172.16.0.1

Correct answer: A) 192.168.0.1

39. How many bits are used for network addressing in a classful IP address?

A) 8 bits

B) 16 bits

C) 24 bits

D) 32 bits

Correct answer: C) 24 bits

40. What is the purpose of a subnet mask of 255.255.252.0?

A) To divide a network into multiple subnets

B) To improve network security

C) To assign fixed IP addresses to devices

D) To compress IP addresses

Correct answer: A) To divide a network into multiple subnets

41. Which of the following is a valid subnet mask?

A) 255.255.255.240

B) 255.255.255.300

C) 255.255.264.0

D) 255.255.255.1000

Correct answer: A) 255.255.255.240

42. How many bits are in an octet of an IP address?


A) 4 bits

B) 8 bits

C) 16 bits

D) 32 bits

Correct answer: B) 8 bits

43. What is the main purpose of subnetting?

A) To simplify network management

B) To enhance network security

C) To improve data transmission speed

D) To divide a network into smaller subnetworks

Correct answer: D) To divide a network into smaller subnetworks

44. How many host bits are available in a class B network with a subnet mask of 255.255.252.0?

A) 8 bits

B) 10 bits

C) 12 bits

D) 16 bits

Correct answer: C) 12 bits

45. What is the fundamental function of a subnet mask?

A) To prevent IP conflicts

B) To separate public and private IP addresses

C) To identify the network portion of an IP address

D) To encrypt network traffic

Correct answer: C) To identify the network portion of an IP address

46. Which of the following is a valid link-local IPv6 address?


A) FF02::2

B) FC00::1

C) FE80::1

D) 2001::1

Correct answer: C) FE80::1

47. What is the default subnet mask for a classful IP address?

A) 255.0.0.0

B) 255.255.0.0

C) 255.255.255.0

D) 255.255.255.255

Correct answer: A) 255.0.0.0

48. How many bits are in a default IPv4 subnet mask?

A) 16 bits

B) 24 bits

C) 32 bits

D) 64 bits

Correct answer: B) 24 bits

49. Which of the following is a valid subnet mask for a class C network?

A) 255.0.0.0

B) 255.255.0.0

C) 255.255.255.0

D) 255.255.255.255

Correct answer: C) 255.255.255.0

50. What is the purpose of a subnet mask of 255.255.252.0?


A) To control network access

B) To limit the number of hosts on a network

C) To identify the broadcast address

D) To divide a network into smaller subnets

Correct answer: D) To divide a network into smaller subnets

51. How many bits are in a network prefix in an IPv6 address?

A) 32 bits

B) 64 bits

C) 96 bits

D) 128 bits

Correct answer: D) 128 bits

52. What is the main function of a subnet mask with a value of 255.255.254.0?

A) To divide a network into multiple subnets

B) To provide security to a network

C) To distinguish between public and private IP addresses

D) To assign fixed IP addresses to devices

Correct answer: A) To divide a network into multiple subnets

53. Which of the following IP address classes uses only the first octet for the network portion?

A) Class A

B) Class B

C) Class C

D) Class D

Correct answer: A) Class A

54. How many bits are in an IPv4 header?


A) 16 bits

B) 32 bits

C) 64 bits

D) 128 bits

Correct answer: B) 32 bits

55. What is the purpose of CIDR notation in IP addressing?

A) To simplify subnetting

B) To encrypt data transmission

C) To assign static IP addresses

D) To enhance network security

Correct answer: A) To simplify subnetting

56. How many bits are used to represent an IPv6 address?

A) 32 bits

B) 64 bits

C) 128 bits

D) 256 bits

Correct answer: C) 128 bits

57. What is the default subnet mask for a Class A network?

A) 255.0.0.0

B) 255.255.0.0

C) 255.255.255.0

D) 255.255.255.255

Correct answer: A) 255.0.0.0

58. How many bits are in a host portion of an IPv4 address with a subnet mask of 255.255.255.192?
A) 8 bits

B) 16 bits

C) 24 bits

D) 32 bits

Correct answer: A) 8 bits

59. Which of the following is a private IPv4 address range?

A) 10.0.0.0

You might also like