Drag steps to the numbered slots on the right, or tap a step then tap a slot.
XK0-006 Practice Question: Drag and drop the steps to configure a static IP…
Drag and drop the steps to configure a static IP address using the command line in the correct order.
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 network configuration file, configure the static IP address, save the file, restart the network service.
Static IP configuration involves editing the network config file and restarting the service to apply changes.
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 network configuration file, configure the static IP address, save the file, restart the network service.
Why this is correct
This order ensures the configuration is edited and saved before the service restarts, applying the changes correctly.
- ✗
Restart the network service, edit the network configuration file, configure the static IP address, save the file.
Why it's wrong here
Restarting the service before editing the configuration file has no effect, as the new settings are not yet saved.
- ✗
Edit the network configuration file, save the file, configure the static IP address, restart the network service.
Why it's wrong here
Saving the file before configuring the static IP address leaves the configuration incomplete, so the restart won't apply the intended settings.
- ✗
Configure the static IP address, restart the network service, edit the network configuration file, save the file.
Why it's wrong here
Configuring the IP address without editing the file does not persist the change, and restarting first has no effect; the actual file edit comes too late.
Go deeper
Related to this question
About these practice questions
This XK0-006 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This XK0-006 practice question is part of Courseiva's free CompTIA 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 XK0-006 exam.