LPIC-1 Exam 102 v5 (Linux Administrator) — Question 97
How does the ping command work by default?
Answer options
- A. Is sends an ICMP Echo Request to a remote host and waits to receive an ICMP Echo Response in return.
- B. It sends an ARP request to a remote host and waits to receive an ARP response in return.
- C. It sends a TCP SYN packet to a remote host and waits to receive an TCP ACK response in return.
- D. Is sends a broadcast packet to all hosts on the net and waits to receive, among others, a response from the target system.
- E. It sends a UDP packet to port 0 of the remote host and waits to receive a UDP error response in return.
Correct answer: A
Explanation
The correct answer is A because the ping command uses ICMP Echo Requests to test connectivity to a remote host and expects an ICMP Echo Response. The other options describe different network protocols or mechanisms that are not associated with the functionality of the ping command.