nerdexam
GIAC

GSNA · Question #327

GSNA Question #327: Real Exam Question with Answer & Explanation

The correct answer is D. netstat -an. According to the scenario, John will use the netstat -an command to accomplish the task. The netstat -an command is used to get the information of all network connections and listening ports in the numerical form. The netstat command displays protocol-related statistics and the s

Question

are-secure.com. John wants to get the information of all network connections and listening ports in the numerical form. Which of the following commands will he use?

Options

  • Anetstat -e
  • Bnetstat -r
  • Cnetstat -s
  • Dnetstat -an

Explanation

According to the scenario, John will use the netstat -an command to accomplish the task. The netstat -an command is used to get the information of all network connections and listening ports in the numerical form. The netstat command displays protocol-related statistics and the state of current TCP/IP connections. It is used to get information about the open connections on a computer, incoming and outgoing data, as well as the ports of remote computers to which the computer is connected. The netstat command gets all this networking information by reading the kernel routing tables in the memory. Answer: A is incorrect. The netstat -e command displays the Ethernet information. Answer: B is incorrect. The netstat -r command displays the routing table information. Answer: C is incorrect. The netstat -s command displays per-protocol statistics. By default, statistics are shown for TCP, UDP and IP.

Community Discussion

No community discussion yet for this question.

Full GSNA Practice