nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #771

LFCS Question #771: Real Exam Question with Answer & Explanation

The correct answer is E: traceroute. The traceroute command diagnoses network issues by showing the path (hops) packets take to a destination, identifying where connectivity might be failing.

Submitted by kevin_r· Apr 18, 2026Networking

Question

You suspect that a gateway machine on your network has failed but you are unsure which machine. Which command will help locate the problem?

Options

  • Aps
  • Bnetstat
  • Cnslookup
  • Difconfig
  • Etraceroute

Explanation

The traceroute command diagnoses network issues by showing the path (hops) packets take to a destination, identifying where connectivity might be failing.

Common mistakes.

  • A. ps lists running processes on the local machine and provides no information about network connectivity or gateway status.
  • B. netstat displays network connections, routing tables, and interface statistics on the local machine but does not actively diagnose path failures to remote hosts.
  • C. nslookup (or dig) performs DNS lookups and resolves hostnames to IP addresses, which is not directly useful for identifying a failed gateway.
  • D. ifconfig (or ip addr/ip link) configures and displays information about network interfaces on the local machine, but it doesn't diagnose reachability to external gateways.

Concept tested. Diagnosing network gateway failure

Reference. https://man7.org/linux/man-pages/man8/traceroute.8.html

Topics

#network troubleshooting#traceroute#gateway#connectivity diagnosis

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions