Essential system services — page 2
Objective 108 of LPIC-1 Exam 102-500, worth 18.33% of the exam. This is page 2 of 3 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
- 60
- Signed for by a person
- 0
- Machine-checked only
- 60
Partly checked. None of the 60 questions here has been read against the cited source by a person. 60 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 60 questions written for this objective cite 4 LPI exam objectives (108.1, 108.2, 108.3, 108.4) and 26 manual pages (adjtime(5), aliases(5), cancel(1), chrony.conf(5), cupsd.conf(5), date(1), hier(7), hwclock(8), journalctl(1), journald.conf(5), local(8), logrotate(8), lp(1), lpadmin(8), lpmove(8), lpstat(1), mailx(1), ntpdate(8), ntpq(8), postfix(1), rsyslog.conf(5), sendmail(1), services(5), systemd-cat(1), timedatectl(1), tzfile(5)).
They break down as 41 single-answer questions, 10 type-the-answer questions and 9 choose-several 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 Essential system services
Questions on this objective (page 2 of 3)
- A printer must be taken out of service for maintenance. You want the queue to refuse any new submissions, so users are told immediately rather than having work pile up. Which command does that? machine-checked
- Which URL reaches the CUPS administration web interface on the local machine, and which directory holds the CUPS configuration files? machine-checked
- A monitoring script must stamp every record it writes with the current time expressed as a plain integer count of seconds since the Unix epoch. Which command prints exactly that value and nothing else? machine-checked
- A systemd host was installed with the wrong region and reports timestamps in UTC. Every user on it should see local time for Europe/Lisbon from now on. Which command makes that the system-wide setting? machine-checked
- An isolated machine has no network time source. Its battery-backed real-time clock is known to be right, but a script has left the running system clock hours adrift. Which command copies the hardware clock's time into the running system clock? machine-checked
- A workstation dual-boots with an operating system that keeps the real-time clock in local time, so Linux must not assume the RTC holds UTC. Which file records whether the hardware clock is interpreted as UTC or as local time when hwclock is invoked without --utc or --localtime? machine-checked
- A host that runs no time daemon has come up several minutes fast. Before starting the applications you want one command that contacts an NTP server, sets the system clock from the reply and then exits. Which command is the traditional tool for that? machine-checked
- ntpd has been running for an hour on a server. You want a table of the configured servers with their stratum, poll interval and current offset, in which the peer the daemon has actually selected is marked. Which command produces it? machine-checked
- A client's /etc/chrony.conf contains the line `pool 2.pool.ntp.org iburst maxsources 4`. Which TWO statements about that line are correct? (Choose two.) machine-checked
- Type the absolute path of the directory holding the system's compiled time-zone files — the tree that /etc/localtime normally points into. machine-checked
- A line in /etc/rsyslog.conf reads `*.info;mail.none;authpriv.none;cron.none /var/log/messages`. What does the `mail.none` component do? machine-checked
- In an rsyslog rule the action is written as `-/var/log/debug` rather than `/var/log/debug`. What is the effect of the leading hyphen? machine-checked
- An incident happened between 09:00 and 10:00 this morning and you want the journal entries from exactly that window, with nothing from before or after. Which command restricts the output that way? machine-checked
- /var/log/journal on a busy server has grown to several gigabytes. You want to reclaim space now by discarding archived journal data older than 30 days, without stopping journald. Which command does that? machine-checked
- A server no longer boots. You have started a rescue system from removable media and mounted the broken machine's root filesystem at /mnt. Which command reads that machine's persistent journal? machine-checked
- Persistent journalling is enabled and you must guarantee that the journal never occupies more than 200 MB under /var/log/journal. Which setting in /etc/systemd/journald.conf enforces that ceiling? machine-checked
- A nightly maintenance script prints progress on standard output and problems on standard error. Both streams should end up in the systemd journal under an identifier you can filter on later. Which invocation achieves that? machine-checked
- Type the journalctl invocation that shows only kernel messages — the journal's equivalent of dmesg (do not include a path). machine-checked
- An in-house daemon holds its log file open and offers no way of being told to reopen it. After each rotation it keeps writing into the renamed file, so the new log stays empty. Which logrotate directive resolves this? machine-checked
- Which THREE statements about logrotate directives and how logrotate is run are correct? (Choose three.) machine-checked
Practise Essential system services
The other objectives in LPIC-1 Exam 102-500
- 105. Shells and shell scripting — 15% of the exam
- 106. User interfaces and desktops — 6.67% of the exam
- 107. Administrative tasks — 20% of the exam
- 109. Networking fundamentals — 23.33% of the exam
- 110. Security — 16.67% of the exam