nerdexam
CompTIA

LX0-104 · Question #101

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

The correct answer is A. Set a network interface active or inactive. D. Change the netmask used on a network interface. The ifconfig command enables the activation or deactivation of network interfaces and allows for changing their netmask settings.

Networking Fundamentals

Question

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Options

  • ASet a network interface active or inactive.
  • BSpecify the kernel module to be used with a network interface.
  • CAllow regular users to change the network configuration of a network interface.
  • DChange the netmask used on a network interface.
  • ESpecify which network services are available on a network interface.

How the community answered

(19 responses)
  • A
    89% (17)
  • B
    5% (1)
  • C
    5% (1)

Why each option

The `ifconfig` command enables the activation or deactivation of network interfaces and allows for changing their netmask settings.

ASet a network interface active or inactive.Correct

`ifconfig` permits enabling or disabling a network interface using the `up` and `down` keywords, directly controlling whether the interface is active or inactive.

BSpecify the kernel module to be used with a network interface.

Specifying the kernel module for a network interface is handled by the kernel's driver loading mechanisms or module configuration files, not directly by `ifconfig`.

CAllow regular users to change the network configuration of a network interface.

The `ifconfig` command requires root privileges to modify network configurations; regular users are typically not allowed to change interface settings.

DChange the netmask used on a network interface.Correct

Administrators can use `ifconfig` to set or modify the netmask associated with a specific network interface, defining the network and host portion of its IP address.

ESpecify which network services are available on a network interface.

`ifconfig` configures low-level network interface parameters like IP addresses and status, but it does not specify or control which higher-level network services are available on an interface.

Concept tested: ifconfig command capabilities

Topics

#ifconfig#network interface configuration

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice