CompTIA Linux+ (XK0-004) — Question 164
Which of the following is the BEST reason for not storing database files in the /var directory?
Answer options
- A. The /var filesystem is not fast enough for database files.
- B. The number of files in /var is limited by the available inodes.
- C. Files in /var do not have strict file permissions.
- D. If log files fill up /var, it might corrupt the database.
Correct answer: D
Explanation
The best reason for not storing database files in the /var directory is that if log files consume all available space, it could lead to corruption of the database. The other options either misrepresent the characteristics of the /var filesystem or are not the primary concern when it comes to database integrity.