Linux installation and package management — page 2
Objective 102 of LPIC-1 Exam 101-500, worth 18.33% of the exam. This is page 2 of 4 of its question list; page one carries the full objective summary.
- Share of the exam
- 18.33%
- Questions in a real sitting
- roughly 11 of 60
- Questions in this bank
- 62
- Signed for by a person
- 0
- Machine-checked only
- 62
Partly checked. None of the 62 questions here has been read against the cited source by a person. 62 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
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 62 questions written for this objective cite 6 LPI exam objectives (102.1, 102.2, 102.3, 102.4, 102.5, 102.6) and 22 manual pages (apt-cache(8), apt-file(1), apt-get(8), bootctl(1), cloud-init(1), dpkg(1), dpkg-deb(1), dpkg-reconfigure(8), grub-install(8), grub-mkconfig(8), hier(7), ld.so(8), ldconfig(8), mount(8), qemu-ga(8), rpm(8), sources.list(5), swapon(8), vgcreate(8), yum(8), yum.conf(5), zypper(8)).
They break down as 43 single-answer questions, 8 choose-several questions and 11 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 Linux installation and package management
Questions on this objective (page 2 of 4)
- You cloned a running Linux virtual machine from a template image and booted the copy on the same network alongside the original. Both machines keep their own virtual disks. Which TWO host-specific identifiers should be regenerated on the clone so that the two running systems do not conflict with each other on the network? machine-checked
- Which statement correctly distinguishes a container from a full virtual machine on Linux? machine-checked
- You are laying out the disk for a workstation that boots via UEFI. Which filesystem must be created on the EFI System Partition so that the firmware itself can read the boot loader from it? machine-checked
- A workstation will be reinstalled from scratch every couple of years, with the operating system filesystem reformatted each time, but the users' documents and per-user settings must survive untouched. Which directory most deserves a filesystem of its own? machine-checked
- A server has a GPT-partitioned disk but its firmware boots in legacy BIOS mode. grub-install refuses to embed its core image and warns that it has nowhere to put it. Which partition must the layout include? machine-checked
- Which TWO statements about swap space on a Linux system are correct? machine-checked
- Type the absolute path of the directory that the Filesystem Hierarchy Standard reserves for the static files of the boot loader, including the kernel image and initramfs on a typical distribution. machine-checked
- You have already prepared two physical volumes with pvcreate. Type the LVM command, with no options or arguments, that pools them into a volume group. machine-checked
- The directory /srv/data already holds 40 GB of files on the root filesystem. You add a new disk and mount it on /srv/data. What happens to the 40 GB that were there before? machine-checked
- You are asked to adjust the boot menu on an old system that still runs GRUB Legacy. Which file holds its menu entries? machine-checked
- On a BIOS system you run grub-install /dev/sda. Besides writing boot code to the disk, which directory does the command populate with GRUB's runtime modules and its generated core image? machine-checked
- You need to add a hand-written menu entry that chainloads another operating system, and it must still be present after the next kernel update regenerates the GRUB 2 configuration. Where should the entry be written? machine-checked
- On a UEFI machine you run grub-install without naming a disk device and the command succeeds. What has it done? machine-checked
- Which TWO statements about GRUB 2 are correct? machine-checked
- A library is installed as /usr/lib/x86_64-linux-gnu/libhistory.so.8.1 and its soname is libhistory.so.8. Which name does a dynamically linked program record, so that the dynamic linker can find the library at run time? machine-checked
- You want to confirm that the dynamic linker's cache already knows about libssl.so.3, without running or even having a program that uses it. Which command lists the cache contents? machine-checked
- A colleague asks which files the installed Debian package cron put on the system. Which command answers that? machine-checked
- An unexpected binary /usr/sbin/logrotate is present on a Debian server and you want to know which installed package put it there. Which command reports that? machine-checked
- A build fails because /usr/include/zlib.h is missing, and no installed package provides it. Which command finds the Debian package that ships that file so you can install it? machine-checked
- You removed the package nginx with apt-get remove, but /etc/nginx still contains the old edited configuration and a fresh install picks it up again. Which command discards those configuration files as well? machine-checked
Practise Linux installation and package management
The other objectives in LPIC-1 Exam 101-500
- 101. System architecture — 13.33% of the exam
- 103. GNU and Unix commands — 43.33% of the exam
- 104. Devices, Linux filesystems, filesystem hierarchy standard — 25% of the exam