You are taking a backup of a print server's CUPS configuration before an upgrade. Which THREE of the following are found under /etc/cups on a standard installation?
LPIC-1 Exam 102-500, objective 108. Essential system services medium
Machine-checked — no person has signed for it. This question was read against the source cited below by an automated pass, which found no contradiction. That is a weaker claim than it sounds: the same kind of process wrote the question, so it can confirm its own mistake.
Treat it as a good draft rather than as settled fact, and read the source below before you rely on it. It is not used in mock exams here — only questions a person has signed for are.
How these questions are written — where each question comes from, what the verification ledger records, and what happens when one is found wrong.
The options
Choose 3.
Correct cupsd.conf
Correct. This is the scheduler's main configuration file, holding directives such as Listen, Browsing, LogLevel and the Location access policies.
Correct printers.conf
Correct. It records each configured destination with its device URI, state and options, and is written by the scheduler when lpadmin or the web interface changes a queue.
Correct ppd/
Correct. The PPD file describing each configured queue is stored here as ppd/queuename.ppd, which is why this directory belongs in a configuration backup.
Not correct error_log
Wrong location. CUPS logs live under /var/log/cups, which holds error_log, access_log and page_log. Logs are not configuration and would not be restored.
Not correct spool/
Wrong location. Job control and data files are spooled under /var/spool/cups, in line with the convention that variable spooled data does not live in /etc.
Not correct lpd.conf
Wrong. There is no such CUPS file. CUPS offers LPD compatibility through the commands lpr, lpq and lprm and an optional lpd listener, but not through a file of this name.
Why
CUPS splits its files by purpose in the usual way: configuration under /etc/cups, spooled jobs under /var/spool/cups and logs under /var/log/cups. Alongside cupsd.conf, printers.conf and the ppd directory you will typically also find classes.conf, client.conf, cups-files.conf and a system-wide lpoptions. Editing printers.conf by hand is discouraged because the running scheduler rewrites it, so use lpadmin and then reload.
Where this comes from
- Cited
- manual page cupsd.conf(5)
Practise this
Reading one question is not practice. The trainer will draw a short set from objective 108 and space the ones you get wrong.
More questions on this objective
- You corrected the running system's clock with `date -s`, but after the next power cycle the machine came back with the old wrong time. Which command copies the corrected system clock into the hardware (RTC) clock? machine-checked
- On a systemd-based distribution, which file determines the local time zone used by the C library when formatting times? machine-checked
- A host runs chrony as its NTP client. Which command shows the list of time sources chrony is currently talking to and how it rates each one? machine-checked
- In /etc/ntp.conf you find the line `server 0.pool.ntp.org iburst`. What does the `iburst` keyword do? machine-checked
- A minimal systemd host synchronises its clock with systemd-timesyncd. Which statement about that service is accurate? machine-checked
- On a systemd host, type the single command that turns on automatic network time synchronisation (do not include a path). machine-checked