Drag steps to the numbered slots on the right, or tap a step then tap a slot.
LFCS Service Configuration Practice Question
Order the steps to create a new partition on a disk using fdisk.
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
Run 'n' to create a new partition, then specify partition type/number, then specify starting and ending sectors, then run 'w' to write changes.
The correct sequence to create a partition with fdisk is: first use 'n' to create a new partition, then specify the partition type and number (e.g., primary, logical) when prompted, then define the starting and ending sectors, and finally use 'w' to write the changes to the disk. Skipping or reordering steps can lead to errors or unintended configurations.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Run 'n' to create a new partition, then specify partition type/number, then specify starting and ending sectors, then run 'w' to write changes.
Why this is correct
This is the correct order because fdisk requires creating the partition with 'n', then setting its type and number, defining sectors, and finally writing with 'w' to save changes.
- ✗
Run 'n' to create a new partition, then run 'w' to write changes, then specify partition type/number and sectors.
Why it's wrong here
This is incorrect because 'w' writes changes immediately; you must specify all partition details before writing.
- ✗
First specify partition type/number, then run 'n' to create a new partition, then specify sectors, then run 'w'.
Why it's wrong here
This is incorrect because 'n' must come first to start the partition creation process; type/number is prompted after 'n'.
- ✗
Run 'n' to create a new partition, then specify sectors, then specify partition type/number, then run 'w'.
Why it's wrong here
This is incorrect because the partition type/number is requested before sectors in the interactive fdisk process.
Go deeper
Related to this question
About these practice questions
One of 507 original LFCS 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 →
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.