System logging
Lesson 2 of 4 in objective 108. Essential system services, part of LPIC-1 Exam 102-500.
- Objective
- 108. Essential system services
- Share of the exam
- 18.33% (the whole objective)
- Questions in this lesson
- 8
- Signed for by a person
- 0
Partly checked. None of the 8 questions here has been read against the cited source by a person. 8 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.
Questions in this lesson
- An rsyslog rule reads `mail.warning /var/log/mail-problems`. Which messages from the mail facility does this rule write to that file? machine-checked
- Which of the following are valid standard syslog facility names usable on the left-hand side of an rsyslog selector? (Choose three.) machine-checked
- A backup shell script must write its own status line into the system log through the syslog service. Type the name of the standard command-line utility it should call (command name only, no options). machine-checked
- Which statement correctly describes how logrotate is configured on a typical distribution? machine-checked
- You want to watch new log entries for the sshd service as they arrive, on a systemd host. Which command does exactly that? machine-checked
- A server crashed and has since rebooted. You want the journal entries of severity error and above from the boot before the current one. Which command retrieves them? machine-checked
- On a host where journalctl shows nothing from before the last reboot, which change makes the journal persist across reboots? machine-checked
- On a distribution that runs both systemd-journald and rsyslog, which two statements are correct? (Choose two.) machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
The rest of objective 108
- Keeping system time correct
- System logging — you are here
- Mail transfer agent basics
- Printers and printing