CompTIACompTIA
XK0-005 · Question #298
XK0-005 Question #298: Real Exam Question with Answer & Explanation
The correct answer is D: ip link set wlo1 up. If a network interface is down, it must be brought up before any network connectivity can be established.
Troubleshooting
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?
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
Explanation
If a network interface is down, it must be brought up before any network connectivity can be established.
Common mistakes.
- A.
arp -sadds a static ARP entry, which is used for resolving IP to MAC addresses, and is not the first step to restore general connectivity if the interface itself is down. - B.
route addadds a static network route; this is only necessary if routing tables are incorrect after the interface is up and has an IP address. - C.
dig -xperforms a reverse DNS lookup, and using127.0.0.1(localhost) as the DNS server for an external IP address is unlikely to resolve a connectivity issue. - E.
killall -HUP NetworkManagerrestarts the NetworkManager service, which might resolve some configuration issues, but it's not the most direct fix if a specific interface is explicitly down.
Concept tested. Bringing up a network interface
Reference. https://man7.org/linux/man-pages/man8/ip-link.8.html
Topics
#Network troubleshooting#Linux networking#ip command#Network interfaces
Community Discussion
No community discussion yet for this question.