nerdexam
CompTIA

CV0-003 · Question #370

An administrator is unable to ping anything on the network, as the ping command immediately returns an error. Which of the following commands should the administrator use FIRST to troubleshoot this…

The correct answer is D. ipconfig. When ping immediately returns an error (rather than timing out), the root cause is likely a local network misconfiguration, so ipconfig should be run first to verify the host's IP address, subnet mask, and default gateway.

Troubleshooting

Question

An administrator is unable to ping anything on the network, as the ping command immediately returns an error. Which of the following commands should the administrator use FIRST to troubleshoot this issue?

Options

  • Anetstat -o
  • Bnslookup
  • Croute
  • Dipconfig

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    4% (1)
  • D
    92% (22)

Why each option

When ping immediately returns an error (rather than timing out), the root cause is likely a local network misconfiguration, so ipconfig should be run first to verify the host's IP address, subnet mask, and default gateway.

Anetstat -o

netstat -o displays active network connections and their owning process IDs, which is useful for diagnosing connectivity issues with established connections, not a fundamental IP configuration problem.

Bnslookup

nslookup queries DNS name resolution, which is irrelevant when the issue is that ping fails immediately - DNS would only matter after basic IP connectivity is confirmed.

Croute

The route command displays or modifies the IP routing table and is useful after confirming the local IP configuration is valid, making it a later troubleshooting step.

DipconfigCorrect

ipconfig displays the host's current IP configuration including IP address, subnet mask, and default gateway. If ping immediately errors out rather than timing out, it indicates the local network stack or configuration is invalid - running ipconfig first confirms whether the adapter has a valid IP address before deeper troubleshooting is attempted.

Concept tested: Network troubleshooting order starting with ipconfig

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

Topics

#ipconfig#network troubleshooting#ping#connectivity

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice