nerdexam
CompTIA

LX0-104 · Question #268

Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect:

The correct answer is B. a problem with DNS. A netstat -a command hanging for an extended period typically indicates an issue with DNS resolution when it attempts to convert IP addresses to hostnames.

Networking Fundamentals

Question

Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect:

Options

  • Aa problem with NFS
  • Ba problem with DNS
  • Ca problem with NIS
  • Da problem with routing
  • Ethat the netstat daemon has crashed

How the community answered

(50 responses)
  • A
    6% (3)
  • B
    78% (39)
  • C
    2% (1)
  • D
    10% (5)
  • E
    4% (2)

Why each option

A `netstat -a` command hanging for an extended period typically indicates an issue with DNS resolution when it attempts to convert IP addresses to hostnames.

Aa problem with NFS

A problem with NFS might cause delays in file access, but it would not typically cause `netstat -a` to hang specifically due to hostname resolution attempts.

Ba problem with DNSCorrect

The `netstat -a` command, by default, tries to resolve IP addresses to human-readable hostnames. If there is a problem with DNS servers or resolution, the command will hang while attempting these lookups, causing a significant delay before displaying output.

Ca problem with NIS

A problem with NIS (Network Information Service) primarily affects user and group information lookups, not the hostname resolution performed by `netstat`.

Da problem with routing

A problem with routing would prevent network traffic from reaching destinations but would not specifically cause `netstat -a` to hang on hostname resolution.

Ethat the netstat daemon has crashed

`netstat` is a command-line utility that executes and exits, not a daemon that runs continuously and can crash in the background.

Concept tested: Network troubleshooting and DNS impact on utilities

Source: https://man7.org/linux/man-pages/man8/netstat.8.html

Topics

#netstat#network troubleshooting#DNS issues

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice