Courseiva
Storage ManagementeasyMultiple SelectObjective-mapped

LFCS Storage Management Practice Question

Which two commands can be used to create an ext4 filesystem on a Linux block device? (Choose two.)

⚠ Common exam trap

It's easy for candidates to confuse `mke2fs -j` (which creates ext3) with a command that creates ext4, or think `tune2fs` can create a filesystem, when it only modifies existing ones.

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

mke2fs -t ext4 /dev/sdb1

Both `mke2fs -t ext4` and `mkfs.ext4` are valid commands to create an ext4 filesystem. `mke2fs` is the underlying tool for creating ext2/ext3/ext4 filesystems, and the `-t ext4` flag explicitly sets the filesystem type to ext4. `mkfs.ext4` is a wrapper script that calls `mke2fs` with the appropriate options for ext4, making it a direct and commonly used alternative.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • fsck.ext4 /dev/sdb1

    Why it's wrong here

    Checks a filesystem, does not create.

  • mke2fs -j /dev/sdb1

    Why it's wrong here

    Creates ext3, not ext4.

  • mke2fs -t ext4 /dev/sdb1

    Why this is correct

    Creates ext4 using the -t ext4 option.

  • tune2fs -O extents /dev/sdb1

    Why it's wrong here

    Modifies an existing filesystem, does not create one.

  • mkfs.ext4 /dev/sdb1

    Why this is correct

    Creates an ext4 filesystem directly.

About these practice questions

This LFCS question is part of Courseiva's 507-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 →

How Courseiva writes practice questions · Editorial policy

JA

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.