Devices, Linux filesystems, filesystem hierarchy standard — page 3
Objective 104 of LPIC-1 Exam 101-500, worth 25% of the exam. This is page 3 of 4 of its question list; page one carries the full objective summary.
- Share of the exam
- 25%
- Questions in a real sitting
- roughly 15 of 60
- Questions in this bank
- 76
- Signed for by a person
- 0
- Machine-checked only
- 75
Partly checked. None of the 76 questions here has been read against the cited source by a person. 75 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
1 question has had neither check. It is written from the published exam objectives and cite the clause it comes from, but it is kept out of search results and out of mock exams until someone has looked. It is here to be read and challenged, not to be trusted.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.
What this objective covers
The 76 questions written for this objective cite 6 LPI exam objectives (104.1, 104.2, 104.3, 104.5, 104.6, 104.7) and 28 manual pages (bash(1), chmod(1), chown(1), df(1), e2fsck(8), fdisk(8), find(1), fsck(8), gdisk(8), hier(7), ln(1), ls(1), lsblk(8), mke2fs(8), mkfs.btrfs(8), mount(8), parted(8), path_resolution(7), readlink(1), swapon(8), symlink(7), systemd.mount(5), umount(8), unlink(2), updatedb.conf(5), whereis(1), xfs_fsr(8), xfs_repair(8)).
They break down as 51 single-answer questions, 12 choose-several questions and 13 type-the-answer questions.
Drill this objective
The trainer can run a short practice set drawn from this objective alone, which is what the weight column above is for: revise the heavy objectives first.
Practise Devices, Linux filesystems, filesystem hierarchy standard
Questions on this objective (page 3 of 4)
- A USB stick has an fstab entry with the mount point /media/usb. Any ordinary user should be allowed to mount it, but once mounted only the person who mounted it may unmount it again. Which mount option gives exactly that? machine-checked
- The directory /srv/data lives on its own filesystem and must also appear at /var/www/html/data, where a chrooted web server can reach it. A symbolic link is no use because it points outside the chroot. Which command makes the same directory tree visible at the second location? machine-checked
- An external disk carries a filesystem whose label is `backup`. Which command mounts it on /mnt/backup by that label, without naming any /dev node? machine-checked
- Rather than an /etc/fstab line, you want systemd to manage a mount at /srv/data with its own unit file. What must that unit file be called for systemd to accept it? machine-checked
- A mounted filesystem must be detached from the directory tree at once, even though processes still hold files open on it, with the real cleanup happening as soon as those references are gone. Which command does that? machine-checked
- A filesystem mounted at /srv/upload holds nothing but files uploaded by remote users. No program on it may ever be executed, any setuid bits on it must be ignored, and any device nodes found on it must be ignored. Select the THREE /etc/fstab options that enforce this. machine-checked
- You are surveying an unfamiliar server's storage. Type the command, with no options and no arguments, that lists all block devices as a tree showing each device's size, type and mount point. machine-checked
- The installation image /srv/iso/debian.iso must be inspected without burning it. The directory /mnt/iso already exists. Type the complete command that mounts the image there, requesting the loop device with a mount option. machine-checked
- The file /srv/reports/q3.txt is rw-r----- and owned by alice:staff. Everyone in staff must now be able to edit it, and nothing else about its mode may change. Which command does exactly that? machine-checked
- The directory /srv/incoming is drwxr-xr-x and owned by user bob. Inside it sits report.log, owned by root with mode 644. Bob runs `rm /srv/incoming/report.log` and it succeeds. Why? machine-checked
- A copied web tree under /srv/www has inconsistent modes. Every directory must become traversable and readable by everyone, and every file readable by everyone, but no data file may be made executable. Which single command achieves that? machine-checked
- alice owns notes.txt and wants to hand it over to bob. Her `chown bob notes.txt` fails with 'Operation not permitted'. What is the explanation? machine-checked
- The directory /srv/keys is drwx--x--x and owned by root. It contains deploy.pem with mode 644. User carol has been told the full path of that file. What can carol do? machine-checked
- script.sh must end up as -rwxr-x--- no matter what its current mode is. Select the TWO commands that guarantee that result. machine-checked
- Select the THREE true statements about the file creation mask in a Linux shell. machine-checked
- An application tree unpacked under /srv/app is still owned by the account that extracted it. Type the complete command that makes user deploy and group deploy the owners of /srv/app and of everything beneath it. machine-checked
- /srv/media is a separately mounted filesystem. You want /home/carol/clip.mp4 to refer to the existing file /srv/media/clip.mp4, and /home is on the root filesystem. Which command produces a working second name? machine-checked
- The paths /var/www/index.html and /srv/site/index.html sit on the same filesystem. Which command's output settles whether they are two names for one inode rather than two independent copies? machine-checked
- Working in /home/carol, you run `ln -s ../shared/data.csv /srv/app/data.csv`. Which file will /srv/app/data.csv resolve to when a program opens it? machine-checked
- /etc/localtime is already a symbolic link to a zoneinfo file, and `ln -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime` fails because the destination exists. Which command replaces the link in one step? machine-checked
Practise Devices, Linux filesystems, filesystem hierarchy standard
The other objectives in LPIC-1 Exam 101-500
- 101. System architecture — 13.33% of the exam
- 102. Linux installation and package management — 18.33% of the exam
- 103. GNU and Unix commands — 43.33% of the exam