nerdexam
CompTIACompTIA

XK0-005 · Question #1481

XK0-005 Question #1481: Real Exam Question with Answer & Explanation

The correct answer is D: ip link show eth1. 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 optio

Troubleshooting

Question

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?

Options

  • Aifconfig hw eth1
  • Bnetstat -r eth1
  • Css -ti eth1
  • Dip link show eth1

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

Topics

#Linux networking#Network interfaces#ip command#Link status

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions