nerdexam
CompTIA

LX0-104 · Question #281

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

The correct answer is B. ICMP packet with a message type. A Linux ping packet is an ICMP packet that includes a message type to indicate its purpose, specifically an Echo Request.

Networking Fundamentals

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

(36 responses)
  • B
    89% (32)
  • C
    6% (2)
  • D
    3% (1)
  • E
    3% (1)

Why each option

A Linux `ping` packet is an ICMP packet that includes a message type to indicate its purpose, specifically an Echo Request.

AIP packet with a packet type

While `ping` packets are encapsulated within IP packets, classifying them simply as 'IP packet with a packet type' is too general; the specific protocol at the next layer is ICMP.

BICMP packet with a message typeCorrect

The `ping` utility operates using the Internet Control Message Protocol (ICMP). Specifically, it sends ICMP Echo Request messages, which are identified by an ICMP message Type (e.g., Type 8 for Echo Request) and a Code (e.g., Code 0).

CICMP packet with a payload

While ICMP packets can have a payload (e.g., for data in Echo Requests), the fundamental defining characteristic that identifies an ICMP message's purpose is its message type, making 'ICMP packet with a message type' a more precise and accurate description.

DUDP datagram with a protocol type

`ping` does not use UDP (User Datagram Protocol); it uses ICMP directly over IP.

EUDP datagram with a payload

`ping` does not use UDP (User Datagram Protocol); it uses ICMP directly over IP.

Concept tested: ICMP protocol and ping command

Source: https://www.ietf.org/rfc/rfc792.txt

Topics

#ping#ICMP#network protocols

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice