XK0-005 · Question #439
XK0-005 Question #439: Real Exam Question with Answer & Explanation
The correct answer is A: ip addr add 10.0.6.5/24 dev enpls0f1. The command ip addr add 10.0.6.5/24 dev enp1s0f1 will achieve the goal of temporarily assigning IP address 10.0.6.5/24 to the newly added network interface enp1s0f1. The ip command is a tool for managing network interfaces and routing on Linux systems. The addr option specifies t
Question
In order to copy data from another VLAN, a systems administrator wants to temporarily assign IP address 10.0.6.5/24 to the newly added network interface enp1s0f1. Which of the following commands should the administrator run to achieve the goal?
Options
- Aip addr add 10.0.6.5/24 dev enpls0f1
- Becho "IPV4_ADDRESS=10.0.6.5/24" > /etc/sysconfig/network-scripts/ifcfg-enplsOf1
- Cifconfig 10.0.6.5/24 enpsIs0f1
- Dnmcli conn add lpv4.address-10.0.6.5/24 ifname enpls0f1
Explanation
The command ip addr add 10.0.6.5/24 dev enp1s0f1 will achieve the goal of temporarily assigning IP address 10.0.6.5/24 to the newly added network interface enp1s0f1. The ip command is a tool for managing network interfaces and routing on Linux systems. The addr option specifies the address manipulation mode. The add option adds a new address to an interface. The 10.0.6.5/24 is the IP address and the subnet mask in CIDR notation. The dev option specifies the device name. The enp1s0f1 is the name of the network interface. The command ip addr add 10.0.6.5/24 dev enp1s0f1 will add the IP address 10.0.6.5/24 to the network interface enp1s0f1, which will allow the administrator to copy data from another VLAN. This is the correct command to use to achieve the goal.
Topics
Community Discussion
No community discussion yet for this question.