CompTIA Security+ (SY0-501) — Question 520

Which of the following command line tools would be BEST to identify the services running in a server?

Answer options

Correct answer: D

Explanation

The correct answer is D, Netstat, as it provides detailed information about network connections, including active services and their states. Traceroute (A) is used to track the path packets take to a destination, Nslookup (B) is for DNS queries, and Ipconfig (C) displays network configuration details, none of which reveal running services.