Drag steps to the numbered slots on the right, or tap a step then tap a slot.
LFCS Networking Practice Question
Order the steps to configure a static IP address on a CentOS/RHEL 7 system using ifcfg files.
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
Edit the ifcfg file, then restart the network service, then verify the configuration.
Static IP configuration requires editing the ifcfg file, restarting network, and verification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Edit the ifcfg file, then restart the network service, then verify the configuration.
Why this is correct
This is the correct order because you must first modify the configuration file to set the static IP, then apply the changes by restarting the network service, and finally verify that the new settings are active.
- ✗
Restart the network service, then edit the ifcfg file, then verify the configuration.
Why it's wrong here
This is incorrect because restarting the network service before editing the file will not apply any changes; the new settings are only read after editing and restarting.
- ✗
Edit the ifcfg file, then verify the configuration, then restart the network service.
Why it's wrong here
This is incorrect because verifying before restarting the network service will show the old configuration; changes only take effect after the service restart.
- ✗
Verify the configuration, then edit the ifcfg file, then restart the network service.
Why it's wrong here
This is incorrect because verifying initial settings before making changes is unnecessary; the correct sequence is to edit, then restart, then verify.
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 →
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.