Which command is used to test network connectivity between two hosts? MCQ with Answer and Explanation

Which command is used to test network connectivity between two hosts?
A. tracert
B. nslookup
C. ipconfig
D. ping
Answer: Option D
Solution (By JKSSB Mock Tests)
ping sends ICMP echo requests to test connectivity.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Computer Networking Questions

Question #1
What is the default subnet mask for a Class C IP address?
A. 255.0.0.0
B. 255.255.255.255
C. 255.255.0.0
D. 255.255.255.0

Correct Answer: Option D


Explanation:
Class C has a default subnet mask of 255.255.255.0, providing up to 254 hosts.

This question belongs to: Computer Computer Networking
Question #2
Which IPv4 address class range is explicitly reserved for multicast distribution groups rather than individual node assignments?
A. Class D
B. Class E
C. Class B
D. Class A

Correct Answer: Option A


Explanation:
Class D IP addresses span from 224.0.0.0 to 239.255.255.255 and are reserved worldwide for multicasting workflows.

This question belongs to: Computer Computer Networking
Question #3
What is the primary purpose of a subnet mask in an IP network configuration?
A. To encrypt the physical payload fields.
B. To distinguish the network portion of an IP address from the host portion.
C. To route packets automatically between separate cities.
D. To assign a hardware address to an internal interface.

Correct Answer: Option B


Explanation:
The subnet mask uses binary masking to show which bits of an IP address indicate the network prefix and which bits identify the specific host device.

This question belongs to: Computer Computer Networking