nerdexam
CompTIA

XK0-005 · Question #853

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 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.

System Management

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

How the community answered

(24 responses)
  • A
    92% (22)
  • C
    4% (1)
  • D
    4% (1)

Why each option

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.

Aip link set enp0s3 upCorrect

The `ip link set` command is used to modify the state or properties of a network interface. Specifically, `ip link set enp0s3 up` will activate the `enp0s3` interface, changing its status from `DOWN` to `UP` and allowing it to transmit and receive network traffic.

Bip link ifb enp0s3 up

`ifb` refers to an Intermediate Functional Block device, a virtual interface for traffic shaping, and is not used to bring a physical interface up.

Cip link add enp0s3 up

`ip link add` is used to create new virtual network interfaces (e.g., bridges, bonds), not to change the state of an existing physical interface.

Dip link enp0s3 up

`ip link enp0s3 up` is syntactically incomplete; the `set` subcommand is required with `ip link` to modify an existing link's state.

Concept tested: Linux network interface management (ip command)

Source: https://man7.org/linux/man-pages/man8/ip-link.8.html

Topics

#Networking#ip command#Network Interfaces#System Configuration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice