CompTIA Network+ (N10-008) — Question 419

A help desk technician is troubleshooting a Windows server named SQL.local and wants to check which port a specific application is running on. Which of the following commands should the technician run?

Answer options

Correct answer: D

Explanation

The correct command is 'netstat', as it displays active connections and listening ports on the server. The other commands, such as 'dig', are used for DNS lookups, 'traceroute' is for network path tracing, and 'arp' is for viewing the Address Resolution Protocol table, none of which provide the port information needed.