nerdexam
Linux_Foundation

LFCS · Question #296

An administrator suspects that a gateway machine on their network has failed; the administrator is unsure which machine is the problem. Which of the following commands will help locate the problem…

The correct answer is E. traceroute. To identify which specific hop or machine is failing along a network path to a destination, the traceroute command should be used.

Submitted by stefanr· Apr 18, 2026Networking

Question

An administrator suspects that a gateway machine on their network has failed; the administrator is unsure which machine is the problem. Which of the following commands will help locate the problem machine?

Options

  • Aps
  • Bnetstat
  • Cnslookup
  • Difconfig
  • Etraceroute

How the community answered

(20 responses)
  • A
    15% (3)
  • B
    5% (1)
  • C
    5% (1)
  • E
    75% (15)

Why each option

To identify which specific hop or machine is failing along a network path to a destination, the `traceroute` command should be used.

Aps

`ps` lists running processes on the local machine and provides no network path information.

Bnetstat

`netstat` displays network connections, routing tables, and interface statistics on the local machine, but doesn't trace the path to a remote host.

Cnslookup

`nslookup` (or `dig`) is used for DNS queries and resolving hostnames to IP addresses, not for tracing network paths.

Difconfig

`ifconfig` (or `ip addr`) displays and configures network interface parameters on the local machine, but doesn't show the path to a remote host.

EtracerouteCorrect

The `traceroute` command maps the network path between a source and a destination, showing each intermediate router (hop) and the time taken for packets to reach it. By observing where the packets stop or where latency spikes, an administrator can pinpoint the failing gateway or router along the path.

Concept tested: Network path diagnostics

Source: https://manpages.ubuntu.com/manpages/jammy/en/man8/traceroute.8.html

Topics

#Network troubleshooting#Gateway diagnosis#traceroute#Network commands

Community Discussion

No community discussion yet for this question.

Full LFCS Practice