nerdexam
Exams220-1002Questions#378
CompTIA

220-1002 · Question #378

220-1002 Question #378: Real Exam Question with Answer & Explanation

The correct answer is A: netstat. The netstat (network statistics) command displays active network connections, routing tables, and port usage. Running 'netstat -an' (all connections, numeric format) or 'netstat -an | find "LISTENING"' on Windows lists all ports currently in a TCP LISTENING state, showing which s

Question

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?

Options

  • Anetstat
  • Bnet use
  • Cnslookup
  • Dping

Explanation

The netstat (network statistics) command displays active network connections, routing tables, and port usage. Running 'netstat -an' (all connections, numeric format) or 'netstat -an | find "LISTENING"' on Windows lists all ports currently in a TCP LISTENING state, showing which services are waiting for incoming connections. 'net use' manages mapped network drives and shared resources. 'nslookup' queries DNS servers to resolve hostnames - it has nothing to do with local port states. 'ping' tests ICMP connectivity to a host. Only netstat provides local port and connection state information.

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice