nerdexam
CompTIA

220-802 · Question #712

Which of the following commands shows the number of hops from a computer to the specified destination?

The correct answer is D. TRACERT. TRACERT (traceroute) sends packets with incrementing TTL values to map each hop along the route to a destination and reports the total number of hops and latency at each one.

Networking

Question

Which of the following commands shows the number of hops from a computer to the specified destination?

Options

  • AIPCONFIG
  • BNETSTAT
  • CPING
  • DTRACERT

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    2% (1)
  • D
    93% (40)

Why each option

TRACERT (traceroute) sends packets with incrementing TTL values to map each hop along the route to a destination and reports the total number of hops and latency at each one.

AIPCONFIG

IPCONFIG displays the local machine's IP address, subnet mask, default gateway, and other adapter settings, and does not communicate with remote hosts or count hops.

BNETSTAT

NETSTAT displays active TCP/UDP connections, listening ports, and network statistics for the local machine and does not trace routes to remote destinations.

CPING

PING sends ICMP echo requests to test reachability and measure round-trip latency to a host but does not reveal intermediate hops or the total hop count along the path.

DTRACERTCorrect

TRACERT works by sending ICMP echo requests with a Time-To-Live value that starts at 1 and increments by 1 for each probe, causing each router along the path to return a TTL Exceeded message, which TRACERT uses to display each hop's IP address, hostname, and round-trip time, giving a complete hop count to the destination.

Concept tested: TRACERT command for hop count and route tracing

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

Topics

#TRACERT#network hops#routing diagnostics#network CLI

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice