IP Addressing Fundamentals MCQ Test: IPv4, IPv6 and Subnetting
Questions: 30
Questions
-
1. What is the bit length of an IPv4 address?
- a) 16 bits
- b) 32 bits
- c) 64 bits
- d) 128 bits
-
2. Which class of IPv4 addresses is used for multicast communication?
- a) Class A
- b) Class B
- c) Class D
- d) Class E
-
3. What is the range of the first octet for Class C IPv4 addresses?
- a) 1-126
- b) 128-191
- c) 192-223
- d) 224-239
-
4. What is the default subnet mask for a Class B IPv4 address?
- a) 255.0.0.0
- b) 255.255.0.0
- c) 255.255.255.0
- d) 255.255.255.255
-
5. Which IPv6 address type is used for communication within a single node?
- a) Global unicast
- b) Link-local
- c) Loopback
- d) Multicast
-
6. What does CIDR stand for in IP addressing?
- a) Classless Inter-Domain Routing
- b) Communication Inter-Domain Routing
- c) Clustered IP Distribution Range
- d) Classful Internet Design Rules
-
7. How many bits are there in an IPv6 address?
- a) 32 bits
- b) 64 bits
- c) 96 bits
- d) 128 bits
-
8. The subnet mask 255.255.255.0 is equivalent to which CIDR notation?
- a) /8
- b) /16
- c) /24
- d) /32
-
9. What is the primary purpose of subnetting?
- a) Increase network speed
- b) Conserve IP addresses
- c) Simplify routing tables
- d) Ensure data integrity
-
10. Which of the following is not a valid IPv4 address?
- a) 192.168.0.1
- b) 10.0.0.256
- c) 172.16.254.1
- d) 127.0.0.1
-
11. The first 64 bits of an IPv6 address typically represent the:
- a) Host ID
- b) Network prefix
- c) Subnet ID
- d) Multicast group
-
12. Which protocol is used to assign IP addresses dynamically?
- a) ARP
- b) ICMP
- c) DHCP
- d) DNS
-
13. What type of IPv6 address is FE80::/10?
- a) Global unicast
- b) Link-local
- c) Multicast
- d) Anycast
-
14. The address 127.0.0.1 is used for:
- a) Broadcasting
- b) Multicasting
- c) Loopback testing
- d) Assigning IPs dynamically
-
15. Which IPv4 address is reserved for local host communication?
- a) 255.255.255.255
- b) 127.0.0.1
- c) 192.168.1.1
- d) 0.0.0.0
-
16. What is the main difference between IPv4 and IPv6?
- a) IPv6 has a smaller address space
- b) IPv6 includes security features by default
- c) IPv4 supports only private addressing
- d) IPv6 is connection-oriented
-
17. Which type of address is automatically assigned to a device in the absence of DHCP in IPv4?
- a) Broadcast address
- b) Multicast address
- c) APIPA address
- d) Loopback address
-
18. How many subnets can be created with a /26 subnet mask?
- a) 2
- b) 4
- c) 8
- d) 64
-
19. What is the hexadecimal equivalent of the IPv4 address 192.168.1.1?
- a) C0.A8.01.01
- b) C0:A8:1:1
- c) 192.168.1.1
- d) C.A:1:1
-
20. What does the term "broadcast address" mean in IPv4?
- a) The address used to send data to all devices on a network
- b) The default gateway address
- c) The first address in a subnet
- d) An address used for multicast communication
-
21. Which address type in IPv6 starts with "FF"?
- a) Unicast
- b) Multicast
- c) Link-local
- d) Anycast
-
22. What is the valid range for IPv4 private addresses in Class A?
- a) 1.0.0.0 - 127.255.255.255
- b) 10.0.0.0 - 10.255.255.255
- c) 192.168.0.0 - 192.168.255.255
- d) 172.16.0.0 - 172.31.255.255
-
23. What is the main purpose of NAT (Network Address Translation)?
- a) Encrypt communication
- b) Translate private IP addresses to public IP addresses
- c) Assign IP addresses dynamically
- d) Create subnets within a network
-
24. The IPv6 address ::1 is equivalent to which IPv4 address?
- a) 192.168.1.1
- b) 127.0.0.1
- c) 0.0.0.0
- d) 255.255.255.255
-
25. How many addresses are available in a /29 subnet?
- a) 4
- b) 6
- c) 8
- d) 16
-
26. Which of the following is an example of a global unicast IPv6 address?
- a) FE80::1
- b) FF02::1
- c) 2001:0db8::1
- d) ::1
-
27. Which class of IPv4 addresses has the most hosts per network?
- a) Class A
- b) Class B
- c) Class C
- d) Class D
-
28. What is the primary benefit of IPv6 over IPv4?
- a) Enhanced security
- b) Increased address space
- c) Better compatibility with older devices
- d) Simplified routing protocols
-
29. How many hexadecimal blocks are present in an IPv6 address?
- a) 4
- b) 6
- c) 8
- d) 16
-
30. The subnet mask 255.255.255.128 corresponds to which CIDR prefix?
- a) /24
- b) /25
- c) /26
- d) /27
Ready to put your knowledge to the test? Take this exam and evaluate your understanding of the subject.
Start Exam