Explanation:The Network layer is responsible for routing packets from source to destination. A key design issue is the implementation of store-and-forward packet switching, where a router receives a packet completely before forwarding it to the next hop.
Incorrect! Try again.
2In the IPv4 header, what is the length of the HLEN (Header Length) field, and what unit does it represent?
A.4 bits, represents 4-byte words
B.4 bits, represents 8-byte words
C.8 bits, represents 1-byte words
D.16 bits, represents bits
Correct Answer: 4 bits, represents 4-byte words
Explanation:The HLEN field is 4 bits wide. The value indicates the length of the header in 32-bit (4-byte) words. Therefore, the minimum value is 5 ( bytes).
Incorrect! Try again.
3Which field in the IPv4 header prevents a packet from circulating indefinitely in a network with routing loops?
A.Header Checksum
B.Fragment Offset
C.Time to Live (TTL)
D.Type of Service
Correct Answer: Time to Live (TTL)
Explanation:The Time to Live (TTL) field is decremented by 1 at each hop (router). When the TTL reaches 0, the packet is discarded, preventing infinite looping.
Incorrect! Try again.
4Identify the Class of the IPv4 address: 191.255.254.1.
A.Class A
B.Class B
C.Class C
D.Class D
Correct Answer: Class B
Explanation:The first octet range for Class B is 128 to 191. Since the first octet is 191, this is a Class B address.
Incorrect! Try again.
5What 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: 255.255.255.0
Explanation:Class C networks use the first three octets for the network part and the last octet for the host part, resulting in a default mask of 255.255.255.0 (/24).
Incorrect! Try again.
6In Classless Inter-Domain Routing (CIDR), what does the suffix /21 indicate in the address block 192.168.0.0/21?
A.21 hosts are available
B.The network mask is 21 bits long
C.The host ID is 21 bits long
D.There are 21 subnets
Correct Answer: The network mask is 21 bits long
Explanation:The slash notation (CIDR notation) indicates the number of bits used for the network prefix (Network ID). /21 means the first 21 bits identify the network.
Incorrect! Try again.
7Calculate the number of usable hosts in a subnet with the mask 255.255.255.224.
A.30
B.32
C.62
D.64
Correct Answer: 30
Explanation:255.255.255.224 corresponds to a /27 mask ( bits network, 5 bits host). The number of total addresses is . Usable hosts = (subtracting network and broadcast addresses).
Incorrect! Try again.
8Which field in the IP header is used to reassemble fragmented packets?
A.Identification, Flags, and Fragment Offset
B.TTL and Protocol
C.Source IP and Destination IP
D.TOS and HLEN
Correct Answer: Identification, Flags, and Fragment Offset
Explanation:Fragmentation relies on the Identification (to group fragments of the same packet), Flags (to indicate more fragments), and Fragment Offset (to order the fragments).
Incorrect! Try again.
9What is the maximum size of an IPv4 packet (including header and data)?
A.1500 bytes
B.65,535 bytes
C. bytes
D.4096 bytes
Correct Answer: 65,535 bytes
Explanation:The Total Length field in the IPv4 header is 16 bits wide. Therefore, the maximum length is bytes.
Incorrect! Try again.
10If an IP address is 200.10.20.5 and the subnet mask is 255.255.255.240, what is the Subnet Address (Network ID)?
A.200.10.20.0
B.200.10.20.4
C.200.10.20.5
D.200.10.20.16
Correct Answer: 200.10.20.0
Explanation:Mask 240 is 11110000 in binary. The last octet of IP is 5 (00000101). Performing bitwise AND: 00000101 AND 11110000 = 00000000 (0). So the subnet ID is 200.10.20.0.
Incorrect! Try again.
11Which of the following is a private IP address range defined by RFC 1918?
A.172.16.0.0 to 172.31.255.255
B.169.254.0.0 to 169.254.255.255
C.11.0.0.0 to 11.255.255.255
D.224.0.0.0 to 239.255.255.255
Correct Answer: 172.16.0.0 to 172.31.255.255
Explanation:The private IP ranges are 10.0.0.0/8, 172.16.0.0/12 (172.16.0.0–172.31.255.255), and 192.168.0.0/16.
Incorrect! Try again.
12In IPv6, how many bits long is the address?
A.32 bits
B.64 bits
C.128 bits
D.256 bits
Correct Answer: 128 bits
Explanation:IPv6 uses 128-bit addresses, usually represented as eight groups of four hexadecimal digits.
Incorrect! Try again.
13What is Supernetting predominantly used for?
A.Dividing a network into smaller sub-networks
B.Route aggregation to reduce routing table size
C.Encrypting IP headers
D.Assigning dynamic IP addresses
Correct Answer: Route aggregation to reduce routing table size
Explanation:Supernetting (CIDR aggregation) combines multiple contiguous smaller networks into a larger network entry, reducing the number of entries in global routing tables.
Incorrect! Try again.
14Given the IP address block 192.168.1.0/24, if you need to create 4 subnets, how many bits must be borrowed from the host portion?
A.1 bit
B.2 bits
C.3 bits
D.4 bits
Correct Answer: 2 bits
Explanation:To create 4 subnets, you need , where is the number of bits borrowed. . Thus, 2 bits are needed.
Incorrect! Try again.
15Which of the following represents the loopback address in IPv4?
A.127.0.0.0/8
B.0.0.0.0
C.255.255.255.255
D.192.168.0.1
Correct Answer: 127.0.0.0/8
Explanation:The entire 127.0.0.0/8 block is reserved for loopback purposes, with 127.0.0.1 being the most commonly used address to test the local TCP/IP stack.
Incorrect! Try again.
16The Fragment Offset value in the IP header is measured in units of:
A.1 byte
B.4 bytes
C.8 bytes
D.16 bytes
Correct Answer: 8 bytes
Explanation:The 13-bit fragment offset field counts data in 8-byte blocks. This allows the offset to map to the maximum packet size.
Incorrect! Try again.
17In a Class B network, what is the maximum number of hosts per network?
A.
B.
C.
D.254
Correct Answer:
Explanation:A Class B address has 16 bits for the Network ID and 16 bits for the Host ID. The number of hosts is (65,534).
Incorrect! Try again.
18Which IPv6 address type identifies a set of interfaces where a packet is delivered to the nearest one?
A.Unicast
B.Multicast
C.Broadcast
D.Anycast
Correct Answer: Anycast
Explanation:Anycast addresses are assigned to a group of interfaces (usually on different nodes). A packet sent to an anycast address is delivered to the 'nearest' interface according to routing protocols.
Incorrect! Try again.
19What is the result of the bitwise AND operation between IP address 192.168.10.150 and subnet mask 255.255.255.192?
A.192.168.10.128
B.192.168.10.0
C.192.168.10.64
D.192.168.10.192
Correct Answer: 192.168.10.128
Explanation:Last octet calculation: 150 (10010110) AND 192 (11000000) = 10000000 (128). The result is 192.168.10.128.
Incorrect! Try again.
20The Protocol field in the IP header indicates:
A.The type of physical network used
B.The higher-level protocol (e.g., TCP, UDP) using the IP layer
C.The version of IP protocol
D.The priority of the packet
Correct Answer: The higher-level protocol (e.g., TCP, UDP) using the IP layer
Explanation:The Protocol field identifies the payload protocol. For example, 6 indicates TCP, 17 indicates UDP, and 1 indicates ICMP.
Incorrect! Try again.
21In the IPv6 header, which field replaces the TTL (Time To Live) field found in IPv4?
A.Traffic Class
B.Flow Label
C.Hop Limit
D.Next Header
Correct Answer: Hop Limit
Explanation:IPv6 renamed the TTL field to Hop Limit to more accurately reflect its function (counting hops rather than seconds).
Incorrect! Try again.
22Which of the following statements about Connectionless Service in the Network Layer is TRUE?
A.Packets are called virtual circuits
B.Packets are treated independently and may take different routes
C.Resources are reserved in advance
D.It guarantees in-order delivery
Correct Answer: Packets are treated independently and may take different routes
Explanation:In a connectionless (datagram) service, each packet is routed independently based on the destination address, potentially arriving out of order.
Incorrect! Try again.
23Find the Broadcast address for the subnet 10.1.1.0/28.
A.10.1.1.14
B.10.1.1.15
C.10.1.1.16
D.10.1.1.255
Correct Answer: 10.1.1.15
Explanation:/28 means block size is . The subnet is 10.1.1.0 to 10.1.1.15. The last address (10.1.1.15) is the broadcast address.
Incorrect! Try again.
24Which IP Class is reserved for Multicasting?
A.Class B
B.Class C
C.Class D
D.Class E
Correct Answer: Class D
Explanation:Class D addresses (224.0.0.0 to 239.255.255.255) are reserved for Multicasting.
Incorrect! Try again.
25Forwarding in the network layer is primarily the process of:
A.Creating the routing table
B.Moving a packet from an input interface to an appropriate output interface
C.Calculating the shortest path
D.Assigning IP addresses to hosts
Correct Answer: Moving a packet from an input interface to an appropriate output interface
Explanation:Forwarding is the local action of moving a packet from an input link to the appropriate output link within a router, based on the routing table.
Incorrect! Try again.
26What is the simplified hexadecimal representation of the IPv6 address 2001:0DB8:0000:0000:0000:0000:1428:57ab?
A.2001:DB8::1428:57ab
B.2001:DB8:0:0:0:0:1428:57ab
C.2001:DB8::0::1428:57ab
D.2001:DB8:1428:57ab
Correct Answer: 2001:DB8::1428:57ab
Explanation:Leading zeros can be omitted, and a single contiguous string of zero blocks can be replaced by ::. Thus, 0000:0000:0000:0000 becomes ::.
Incorrect! Try again.
27A subnet mask of /30 is typically used for:
A.Large enterprise networks
B.Point-to-point links between two routers
C.Loopback interfaces
D.Class A networks
Correct Answer: Point-to-point links between two routers
Explanation:A /30 mask provides only 2 usable host addresses (), which is exactly enough for a point-to-point link connecting two routers.
Incorrect! Try again.
28Which mechanism allows a router to group multiple small CIDR blocks into one larger routing entry?
A.Subnetting
B.Route Aggregation (Supernetting)
C.Fragmentation
D.Tunneling
Correct Answer: Route Aggregation (Supernetting)
Explanation:Route Aggregation (or Supernetting) allows a router to advertise a single shorter prefix (e.g., /20) that covers multiple longer prefixes (e.g., several /24s), reducing routing table size.
Incorrect! Try again.
29If the More Fragments (MF) bit is set to 0 and the Fragment Offset is non-zero, what does this indicate?
A.This is the first fragment
B.This is the last fragment of the original packet
C.The packet is not fragmented
D.The packet has been dropped
Correct Answer: This is the last fragment of the original packet
Explanation:MF=0 means no more fragments follow. If Offset > 0, it means there were preceding fragments. Therefore, this is the last fragment.
Incorrect! Try again.
30In Classful addressing, which class range is 240.0.0.0 to 255.255.255.254?
A.Class C
B.Class D
C.Class E
D.Class F
Correct Answer: Class E
Explanation:Class E (240.0.0.0 to 255.255.255.255) is reserved for experimental/research purposes.
Incorrect! Try again.
31What is the Longest Prefix Match rule?
A.The router selects the path with the highest bandwidth
B.The router forwards the packet based on the routing table entry with the longest matching network mask
C.The router selects the route with the fewest hops
D.The router matches the source IP instead of destination IP
Correct Answer: The router forwards the packet based on the routing table entry with the longest matching network mask
Explanation:When looking up a destination IP in the routing table, if multiple entries match, the router uses the entry with the most specific (longest) network prefix (mask).
Incorrect! Try again.
32Which of the following headers is NOT present in IPv6 but was present in IPv4?
A.Source Address
B.Destination Address
C.Header Checksum
D.Hop Limit (TTL)
Correct Answer: Header Checksum
Explanation:IPv6 removed the Header Checksum to improve processing speed, relying on Layer 2 and Layer 4 checksums for error detection.
Incorrect! Try again.
33Calculate the first valid host address for the network 192.168.5.0/26.
A.192.168.5.0
B.192.168.5.1
C.192.168.5.63
D.192.168.5.64
Correct Answer: 192.168.5.1
Explanation:The network address is 192.168.5.0. The first usable host is Network ID + 1, which is 192.168.5.1.
Incorrect! Try again.
34What happens if a router receives a packet larger than the Maximum Transmission Unit (MTU) of the outgoing link, and the DF (Don't Fragment) flag is set to 1?
A.The router fragments the packet anyway
B.The router discards the packet and sends an ICMP error message to the source
C.The router buffers the packet until the link is clear
D.The router truncates the data
Correct Answer: The router discards the packet and sends an ICMP error message to the source
Explanation:If DF=1, fragmentation is forbidden. The router must drop the packet and typically sends an ICMP 'Fragmentation Needed' message back to the sender.
Incorrect! Try again.
35An organization is assigned the block 200.200.200.0/24. They need to create subnets that support at least 20 hosts each. What is the most efficient subnet mask to use?
A./25
B./26
C./27
D./28
Correct Answer: /27
Explanation:To support 20 hosts, we need 5 host bits ( hosts). A /28 only supports hosts. A /27 leaves 5 bits for hosts. So /27 is the correct choice.
Incorrect! Try again.
36Which field in the IPv4 header is used for Quality of Service (QoS) or Differentiated Services?
A.Type of Service (ToS) / Differentiated Services (DiffServ)
B.Protocol
C.Flags
D.Padding
Correct Answer: Type of Service (ToS) / Differentiated Services (DiffServ)
Explanation:The 8-bit TOS field (redefined as Differentiated Services) allows prioritization of packets based on network requirements (throughput, delay, reliability).
Incorrect! Try again.
37How does the IPv6 header handle options?
A.Included in the fixed 40-byte header
B.Appended to the data payload
C.Using Extension Headers inserted between the IPv6 header and the upper-layer header
D.IPv6 does not support options
Correct Answer: Using Extension Headers inserted between the IPv6 header and the upper-layer header
Explanation:IPv6 uses a fixed main header. Additional functionalities (fragmentation, routing options, security) are handled via 'Next Header' pointers chaining to Extension Headers.
Incorrect! Try again.
38If a host has the IP 172.16.45.14 and mask 255.255.255.252, what is the Broadcast address?
A.172.16.45.12
B.172.16.45.15
C.172.16.45.255
D.172.16.45.14
Correct Answer: 172.16.45.15
Explanation:Mask 252 (11111100) has a block size of 4. Ranges: 0-3, 4-7, 8-11, 12-15. IP 14 falls in the 12-15 range. Network: .12, Broadcast: .15.
Incorrect! Try again.
39What is the primary motivation for the transition from IPv4 to IPv6?
A.Faster routing speeds
B.Address space exhaustion in IPv4
C.Better encryption standards
D.Smaller header size
Correct Answer: Address space exhaustion in IPv4
Explanation:While IPv6 offers other improvements, the primary driver was the depletion of the approximately 4.3 billion IPv4 addresses.
Incorrect! Try again.
40Which component of network layer performance is defined as the number of packets passing through the network per unit of time?
A.Delay
B.Throughput
C.Jitter
D.Packet Loss
Correct Answer: Throughput
Explanation:Throughput measures the actual rate at which data is successfully transferred through the network.
Incorrect! Try again.
41In the context of IPv4, what is the 'Loopback' functionality used for?
A.Testing the network interface card and protocol stack software without sending packets on the network
B.Sending data to all hosts on the subnet
C.Routing packets back to the source if an error occurs
D.Creating a routing loop
Correct Answer: Testing the network interface card and protocol stack software without sending packets on the network
Explanation:Addresses in 127.0.0.0/8 allow a host to send packets to itself to verify that the internal TCP/IP stack is functioning correctly.
Incorrect! Try again.
42Given 4 Class C networks: 200.1.0.0, 200.1.1.0, 200.1.2.0, and 200.1.3.0. What is the supernet (aggregated) address?
A.200.1.0.0/22
B.200.1.0.0/23
C.200.1.0.0/24
D.200.1.0.0/21
Correct Answer: 200.1.0.0/22
Explanation:The third octets are 0 (00000000), 1 (00000001), 2 (00000010), 3 (00000011). The first 6 bits of the third octet are common. Class C is /24. Aggregating 4 blocks () means decreasing mask by 2 bits. . Supernet: 200.1.0.0/22.
Incorrect! Try again.
43What is the binary equivalent of the subnet mask 255.255.248.0?
Explanation:248 in binary is 11111000. The first two octets are all 1s. The last is all 0s.
Incorrect! Try again.
44In IPv6, the Flow Label field is used to:
A.Identify packets belonging to a specific sequence requiring special handling (e.g., real-time audio/video)
B.Limit the number of hops
C.Identify the next header type
D.Calculate checksums
Correct Answer: Identify packets belonging to a specific sequence requiring special handling (e.g., real-time audio/video)
Explanation:The Flow Label is a 20-bit field used to tag sequences of packets (flows) so that routers can treat them efficiently without deep packet inspection.
Incorrect! Try again.
45Which protocol is responsible for mapping an IP address to a physical MAC address?
A.RARP
B.DHCP
C.ARP
D.ICMP
Correct Answer: ARP
Explanation:The Address Resolution Protocol (ARP) translates a known IP address (Network Layer) into a physical MAC address (Data Link Layer).
Incorrect! Try again.
46A network administrator wants to subnet the network 172.16.0.0/16 into 100 subnets. What is the new subnet mask?
A./21
B./22
C./23
D./25
Correct Answer: /23
Explanation:We need 100 subnets. . , . We need 7 bits for the subnet. Original mask is /16. New mask = .
Incorrect! Try again.
47Which of the following is TRUE regarding IPv6 fragmentation?
A.Routers perform fragmentation when the packet is too large
B.Only the source node can fragment packets
C.Fragmentation is not supported in IPv6
D.Destination nodes reassemble and re-fragment packets
Correct Answer: Only the source node can fragment packets
Explanation:In IPv6, routers do not fragment packets to improve performance. The source must perform Path MTU Discovery and fragment the packet before sending if necessary.
Incorrect! Try again.
48What is the purpose of the Padding field in the IPv4 header?
A.To ensure the header ends on a 32-bit boundary
B.To add security to the packet
C.To increase the packet size to the minimum Ethernet frame size
D.To store routing options
Correct Answer: To ensure the header ends on a 32-bit boundary
Explanation:The IPv4 header length (HLEN) is measured in 4-byte words. If the options field is not a multiple of 32 bits, padding (zeros) is added to align the header.
Incorrect! Try again.
49Which value in the first byte of an IP address indicates a Class A address?
A.0 - 127
B.128 - 191
C.192 - 223
D.224 - 239
Correct Answer: 0 - 127
Explanation:Class A addresses have the first bit set to 0, resulting in a range of 0 to 127 in the first octet.
Incorrect! Try again.
50If you have a /22 prefix, what is the block size (number of IP addresses) in that subnet?
A.256
B.512
C.1024
D.2048
Correct Answer: 1024
Explanation:A /22 mask leaves bits for the host portion. The total number of addresses is .
Incorrect! Try again.
Give Feedback
Help us improve by sharing your thoughts or reporting issues.