Exam XK0-006 Topic 3 Question 20 Discussion

Actual exam question for CompTIA's XK0-006 exam
Question #: 20
Topic #: 3
SIMULATION 1
A new drive was recently added to a Linux system. Using the environment and tokens provided, complete the following tasks:
- Create an appropriate device label.
- Format and create an ext4 file system on the new partition.
The current working directory is /.
INSTRUCTIONS
Use the drop-down menus to select the proper objects to complete these tasks.
Some commands are partially complete.
Not all objects will be used, and some may be used more than once.
If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

Suggested Answer:


Explanation:
mklabel gpt initializes the new disk /dev/sdc with a GPT partition table.
mkpart primary ext4 1 10G creates a primary partition using the ext4 type between 1MB and
10GB on /dev/sdc.
mkfs.ext4 /dev/sdc1 formats the newly created partition /dev/sdc1 with the ext4 filesystem, completing the setup.

by Aries at Jul 07, 2026, 05:08 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10