CV0-003 · Question #97
An administrator needs to verify what ports are listening on an operating system. Which of the following tools can be used to accomplish this task?
The correct answer is B. netstat. The netstat command displays active network connections and ports currently listening on an operating system, making it the correct tool for auditing open ports.
Question
An administrator needs to verify what ports are listening on an operating system. Which of the following tools can be used to accomplish this task?
Options
- Atelnet
- Bnetstat
- Cpacket sniffer
- Difconfig
How the community answered
(47 responses)- A2% (1)
- B94% (44)
- D4% (2)
Why each option
The netstat command displays active network connections and ports currently listening on an operating system, making it the correct tool for auditing open ports.
Telnet is used to test connectivity to a specific port on a remote host but cannot enumerate all listening ports on a system.
Netstat (network statistics) is a built-in command-line utility that reports active TCP and UDP connections along with the ports on which the local system is listening, directly satisfying the requirement to verify which ports are open on an operating system without requiring any external traffic.
A packet sniffer captures network traffic passing through an interface but cannot enumerate all ports the local OS has open and listening without active traffic being present on each port.
Ifconfig displays network interface configuration such as IP addresses and MAC addresses, not the ports that processes have bound and are listening on.
Concept tested: Using netstat to identify listening ports
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat
Topics
Community Discussion
No community discussion yet for this question.