CompTIA A+ Core 2 (220-1002) — Question 207
A technician is using a CLI to perform tasks on a Windows OS. The technician needs to determine which ports are being utilized for TCP listening. Which of the following commands should the technician use?
Answer options
- A. netstat
- B. net use
- C. nslookup
- D. ping
Correct answer: A
Explanation
The correct command is 'netstat', as it displays active connections and listening ports on a system. The other options like 'net use' are used for managing network connections, 'nslookup' is for DNS queries, and 'ping' checks the reachability of hosts, none of which provide information about TCP listening ports.