CompTIA Linux+ (XK0-005) — Question 286
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 would the administrator use to best confirm the host down event with the least chance of false positives?
Answer options
- A. nmap 192.168.47.0/32
- B. netcat 192.168.47.44
- C. nmap 192.168.47.44 -Pn
- D. ping -с 1 192.168.47.44
Correct answer: C
Explanation
The correct answer is C, as using 'nmap 192.168.47.44 -Pn' allows for a scan without pinging the host first, which helps avoid misinterpretation caused by firewalls that block ICMP packets. Options A and B do not specifically check host availability, and option D, while useful, could yield a false negative due to ICMP being blocked.