nerdexam
CompTIA

XK0-005 · Question #6

A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the administrator execute?

The correct answer is A. ping -c 10 host1. The command 'ping -c 10 host1' sends exactly 10 ICMP echo request packets to host1 and displays round-trip time (RTT) statistics including min, max, average, and packet loss upon completion. The '-c' flag specifies the packet count. Option B is incorrect because 'traceroute'…

Troubleshooting

Question

A junior Linux administrator is trying to verify connectivity to the remote host host1 and display round-trip statistics for ten ICMP. Which of the following commands should the administrator execute?

Options

  • Aping -c 10 host1
  • Btraceroute -c 10 host1
  • Cnetstat host1
  • Dpathping -c 10 host1

How the community answered

(28 responses)
  • A
    93% (26)
  • B
    4% (1)
  • D
    4% (1)

Explanation

The command 'ping -c 10 host1' sends exactly 10 ICMP echo request packets to host1 and displays round-trip time (RTT) statistics including min, max, average, and packet loss upon completion. The '-c' flag specifies the packet count. Option B is incorrect because 'traceroute' does not use '-c' for packet count in the same way and is designed to show the network path (hops), not just endpoint RTT statistics. Option C ('netstat') displays active network connections and routing tables - it does not send ICMP packets or test connectivity. Option D ('pathping') is a Windows command, not available on Linux.

Topics

#Network diagnostics#ping command#Connectivity testing#ICMP

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice