Which command can be used to view the TCP and UDP sessions currently open on a computer?

Optimize your success on the FSNA Readiness Exam. Engage with flashcards and multiple choice questions, each designed with hints and explanations. Prepare thoroughly for your test and excel!

Multiple Choice

Which command can be used to view the TCP and UDP sessions currently open on a computer?

Explanation:
Viewing current TCP and UDP sessions is done with a command that lists active connections and listening ports. This tool shows which local and remote addresses and ports are in use, the transport protocol, and often the process handling each connection. That makes it the best choice for seeing open sessions for both TCP and UDP. Ping checks whether a host is reachable but doesn’t display session state. Tracert reveals the route packets take to a destination, not current connections. Arp -a shows the ARP table mapping IPs to MAC addresses, not live sessions. You’d typically use netstat (for example, netstat -ano on Windows or netstat -tulpen on Linux) to view TCP and UDP sockets and their statuses.

Viewing current TCP and UDP sessions is done with a command that lists active connections and listening ports. This tool shows which local and remote addresses and ports are in use, the transport protocol, and often the process handling each connection. That makes it the best choice for seeing open sessions for both TCP and UDP. Ping checks whether a host is reachable but doesn’t display session state. Tracert reveals the route packets take to a destination, not current connections. Arp -a shows the ARP table mapping IPs to MAC addresses, not live sessions. You’d typically use netstat (for example, netstat -ano on Windows or netstat -tulpen on Linux) to view TCP and UDP sockets and their statuses.