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…
Question
Options
- Aifconf
- Bifdown
- Cifpause
- Difstart
- Eifup
How the community answered
(39 responses)- A5% (2)
- B77% (30)
- C3% (1)
- D15% (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 (
ifconfigdoes, 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
ifdownisifup, notifstart.
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
Community Discussion
No community discussion yet for this question.