How to reduce Linux audit log rotation frequency?
A server administrator notices the /var/log/audit/audit.log file on a Linux server is rotating too frequently. The administrator would like to decrease the number of times the log rotates without losing any of the information in the logs. Which of the following should the administrator configure?
Community Votes
62% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The question tests understanding of logrotate parameters; the trap is confusing 'decreasing duration' with 'decreasing frequency', where shorter durations actually cause more frequent rotations.
To decrease the frequency of /var/log/audit/audit.log rotation without data loss, increase the maximum file size threshold in the logrotate configuration. Community consensus identifies increasing the file size as the correct method to delay rotation triggers.
Option B is chosen by some who misread 'decrease frequency' as 'decrease the time interval', not realizing that a shorter interval results in more frequent rotations.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Increasing the maximum size of the log file (Option A) delays the point at which the log rotates. If the file grows slower than the new larger limit, it will rotate less often, satisfying the requirement to decrease frequency without losing data.Why the Other Options Are Wrong
Decreasing the duration (Option B) would trigger rotations more frequently, which is the opposite of the goal. Removing rotation (Option C) risks filling the disk and losing older logs if not managed. Moving logs (Option D) does not change the local rotation frequency or prevent the issue on the source server.Community Comment Notes
Comment [1] correctly notes that Option B is the exact opposite of the request. Comment [3] supports Option A by explaining that increasing the size limit delays rotation until the file reaches that specified size.Exam Strategy
Always read 'decrease frequency' carefully; it means you want fewer events over time, not shorter intervals. When troubleshooting log rotation, consider both size-based and time-based triggers and how changing them affects the total count.
Related Analysis
Practice All SK0-005 Questions
Access 135 questions with complete answers and detailed explanations.
View Full SK0-005 Practice Test →