CompTIA Cloud+ Exam CV0-002: Minimizing Disk Alert Issues

Minimizing Disk Alert Issues

Question

A cloud administrator is receiving alerts that the disk on several systems is 90% full.

Upon reviewing the systems, the administrator determines that the log directory is using 50% of the disk.

The company has a 14-day retention policy for all logs.

Which of the following is the BEST solution to implement to minimize future alerts?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.

The BEST solution for the cloud administrator to minimize future alerts would be option A, i.e., Orchestrate a job to rotate the logs and upload to external storage.

Here's why:

The alerts indicate that the disk on several systems is 90% full, and upon reviewing, it is found that the log directory is using 50% of the disk. It means that there is limited storage space left, and the systems will soon run out of space. This situation could lead to a possible system crash, downtime, and data loss.

The company has a 14-day retention policy for all logs, which means that log files must be stored for 14 days before they can be deleted. It also implies that the log files are important and may be required for audit or troubleshooting purposes.

Option B, i.e., deleting any log files in the directory that are larger than 20M, is not a viable solution since it does not address the root cause of the problem, i.e., limited storage space. Moreover, it could lead to the loss of critical log data that may be required later.

Option C, i.e., archiving the existing logs in the directory and uploading them to external storage, is a viable solution since it addresses the limited storage space issue. However, it does not address the need for log rotation, which means that old log files may continue to accumulate and fill up the storage space.

Option D, i.e., adding additional storage space to the log directory for the servers, is a viable solution, but it may not be the best one in this situation. It requires additional hardware and may be time-consuming and expensive. Moreover, it does not address the need for log rotation and external storage.

Option A, i.e., Orchestrate a job to rotate the logs and upload to external storage, is the BEST solution since it addresses both the limited storage space and log rotation needs. A job can be scheduled to rotate the logs regularly, compress them, and upload them to external storage, freeing up space on the local disk. The logs can be stored for the required 14 days and can be easily accessed when needed. This solution is cost-effective, efficient, and ensures that the log data is not lost.