Devices, Linux filesystems, filesystem hierarchy standard — page 4
Objective 104 of LPIC-1 Exam 101-500, worth 25% of the exam. This is page 4 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 4 of 4)
- The whole of /srv is one filesystem. A 4 GiB image at /srv/iso/debian.iso must also be reachable as /srv/pub/debian.iso, must consume no additional disk space, and the second name must keep working even if /srv/iso/debian.iso is later removed. Which command satisfies all three requirements? machine-checked
- /etc/localtime is a symbolic link. Which THREE commands display the path that the link stores as its target? machine-checked
- /etc/localtime may be a symbolic link that points at another symbolic link. Type the readlink command line, including the option, that prints the final canonical absolute path the chain resolves to. machine-checked
- /var/log has filled the root filesystem. Which command lists every regular file at or below /var/log whose contents were last modified more than 30 days ago? machine-checked
- find matches several thousand files and each must be passed to gzip. You want find to pack as many path names as possible into each gzip invocation instead of starting one process per file. Which action does that? machine-checked
- In one command you want the location of the mount binary, of any source directory the system carries for it, and of its manual page. Which command reports all three? machine-checked
- You build a monitoring utility from source and install it by hand, outside the distribution's package manager, as a plain binary with no bundled tree of its own. Under the FHS, which directory should the executable be installed into? machine-checked
- A daemon needs a directory for its PID file and its control socket. The data must be writable very early in boot, and it must not survive a reboot. Which directory does current FHS practice designate for it? machine-checked
- A single find command must report regular files under /home that are larger than 100 MiB and owned by the user carol. Which THREE predicates express those three requirements? machine-checked
- Type the absolute path of the configuration file that names the directories and filesystem types updatedb leaves out of the database that locate searches. machine-checked
- A server has had swap areas added to it over several years. You need to see which of them the running kernel is actually paging to, and at what priority. Which command reports that? machine-checked
- `mkfs.ext3 /dev/sdb1` builds an ext3 filesystem on that partition. Select the TWO commands that build exactly the same filesystem there. machine-checked
- You run `fsck /dev/sdb1` against an unmounted partition and never say what kind of filesystem it holds. What does fsck itself do with that request? machine-checked
- `ls -l /srv/report.csv` shows `lrwxrwxrwx 1 root root 19 ... /srv/report.csv -> /data/q3/report.csv`, and the file at the other end is `-rw-r----- 1 root staff`. A user who is neither root nor a member of staff tries to read /srv/report.csv. What decides whether the read is allowed? machine-checked
- A colleague runs `find /etc -name *.conf` from a working directory that happens to hold two files of its own, ntp.conf and rsyslog.conf. find prints 'paths must precede expression' and does nothing. What went wrong? 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