LFCS Networking Practice Question
Which tool is the recommended method for persistently configuring network interfaces in RHEL 8?
⚠ Common exam trap
The trap here is that candidates familiar with older RHEL versions (6/7) may default to editing ifcfg files directly, not realizing that RHEL 8 deprecates this method and officially recommends nmcli for persistent configuration.
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
✓
Using nmcli commands
In RHEL 8, NetworkManager is the default networking daemon, and 'nmcli' is the recommended command-line tool for persistently configuring network interfaces. Unlike temporary 'ip' commands, nmcli writes configuration to NetworkManager connection profiles, ensuring changes survive reboots. Red Hat officially deprecates direct editing of ifcfg files in RHEL 8 and uses NetworkManager as the primary interface.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Using the 'ip' command with persistent flags
Why it's wrong here
The 'ip' command only changes runtime settings.
- ✓
Using nmcli commands
Why this is correct
NetworkManager with nmcli is the standard tool for persistent network configuration.
- ✗
Editing /etc/sysconfig/network-scripts/ifcfg-* files directly
Why it's wrong here
This is deprecated in RHEL 8; NetworkManager may overwrite manual changes.
- ✗
Using systemd-networkd configuration files
Why it's wrong here
systemd-networkd is not the default network service in RHEL 8.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LFCS question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS exam.