CompTIA Linux+ Powered by LPI (LX0-103) — Question 32

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

Answer options

Correct answer: A, B

Explanation

The commands in options A and B correctly create an ext3 filesystem on /dev/sdb1. Option A uses /sbin/mke2fs with the -j flag for journaling, while option B specifies the type as ext3 using /sbin/mkfs. Options C and D are incorrect; C uses an invalid flag and D contains a typo in the command name.