Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Multiple Choice Questions
Q261: Which value in the IPv4 header is always set to 0100 for IPv4 packets?
- A: Version
- B: Differentiated Services (DS)
- C: Time-to-Live (TTL)
- D: Protocol
View Answer
A
Q262: Fill in the blank: The IPv4 header contains fields that are examined by the ________ process.
- A: Layer 3
- B: Layer 4
- C: Layer 2
- D: Layer 1
View Answer
A
Q263: What is the purpose of the Protocol field in the IPv4 header?
- A: To pass the data to the appropriate upper-layer protocol
- B: To specify the packet version
- C: To determine the TTL value
- D: To identify the source IP address
View Answer
A
Q264: Fill in the blank: The IPv4 header's Source IP Address field contains a ________-bit binary value.
- A: 32
- B: 16
- C: 8
- D: 64
View Answer
A
Q265: Which command uses the TTL field to identify the routers between the source and destination?
- A: Ping
- B: Traceroute
- C: IP Config
- D: Netstat
View Answer
B
Q266: What information does the Payload section of an IPv4 packet contain?
- A: The Layer 4 segment information and actual data
- B: The IP header and routing information
- C: The TTL and DSCP values
- D: The packet version and source address
View Answer
A
Q267: What are the two parts of an IP address?
- A: Network portion and Host portion
- B: Source address and Destination address
- C: Subnet mask and Prefix length
- D: Host address and Broadcast address
View Answer
A
Q268: What does a subnet mask signify in an IP address?
- A: The network portion and host portion
- B: The source and destination addresses
- C: The broadcast address
- D: The range of valid host addresses
View Answer
A
Q269: Fill in the blank: The subnet mask is compared to the IP address bit by bit from ________.
- A: left to right
- B: right to left
- C: top to bottom
- D: bottom to top
View Answer
A
Q270: What does the prefix length in slash notation represent?
- A: The number of bits set to 1 in the subnet mask
- B: The number of bits set to 0 in the subnet mask
- C: The total length of the IP address
- D: The total length of the subnet mask
View Answer
A