LFCS practice question 5 of 35
Which of the following are syslog facilities? (Choose TWO correct answers.)
Full set: 260 questionsSyslog facilities are identifiers used to categorize log messages by their source or subsystem. The syslog standard defines several facilities, including mail for messages from the mail system and a set of local0 through local7 facilities reserved for local system administrator use. These keywords are used in syslog configuration files (like /etc/rsyslog.conf) to direct messages from different sources to specific log files or destinations. advanced, postmaster, and remote are not standard syslog facility names.
C. advanced is not a recognized syslog facility keyword; it is too generic and not part of the standard.
D. postmaster is a common username or process name for a mail server, but it is not a syslog facility.
E. remote describes the origin of a log message (from a remote host), not a facility type for categorization.
- IETF RFC 5424, "The Syslog Protocol", Section 6.2.1, "FACILITY". This document provides a table of facility values, which includes "mail system" (value 2) and "local use 0" through "local use 7" (values 16-23).
- syslog(3) Linux programmer's manual page. Under the "Values for facility" section, it lists the standard facilities, including LOGMAIL and LOGLOCAL0 through LOGLOCAL7.
- rsyslog.conf(5) manual page. The "SELECTORS" section lists the valid facilities, which include mail and local0, ..., local7.
Keep practicing
Take the free LFCS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other LFCS practice questions
- Question 1Which of the following commands should be added to /etc/bash_profile in order to change t…
- Question 2Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 3Which of the following tasks can be accomplished using the command date? (Choose TWO corr…
- Question 4Which of the following environment variables overrides or extends the list of directories…
- Question 6Which of the following programs uses the hosts.allow file to perform its main task of che…
- Question 7What does the ? symbol within regular expressions represent?
