nerdexam
Linux_Foundation

LFCS · Question #97

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

The correct answer is B. Network interfaces may become active or inactive. C. The routing table may change. D. IP addresses may change. The ifconfig command can modify network interface states (active/inactive), alter IP addresses, and directly impact the system's routing table.

Submitted by miguelv· Apr 18, 2026Networking

Question

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Options

  • ANew name servers may be added to the resolver configuration.
  • BNetwork interfaces may become active or inactive.
  • CThe routing table may change.
  • DIP addresses may change.
  • EThe system's host name may change.

How the community answered

(55 responses)
  • A
    5% (3)
  • B
    91% (50)
  • E
    4% (2)

Why each option

The `ifconfig` command can modify network interface states (active/inactive), alter IP addresses, and directly impact the system's routing table.

ANew name servers may be added to the resolver configuration.

ifconfig manages network interfaces and their IP configurations, but it does not directly modify name server entries in the resolver configuration file (`/etc/resolv.conf`).

BNetwork interfaces may become active or inactive.Correct

ifconfig can bring an interface `up` or `down`, changing its active or inactive status.

CThe routing table may change.Correct

While `ifconfig` primarily manages interfaces, changing an interface's status or IP address can indirectly cause changes to be made to the kernel's routing table (e.g., adding or removing a direct route).

DIP addresses may change.Correct

ifconfig is directly used to assign or change an IP address and netmask for a network interface.

EThe system's host name may change.

The `ifconfig` command does not manage the system's hostname; that is typically handled by the `hostname` command or `sysctl`.

Concept tested: `ifconfig` command capabilities

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

Topics

#ifconfig#Network Interface Configuration#IP Addressing#Routing Table

Community Discussion

No community discussion yet for this question.

Full LFCS Practice