LPIC-1 Essential System Services and Networking Practice Question
Which TWO of the following are valid methods to configure network interfaces on a Linux system? (Choose two.)
⚠ Common exam trap
A common mix-up: candidates confuse temporary runtime commands (like `ifconfig` and `route`) with persistent configuration methods, or they assume a distribution-specific path like `/etc/sysconfig/network-scripts/` is universally valid across all Linux systems.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Editing /etc/network/interfaces file.
The `/etc/network/interfaces` file is the primary configuration file for network interfaces on Debian-based Linux distributions (e.g., Ubuntu). It allows static or dynamic (DHCP) configuration of interfaces using directives like `iface`, `address`, and `netmask`, and is read by the `ifup` and `ifdown` commands at boot or on demand.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Editing /etc/network/interfaces file.
Why this is correct
Used by Debian-based systems.
- ✗
Using the 'ifconfig' command.
Why it's wrong here
Deprecated for configuration, but still used for viewing.
- ✓
Using the 'ip' command.
Why this is correct
'ip' can configure interfaces.
- ✗
Using the 'route' command.
Why it's wrong here
For routing table, not interface configuration.
- ✗
Editing /etc/sysconfig/network-scripts/ network configuration files.
Why it's wrong here
Path is /etc/sysconfig/network-scripts/ifcfg-*, not directly editing.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 527 original LPIC-1 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.