nerdexam
LPI

102-500 · Question #69

Which of the following commands configure network interfaces based on the system's existing distribution- specific configuration files? (Choose two.)

The correct answer is B. ifdown E. ifup. ifdown and ifup are the two correct commands because they read distribution-specific configuration files (like /etc/network/interfaces on Debian-based systems or files in /etc/sysconfig/network-scripts/ on Red Hat-based systems) to bring network interfaces down and up…

Networking Fundamentals

Question

Which of the following commands configure network interfaces based on the system's existing distribution- specific configuration files? (Choose two.)

Options

  • Aifconf
  • Bifdown
  • Cifpause
  • Difstart
  • Eifup

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    77% (30)
  • C
    3% (1)
  • D
    15% (6)

Explanation

ifdown and ifup are the two correct commands because they read distribution-specific configuration files (like /etc/network/interfaces on Debian-based systems or files in /etc/sysconfig/network-scripts/ on Red Hat-based systems) to bring network interfaces down and up, respectively, applying whatever settings are defined there.

Why the distractors are wrong:

  • ifconf does not exist as a standard Linux command (ifconfig does, but it configures interfaces directly via command-line arguments, not from config files).
  • ifpause is not a real Linux networking command.
  • ifstart is not a standard command either; the correct counterpart to ifdown is ifup, not ifstart.

Memory tip: Think of the pair as a power switch - ifdown turns the interface down, ifup brings it up, and both commands respect the distro's existing config files rather than requiring you to specify settings manually. The "if" prefix stands for "interface," and the suffix tells you the direction.

Topics

#network interface configuration#ifup/ifdown commands#distribution-specific network config#Linux networking commands

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice