SCA_SLES15 practice question 11 of 15

Which of the following configuration files have a format that is compatible with the system logging facility in SUSE Linux Enterprise? (Choose two)

Full set: 69 questions
Answer options
A: /etc/syslog.conf Correct answer
B: /etc/syslog-ng
C: /var/log/syslog-ng.conf
D: /etc/rsyslog.conf Correct answer
E: /ar/log/kernel-log
Correct Answer:
A. /etc/syslog.conf; D. /etc/rsyslog.conf
Explanation

SUSE Linux Enterprise Server 15 uses rsyslog as its default system logging facility. The primary configuration file for rsyslog is /etc/rsyslog.conf. For backward compatibility, rsyslog can also process the older, simpler format of /etc/syslog.conf, which was used by the traditional syslogd. Therefore, both file formats are compatible with the SLES 15 logging system.

Why Incorrect

B. /etc/syslog-ng is a directory for the syslog-ng configuration, not a configuration file itself.
C. /var/log/syslog-ng.conf is an incorrect path; configuration files are in /etc, while /var/log is for log files.
E. /var/log/kernel-log is a log file where kernel messages might be stored, not a configuration file.

References

- SUSE Linux Enterprise Server 15 SP4 Administration Guide, Chapter 21, Section 21.2, "System logging with rsyslog". It states, "The main configuration file of rsyslog is /etc/rsyslog.conf."

- rsyslog.conf(5) man page. It details the configuration format for /etc/rsyslog.conf and notes its compatibility with the "obsolete" syslog.conf format.

Scroll to Top