nerdexam
EC-Council

312-50V10 · Question #726

Which command can be used to show the current TCP/IP connections?

The correct answer is C. Netstat. The netstat command displays active TCP/IP connections, listening ports, and protocol statistics, making it the standard tool for viewing current network connection state.

Scanning Networks

Question

Which command can be used to show the current TCP/IP connections?

Options

  • ANetsh
  • BNet use connection
  • CNetstat
  • DNet use

How the community answered

(28 responses)
  • A
    4% (1)
  • C
    89% (25)
  • D
    7% (2)

Why each option

The netstat command displays active TCP/IP connections, listening ports, and protocol statistics, making it the standard tool for viewing current network connection state.

ANetsh

Netsh is a command-line scripting utility for configuring and managing network interfaces, firewall rules, and routing - it does not display active TCP/IP connection states.

BNet use connection

'Net use connection' is not a valid Windows command - 'net use' manages shared drive and resource mappings and has no function for reporting TCP/IP socket connections.

CNetstatCorrect

Netstat (network statistics) is a cross-platform command-line utility that reports active TCP/UDP connections, listening ports, protocol statistics, and routing tables; flags such as '-an' display all connections and ports in numeric form. It is the primary tool for auditing which processes have open network connections on a host.

DNet use

'Net use' creates or lists mapped network drives and UNC share connections but does not report TCP/IP socket-level connection states or listening ports.

Concept tested: Displaying active TCP/IP connections with netstat

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/netstat

Topics

#netstat#TCP/IP connections#network commands#active connections

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice