CompTIA Linux+ (XK0-005) — Question 254
A diagnostic tool reports a “host seems down” event for a server with an IP address of 192.168.47.44. Which of the following commands should the administrator use to confirm the host down event?
Answer options
- A. nmap 192.168.47.0/32
- B. netcat 192.168.47.44
- C. nmap 192.168.47.44 -Pn
- D. ping -c 1 192.168.47.44
Correct answer: D
Explanation
The correct answer is D because the ping command checks the network connectivity to the specified host and will return a response if the host is online. Options A and C are nmap commands that may not provide immediate confirmation of host status without additional parameters, and option B uses netcat, which is not primarily used for checking host availability.