CV0-002 · Question #421
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…
The correct answer is A. Automate log deletion for logs older than 30 days. This job should run every day to clean up. To address storage capacity issues while meeting a minimum 30-day log retention, the best option is to automate the deletion of logs older than 30 days with a daily cleanup job.
Question
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?
Options
- AAutomate log deletion for logs older than 30 days. This job should run every day to clean up.
- BAutomate archiving of the logs older than 30 days, and create a scheduled job to clean up daily logs older
- CAutomate migration of the log archiving storage to offline backup, and create a job to check and delete
- DAutomate the clearing of the logs older than 30 days, and add more capacity to the log file storage.
How the community answered
(23 responses)- A78% (18)
- B4% (1)
- C13% (3)
- D4% (1)
Why each option
To address storage capacity issues while meeting a minimum 30-day log retention, the best option is to automate the deletion of logs older than 30 days with a daily cleanup job.
Automating the deletion of logs older than the required 30-day minimum directly resolves the storage capacity issue by freeing up space and prevents recurrence through scheduled daily cleanup, while still meeting the retention requirement.
While archiving is a valid strategy for long-term retention, the question specifies only a minimum 30-day saving requirement; archiving adds complexity and cost if simple deletion suffices to meet capacity and retention needs.
Migrating to offline backup is a form of archiving, similar to option B, and does not directly address resolving primary storage capacity by deleting logs no longer required to be actively saved.
Adding more capacity is a reactive, temporary fix that does not prevent future capacity issues from uncontrolled log growth if old logs are not systematically purged.
Concept tested: Log retention and storage management automation
Source: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-retention-overview
Topics
Community Discussion
No community discussion yet for this question.