ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 120 - XK0-005 discussion

Report
Export

A cloud engineer needs to check the link status of a network interface named eth1 in a Linux server.

Which of the following commands can help to achieve the goal?

A.
ifconfig hw eth1
Answers
A.
ifconfig hw eth1
B.
netstat -r eth1
Answers
B.
netstat -r eth1
C.
ss -ti eth1
Answers
C.
ss -ti eth1
D.
ip link show eth1
Answers
D.
ip link show eth1
Suggested answer: D

Explanation:

The ip link show eth1 command can be used to check the link status of a network interface named eth1 in a Linux server. It will display information such as the MAC address, MTU, state, and flags of the interface. The ifconfig hw eth1 command is invalid, as hw is not a valid option for ifconfig. The netstat -r eth1 command would display the routing table for eth1, not the link status. The ss -ti eth1 command would display TCP information for sockets associated with eth1, not the link status. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Networking Fundamentals, page 436.

asked 02/10/2024
Mellisa Stroman
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first