101-500 Practice Exam — 101-500: LPIC-1 Exam 101

1. The question bank is cloud-based and updates automatically, with no need for re-acquisition.

2. Available in Chinese and English. It supports online practice, mock exams and PDF downloads.

3. You can practice questions via mini-program or desktop web page. The service is valid for one year.

4. For inquiries, please contact customer service via WeChat, WhatsApp or Line.

Sample questions

101-500 · Q1
Topic 1 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?
  • A.
    XFS
  • B.
    VFAT
  • C.
    ext2
  • D.
    ext3
  • E.
    ext4

Answer: C

Option Analysis: A. XFS is incorrect because mkfs defaults to ext2, not XFS, when run with no additional filesystem type parameters. B. VFAT is incorrect because mkFS does not default to VFAT when no explicit filesystem type is specified. C. ext2 is correct because traditional default behavior of the standard mkfs command is to create an ext2 filesystem if no filesystem type is specified explicitly. D. ext3 is incorrect because mkfs does not default to ext3 when run without additional parameters, which requires explicit selection. E. ext4 is incorrect because ext4 must be explicitly specified when creating a filesystem with mkfs, it is not the default behavior. Key Concept: The default filesystem type of the generic mkfs command when no explicit type is specified is the legacy ext2 filesystem in standard Linux distributions for LPI 101-500 exam objectives. References: mkfs(8) Linux Manual Page, https://man7.org/linux/man-pages/man8/mkfs.8.html LPI 101 Exam Objectives, https://www.lpi.org/sites/default/files/101-500-objectives.pdf
101-500 · Q2
Topic 1 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?
  • A.
    0750
  • B.
    0027
  • C.
    0036
  • D.
    7640
  • E.
    0029

Answer: B

Option Analysis: A. Option A is incorrect because a umask of 0750 would strip almost all default permissions, resulting in directories with 0027 permissions that do not meet the requirement. B. Option B is correct because starting from the default directory permission of 0777, subtracting the umask 0027 gives 750, which matches the required permissions (rwx for owner, r-x for group, --- for others). C. Option C is incorrect because a umask of 0036 results in directory permissions of 741, which does not grant the owner execute permission needed to list directories and does not match the requirement. D. Option D is incorrect because umask values are 3 or 4 digits for the setuid/setgid/sticky bit lead, 4 total digits maximum, and 7640 is an invalid 4-digit umask that would strip all permissions from the owner which does not meet the requirement. E. Option E is incorrect because a umask of 0029 results in directory permissions of 746, which gives other users write access and removes group execute permission, which does not meet the requirement. Key Concept: Umask is a Linux permission setting that subtracts permissions from the default permission set (0777 for directories, 0666 for files) to define the maximum permissions assigned to newly created files and directories. References: Linux Manual Page: Umask, https://man7.org/linux/man-pages/man2/umask.2.html Linux Documentation Project: File Permissions, https://tldp.org/LDP/intro-linux/html/sect_03_04.html
101-500 · Q3
Topic 1 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?
  • A.
    tune2fs -d 200 /dev/sda1
  • B.
    tune2fs -i 200 /dev/sda1
  • C.
    tune2fs -c 200 /dev/sda1
  • D.
    tune2fs -n 200 /dev/sda1
  • E.
    tune2fs --days 200 /dev/sda1

Answer: B

Option Analysis: A. Option A is incorrect because the -d flag in tune2fs is used to set reserved block percentage, not the interval between filesystem checks by days. B. Option B is correct because the -i flag in tune2fs sets the maximum time interval (in days) between automatic full filesystem checks, matching the question requirement. C. Option C is incorrect because the -c flag in tune2fs sets the maximum number of filesystem mounts between full checks, not the number of days. D. Option D is incorrect because the -n flag in tune2fs is used to adjust the reserved blocks for the superuser, not the check interval by days. E. Option E is incorrect because --days is not a valid tune2fs option for setting the maximum interval between full filesystem checks. Key Concept: The tune2fs utility adjusts configurable ext2/ext3/ext4 filesystem parameters, where -i sets the time-based interval (in days) between mandatory boot-time filesystem checks, and -c sets the mount count-based interval. References: tune2fs Man Page, https://man7.org/linux/man-pages/man8/tune2fs.8.html Linux Kernel Documentation Ext Filesystem, https://www.kernel.org/doc/html/latest/filesystems/ext4/index.html
101-500 · Q4
Topic 1 Question #4 Which is the default percentage of reserved space for the root user on new ext4 filesystems?
  • A.
    10%
  • B.
    3%
  • C.
    15%
  • D.
    0%
  • E.
    5%

Answer: E

Option Analysis: A. 10% is not the default reserved space percentage for the root user on new ext4 filesystems, so this option is incorrect. B. 3% is the default reserved space for large ext4 filesystems in some modern implementations, not the standard default for new ext4 filesystems, so this option is incorrect. C. 15% was the historical default for older ext filesystems, not the default for ext4, so this option is incorrect. D. 0% reserved space is only a custom configuration, not the default for new ext4 filesystems, so this option is incorrect. E. 5% is the default percentage of filesystem space reserved for the root user on newly created ext4 filesystems per the standard mke2fs configuration, so this option is correct. Key Concept: The ext2/ext3/ext4 filesystem family reserves a default percentage of total space for the root user to prevent system outages from user processes filling the entire storage volume. References: mke2fs(8) Linux Manual Page, https://man7.org/linux/man-pages/man8/mke2fs.8.html The Linux Kernel Documentation: Ext4 Filesystem, https://www.kernel.org/doc/html/latest/filesystems/ext4/index.html
101-500 · Q5
Topic 1 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?
  • A.
    systemd ignores any manual mounts which are not done using the systemctl mount command
  • B.
    The command systemctl mountsync can be used to create a mount unit based on the existing mount
  • C.
    systemd automatically generates a mount unit and monitors the mount point without changing it
  • D.
    Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
  • E.
    systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point

Answer: C

Option Analysis: A. Option A is incorrect because systemd does not ignore manual mounts not done with systemctl mount, it detects them automatically. B. Option B is incorrect because there is no systemctl command named mountsync to create a mount unit from an existing mount. C. Option C is correct because when an unlisted file system is manually mounted, systemd automatically generates a transient mount unit to monitor the mount point without modifying existing configuration. D. Option D is incorrect because systemd will not automatically unmount a manually mounted file system if no mount unit exists. E. Option E is incorrect because you can still unmount manually mounted file systems with the standard umount command, systemctl unmount is not required. Key Concept: systemd automatically tracks all mounted file systems, including manually mounted ones not listed in /etc/fstab, by generating transient transient mount units for monitoring. References: systemd mount unit documentation, Linux Administrator Handbook

FAQ

How many practice questions are available for 101-500?

This question bank includes 120 101-500 practice questions covering single and multiple choice, each with answers and explanations.

Are 101-500 practice questions available in Chinese and English?

Yes, 101-500 practice questions are provided in both Chinese and English.

Can I try 101-500 practice questions for free?

Yes. Free sample questions are available on this page, and the full question bank is available after signing up on Zhangxuetu.