XK0-005 · Question #853
XK0-005 Question #853: Real Exam Question with Answer & Explanation
The correct answer is A: ip link set enp0s3 up. To resolve a network interface in a state DOWN status, the ip link set command followed by the interface name and the up argument is used to activate it.
Question
A systems administrator receives the following message after running an ip link command to verify the status of a network interface named enp0s3: state DOWN Which of the following commands should the administrator use to resolve this issue?
Options
- Aip link set enp0s3 up
- Bip link ifb enp0s3 up
- Cip link add enp0s3 up
- Dip link enp0s3 up
Explanation
To resolve a network interface in a state DOWN status, the ip link set command followed by the interface name and the up argument is used to activate it.
Common mistakes.
- B.
ifbrefers to an Intermediate Functional Block device, a virtual interface for traffic shaping, and is not used to bring a physical interface up. - C.
ip link addis used to create new virtual network interfaces (e.g., bridges, bonds), not to change the state of an existing physical interface. - D.
ip link enp0s3 upis syntactically incomplete; thesetsubcommand is required withip linkto modify an existing link's state.
Concept tested. Linux network interface management (ip command)
Reference. https://man7.org/linux/man-pages/man8/ip-link.8.html
Topics
Community Discussion
No community discussion yet for this question.