LFCA practice question 6 of 15

A server on the network is unreachable. What is the best method to verify connectivity between your computer and the remote server?

Full set: 60 questions

Domain System Administration Fundamentals

Answer options
A: lookup
B: find
C: ping Correct answer
D: netstat
Correct Answer:
C. ping
Explanation

The ping command is the standard utility for testing network connectivity at the IP level. It operates by sending ICMP (Internet Control Message Protocol) ECHOREQUEST packets to the specified remote host and waiting for an ICMP ECHORESPONSE. A successful reply confirms that a network path exists between the local and remote machines and that the remote host's network stack is operational. This makes it the most direct and appropriate tool for verifying basic reachability, which is the core of the question.

Why Incorrect

A. lookup: This is not a standard Linux command. If it implies nslookup or dig, these tools are for DNS queries and only verify name resolution, not network layer connectivity.
B. find: This is a core utility for searching for files and directories within the filesystem. It has no networking capabilities.
D. netstat: This command displays local network information, such as active connections, routing tables, and interface statistics. It does not actively test connectivity to a remote server.

References

1. Official Vendor Documentation (Red Hat): The Red Hat Enterprise Linux 9 documentation, in its guide for "Configuring and managing networking," explicitly states the primary use of ping.

Source: Red Hat Enterprise Linux 9 Documentation, "Configuring and managing networking," Chapter 36. Troubleshooting network problems, Section 36.1. "Checking the reachability of a host using the ping utility."

Quote: "The ping utility sends ICMP ECHOREQUEST packets to a host to verify whether the host is reachable."

2. Official Linux Documentation (man pages): The Linux manual page for ping defines its purpose as a network diagnostic tool.

Source: ping(8) — The Linux man-pages project.

Quote: "ping uses the ICMP protocol's mandatory ECHOREQUEST datagram to elicit an ICMP ECHORESPONSE from a host or gateway. ECHOREQUEST datagrams... have an IP and ICMP header."

3. University Courseware (University of Chicago): Course materials for computer networking describe ping as a fundamental tool for diagnosing connectivity.

Source: University of Chicago, CMSC 23310 - Computer Networks, "Lab 1: Wireshark and Basic Networking Tools," Section "Ping."

Quote: "Ping is a computer network administration software utility used to test the reachability of a host on an Internet Protocol (IP) network."

Scroll to Top