SCA_SLES15 practice question 6 of 15
Which statements about log file rotation are true? (Choose two)
Full set: 69 questionsThe logrotate utility is managed by the main configuration file /etc/logrotate.conf, which sets global defaults for log rotation policies like interval, size, compression, and deletion. Application-specific configurations are placed in /etc/logrotate.d/. These specific configurations can define different policies for certain log files, effectively overriding the global defaults set in /etc/logrotate.conf for those particular logs. The entire process is typically executed daily by a cron job.
C. The /etc/cron.daily/logrotate file is a script that executes the logrotate command; it does not contain the configuration rules itself.
D. Configuration files in /etc/logrotate.d/ define rotation policies; they do not override an executable script like /etc/cron.daily/logrotate.
E. The /usr/sbin/logrotate program is the executable that reads configuration files and performs the rotation; it does not create or edit them.
- SUSE Linux Enterprise Server 15 SP5 Administration Guide, Chapter 18, "Viewing and Managing Log Files", Section 18.4, "Managing Log Files with logrotate".
- logrotate(8) man page, which details how options in /etc/logrotate.conf act as defaults and can be overridden in included configuration files.
Keep practicing
Take the free SCA_SLES15 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCA_SLES15 practice questions
- Question 1Which option for zypper will list the available patches?
- Question 2Which Vim command will save the current file without exiting?
- Question 3Which file should be edited to make sure a file system is mounted each time a system boot…
- Question 4You have just added a new directory to be exported via NFS. what command should you run n…
- Question 5If you have a service named tftp, which command and options would enable tftp to start au…
- Question 7By default, what does the VNC Client and the VNC server daemon use for secure communicati…
