10 free LPI LPIC-1 101-500 practice questions with the correct answer and a full explanation for each, taken from the CertStash pack of 120 questions. Work through them, then open each answer to check your reasoning.
Get all 120 questions (US$39) · Download these 10 as a PDF
Question 1
Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?
Show answer and explanation
Correct answer: C. ext2
When mkfs is executed with only a block device name and no additional parameters, it defaults to creating an ext2 filesystem. This is the traditional default behavior of the mkfs command without any filesystem type specification.
Why the other options are wrong
- A. XFS requires explicit specification with mkfs.xfs
- B. VFAT requires explicit specification with mkfs.vfat
- D. ext3 requires explicit specification with mkfs.ext3
- E. ext4 requires explicit specification with mkfs.ext4
Question 2
Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?
Show answer and explanation

Question 3
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
Show answer and explanation
Correct answer: B. tune2fs -i 200 /dev/sda1
The tune2fs -i option specifies the maximum interval between filesystem checks in days. The -i flag sets the time-based check interval, while -c sets mount-count based checks. The -d, -n, and –days options are not valid tune2fs parameters for this purpose.
Why the other options are wrong
- A. The -d option is not a valid tune2fs parameter
- C. The -c option sets checks based on mount count, not days
- D. The -n option is not a valid tune2fs parameter for check intervals
- E. The –days option is not a valid tune2fs parameter
Question 4
Which is the default percentage of reserved space for the root user on new ext4 filesystems?
Show answer and explanation
Correct answer: E. 5%
The default reserved space percentage for the root user on ext4 filesystems is 5%. This reserved space prevents the filesystem from becoming completely full and ensures the root user can still perform administrative operations when the disk is nearly full.
Why the other options are wrong
- A. 10% is higher than the default ext4 reserved percentage
- B. 3% is lower than the default ext4 reserved percentage
- C. 15% is significantly higher than the default ext4 reserved percentage
- D. 0% would mean no reserved space, which is not the default
Question 5
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
Show answer and explanation
Correct answer: C. systemd automatically generates a mount unit and monitors the mount point without changing it
When a filesystem is mounted manually but not listed in /etc/fstab, systemd automatically generates a transient mount unit for it and monitors the mount point without making changes. This allows systemd to track and manage the mount while preserving the manual mount configuration.
Why the other options are wrong
- A. systemd does track manual mounts even without explicit systemctl mount commands
- B. There is no systemctl mountsync command
- D. systemd does not automatically unmount manually mounted filesystems after a period of time
- E. systemctl unmount is not required; standard umount works fine for manual mounts
Question 6
What does the command mount –bind do?
Show answer and explanation
Correct answer: A. It makes the contents of one directory available in another directory
The mount –bind command creates a bind mount, which makes the contents of one directory available at another location in the filesystem hierarchy. This allows the same directory to be accessible from multiple mount points without duplicating the data.
Why the other options are wrong
- B. mount –bind does not mount all available filesystems
- C. mount –bind does not mount filesystems to the user's home directory
- D. mount –bind does not use an 'userbind' option from /etc/fstab
- E. mount –bind does not require or permanently mount regular files
Question 7
Consider the following output from the command ls -i:
How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?

Show answer and explanation
The answer and explanation for this question are in the free sample PDF.
Question 8
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
Show answer and explanation
Correct answer: A, E
A. chmod g+s sales E. chmod 2775 sales Both chmod g+s and chmod 2775 set the setgid bit on the directory. When setgid is enabled on a directory, new files created within it automatically inherit the directory's group ownership (sales in this case). Option A uses symbolic notation while option E uses octal notation to set the same permission.
Why the other options are wrong
- B. setpol is not a valid Linux command
- C. chgrp -p is not a valid option; the -p flag is not used with chgrp
- D. chown –persistent is not a valid command; this syntax does not exist
Question 9
In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.)
Show answer and explanation
Correct answer: A, D
A. cat /proc/self/mounts D. mount Both cat /proc/self/mounts and mount display currently mounted filesystems. The /proc/self/mounts file contains a list of all mounts for the current process namespace, while the mount command displays all mounted filesystems. Both provide real-time information about active mounts.
Why the other options are wrong
- B. free displays memory usage, not mounted filesystems
- C. lsmounts is not a standard Linux command
- E. cat /proc/filesystems displays supported filesystem types, not currently mounted filesystems
Question 10
Which chown command changes the ownership to dave and the group to staff on a file named data.txt?
Show answer and explanation
Correct answer: E. chown dave:staff data.txt
The chown command uses the syntax chown [owner]:[group] [file] to change both ownership and group. The colon separator is the standard format recognized by chown. Option E correctly demonstrates this with chown dave:staff data.txt, which changes ownership to dave and group to staff.
Why the other options are wrong
- A. Forward slash is not a valid separator in chown syntax.
- B. The -u and -g flags do not exist for chown; chown does not use flag-based user and group specification.
- C. The –user and –group long options do not exist for chown.
- D. The plus symbol is not a valid separator in chown syntax.
That was 10 of 120.
The full LPI LPIC-1 101-500 pack has all 120 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. US$39, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
