CompTIA Cloud+ (CV0-002) — Question 156
A company requires all system logs to be saved for a minimum 30 days. However, many employees are reporting storage near capacity alerts. A cloud administrator is trying to fix and prevent this issue from happening again.
Which of the following is the BEST option?
Answer options
- A. Automate log deletion for logs older than 30 days. This job should run every day to clean up.
- B. Automate archiving of the logs older than 30 days, and create a scheduled job to clean up daily logs older than 30 days
- C. Automate migration of the log archiving storage to offline backup, and create a job to check and delete logs every 30 days.
- D. Automate the clearing of the logs older than 30 days, and add more capacity to the log file storage.
Correct answer: A
Explanation
Option A is the best choice because it directly addresses the requirement to delete logs older than 30 days, helping to manage storage effectively. Options B and C involve archiving, which may not solve the immediate storage problem. Option D suggests increasing storage capacity, but without addressing log deletion, it does not resolve the core issue.