nerdexam
Linux_Foundation

LFCS · Question #281

Which of the following describes the Linux ping packet or datagram?

The correct answer is B. ICMP packet with a message type. The ping command utilizes the Internet Control Message Protocol (ICMP) for network diagnostics, sending and receiving ICMP echo messages.

Submitted by rohit_dlh· Apr 18, 2026Networking

Question

Which of the following describes the Linux ping packet or datagram?

Options

  • AIP packet with a packet type
  • BICMP packet with a message type
  • CICMP packet with a payload
  • DUDP datagram with a protocol type
  • EUDP datagram with a payload

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    91% (21)
  • C
    4% (1)

Why each option

The `ping` command utilizes the Internet Control Message Protocol (ICMP) for network diagnostics, sending and receiving ICMP echo messages.

AIP packet with a packet type

While ICMP packets are encapsulated within IP packets, 'IP packet with a packet type' is too general and does not specify the crucial ICMP protocol used by `ping`.

BICMP packet with a message typeCorrect

`ping` works by sending ICMP Echo Request packets and listening for ICMP Echo Reply packets, which are specifically identified by their ICMP message types and codes.

CICMP packet with a payload

Although ICMP packets can carry a payload, the fundamental characteristic that defines a ping request or reply is its specific ICMP message type, not merely the presence of a payload.

DUDP datagram with a protocol type

`ping` does not use the User Datagram Protocol (UDP); it directly uses ICMP, which operates at the network layer, building directly on IP.

EUDP datagram with a payload

`ping` does not use UDP for its operations; therefore, a UDP datagram with a payload is an incorrect description.

Concept tested: ICMP protocol for network diagnostics

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/ping

Topics

#Networking Fundamentals#ICMP#Ping command#Packet structure

Community Discussion

No community discussion yet for this question.

Full LFCS Practice