Which protocol is primarily used by the ping command to test network connectivity?

Options

  • A. TCP
  • B. UDP
  • C. ICMP
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. ICMP

Detailed Explanation

Correct Answer: ICMP

  • ICMP stands for Internet Control Message Protocol.
  • Ping commonly sends ICMP Echo Request messages.
  • The destination responds with an ICMP Echo Reply when it is reachable and configured to respond.
  • ICMP is used for network diagnostics and error reporting.