nerdexam
CompTIA

XK0-004 · Question #298

A newly installed desktop is unable to connect to networked resources. The systems administrator executes various commands and reviews the following output snippets: Which of the following should…

The correct answer is D. ip link set wlo1 up. The wireless interface wlo1 is in a DOWN state, and the correct first step to restore connectivity is to bring the interface up using ip link.

Troubleshooting and Diagnostics

Question

A newly installed desktop is unable to connect to networked resources. The systems administrator executes various commands and reviews the following output snippets:

Which of the following should the systems administrator try NEXT to restore connectivity?

Exhibit

XK0-004 question #298 exhibit

Options

  • Aarp -s 20:ad:1f:ab:10:0f 192.168.1.10
  • Broute add -net 192.168.1.0 netmask 255.255.255.0
  • Cdig -x @127.0.0.1 192.168.1.10
  • Dip link set wlo1 up
  • Ekillall -HUP NetworkManager

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    9% (2)
  • D
    68% (15)
  • E
    18% (4)

Why each option

The wireless interface wlo1 is in a DOWN state, and the correct first step to restore connectivity is to bring the interface up using ip link.

Aarp -s 20:ad:1f:ab:10:0f 192.168.1.10

arp -s 20:ad:1f:ab:10:0f 192.168.1.10 adds a static ARP entry, which is irrelevant when the network interface itself is not in an UP state.

Broute add -net 192.168.1.0 netmask 255.255.255.0

route add -net 192.168.1.0 netmask 255.255.255.0 adds a static route, but routing is non-functional when the underlying interface is down.

Cdig -x @127.0.0.1 192.168.1.10

dig -x @127.0.0.1 192.168.1.10 performs a reverse DNS lookup against localhost and is a diagnostic tool that does not address a downed network interface.

Dip link set wlo1 upCorrect

ip link set wlo1 up activates the wireless interface wlo1, which based on the reviewed output is currently in a DOWN state and therefore cannot pass any network traffic. Without the physical interface being active, no routing, ARP, or DNS configuration will restore connectivity. Bringing the interface up is the foundational prerequisite before any higher-layer troubleshooting steps are applicable.

Ekillall -HUP NetworkManager

killall -HUP NetworkManager sends a reload signal to NetworkManager, which is a broader and less targeted action than directly activating the specific downed interface.

Concept tested: Activating a downed network interface with ip link set

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

Topics

#ip link#network interface#interface state#connectivity

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice