exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 120 discussion

Actual exam question from CompTIA's XK0-005
Question #: 120
Topic #: 1
[All XK0-005 Questions]

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
  • B. netstat -r eth1
  • C. ss -ti eth1
  • D. ip link show eth1
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Alizadeh
8 months, 3 weeks ago
Selected Answer: D
The correct answer is D. ip link show eth1.
upvoted 1 times
...
angellorv
1 year ago
Deprecated Linux networking commands and their replacements: ip, netstat and others https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/
upvoted 1 times
...
linux_admin
1 year, 2 months ago
Selected Answer: D
The command that can be used to check the link status of a network interface named eth1 in a Linux server is option D, ip link show eth1. The ip command is used to show or manipulate the network interfaces on a Linux system. The link option is used to display or modify the attributes of a network device, and the show option is used to display the specified device. To check the link status of eth1, the following command can be used: ip link show eth1 This command will display information about the eth1 network interface, including its status and any configured options.
upvoted 1 times
...
KnifeClown1
1 year, 2 months ago
Selected Answer: D
The command "ip link show eth1" is the correct command to check the link status of the network interface named eth1 in a Linux server. The "ip" command is part of the iproute2 suite of networking tools, which provides a more advanced and flexible way of managing network interfaces compared to the traditional ifconfig command. The "link" subcommand of "ip" can be used to show information about network interfaces, including the link status. By adding the interface name (eth1), the command will only show information about the specified interface. The "ip link show eth1" command will display information about the eth1 interface, including the current status of the link, the speed and duplex of the connection, and the MTU (maximum transmission unit) of the interface. If the link is up and running, the status of the interface will be "UP", and if there is an issue with the link, the status will be "DOWN".
upvoted 1 times
...
Ckl22
1 year, 4 months ago
Selected Answer: B
Answer is B netstat
upvoted 1 times
Ckl22
1 year, 4 months ago
looks like ip link show is the correct command as netstat -r is meant to view route information, and not the status of a network interface
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago