nerdexam
EC-Council

312-50V11 · Question #726

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

The correct answer is C. Netstat. The netstat command displays all active TCP/IP connections, listening ports, and associated network statistics on a host.

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

(53 responses)
  • A
    4% (2)
  • C
    94% (50)
  • D
    2% (1)

Why each option

The netstat command displays all active TCP/IP connections, listening ports, and associated network statistics on a host.

ANetsh

Netsh is a command-line scripting utility for configuring and monitoring network settings, not for listing active TCP/IP connections.

BNet use connection

'Net use connection' is not a valid Windows command; 'net use' manages mapped network drives and shared resource connections.

CNetstatCorrect

Netstat (network statistics) is the standard cross-platform command-line utility that shows all active inbound and outbound TCP connections, UDP port listeners, and per-protocol statistics. Running 'netstat -an' or simply 'netstat' provides a real-time snapshot of all current TCP/IP connections and their states.

DNet use

'Net use' maps or disconnects shared drives and printer connections via SMB, not TCP/IP connection monitoring.

Concept tested: Using netstat to view active TCP/IP connections

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

Topics

#netstat#TCP/IP connections#Windows commands#network monitoring

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice