Exam XK0-005 Topic 1 Question 420 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 420
Topic #: 1
A systems engineer is adding a new 1GB XFS filesystem that should be temporarily mounted under /ops/app.
Which of the following is the correct list of commands to achieve this goal?

Suggested Answer: D Vote an answer

The list of commands in option D is the correct way to achieve the goal. The commands are as follows:
fallocate -l 1G /ops/app.img creates a 1GB file named app.img under the /ops directory. mkfs.xfs
/ops/app.img formats the file as an XFS filesystem. mount -o loop /ops/app.img /ops/app mounts the file as a loop device under the /ops/app directory.

by Jennifer at Dec 03, 2026, 05:36 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.

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어