Which tool shows OS info, services, and open ports on a server?

A systems administrator is looking for operating system information, running services, and network ports that are available on a server. Which of the following software tools should the administrator use to accomplish this task?

  1. nslookup
  2. nmap Source Reference Answer
  3. traceroute
  4. netstat

Community Votes

B
65%
D
35%

65% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The question tests your ability to distinguish between remote scanning tools (nmap) and local connection display tools (netstat); the trap is that netstat shows ports and services but cannot reveal a remote server's operating system.

The correct answer is nmap because it is the only tool listed that can perform OS fingerprinting, service/version detection, and port scanning. The community is split, but the deciding factor is nmap's ability to identify operating system information. This is a common Network+ N10-008 question testing tool selection.

Choosing netstat is the most common mistake because it does display listening ports and running services, but it cannot determine the operating system of a remote server, which the question explicitly asks for. Nmap is the only option that covers all three requirements.

Community Discussion (7 comments)

arokace1 👍 8 Selected: B
Failing to see how netstat is the right answer. Question is asking for OS Info too, I can not find a way to find OS info with netstat. NMAP can do everything the question is asking for however.
JB1705 👍 2 Selected: B
For a specific recommendation, Nmap is particularly well-suited for a comprehensive scan that covers operating system details, running services, and open ports on a server. Its ability to perform both host discovery and port scanning makes it a versatile tool for network administrators and security professionals alike.
titan90279 👍 2
This is one of those questions where if you ask ChatGPT, it will give you one answer the first time then will give you another if you ask the same question a second time
BottomText 👍 1 Selected: B
Nmap CAN fingerprint a system's OS in addition to all the other requirements listed here. Netstat CANNOT.
9aac736 👍 3
Trash question both nmap and netstat do this.
subaie503 👍 3 Selected: D
The correct answer is D. netstat. Netstat (network statistics) is a command-line tool used to display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. It provides information about the network connections (both incoming and outgoing), routing tables, and network interface statistics, which can help the systems administrator in understanding the operating system information, running services, and network ports that are available on the server.
Sarmad_Mansour 👍 3 Selected: D
The software tool that the systems administrator should use to gather information about operating system details, running services, and network ports on a server is D. netstat

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Nmap is a network scanning tool that can perform host discovery, port scanning, service/version detection (-sV), and OS fingerprinting (-O). The question asks for operating system information, running services, and network ports available on a server — exactly the combination nmap provides. Comment [1] and [5] correctly emphasize that nmap can fingerprint a system's OS in addition to scanning ports and services, while netstat cannot provide OS information.

Why the Other Options Are Wrong

Netstat displays local network connections, listening ports, routing tables, and associated process IDs, but it does not identify a remote server's operating system. nslookup is a DNS query tool used to resolve domain names and IP addresses, not to enumerate ports or services. Traceroute maps the network path between hosts and is irrelevant to OS detection or service enumeration. Only nmap satisfies every requirement in the question.

Community Comment Notes

The community is split between B (nmap) and D (netstat). Comment [1] makes the decisive point that netstat cannot find OS information, making nmap the right choice. Comments [3] and [4] argue for netstat but only describe its local connection-display capabilities, omitting the OS-detection requirement. Comment [2] calls the question ambiguous because both tools overlap on ports/services, but the exam objective clearly expects nmap for the full set of features. Comment [6] notes that AI models may give inconsistent answers, which further highlights the need to understand the tool capabilities rather than rely on pattern matching.

Official Reference

Exam Strategy

When a Network+ question mentions operating system information or OS fingerprinting, think of nmap first. Remember that netstat is a local command for viewing your own system's connections and ports, while nmap is a remote scanner that can detect OS, services, and open ports on another host.

Related Analysis

← Back to N10-008 Study Guide