nerdexam
CompTIA

CV0-003 · 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 issue

The correct answer is A. Automate log deletion for logs older than 30 days. This job should run every day to clean up.. The company must retain logs for at least 30 days; automating daily deletion of logs older than 30 days resolves storage capacity while satisfying the retention requirement.

Operations

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

(48 responses)
  • A
    75% (36)
  • B
    4% (2)
  • C
    15% (7)
  • D
    6% (3)

Why each option

The company must retain logs for at least 30 days; automating daily deletion of logs older than 30 days resolves storage capacity while satisfying the retention requirement.

AAutomate log deletion for logs older than 30 days. This job should run every day to clean up.Correct

Automating deletion of logs older than 30 days directly addresses the root cause of storage exhaustion by ensuring logs are pruned daily once the minimum retention period is satisfied. This approach is policy-compliant - logs are retained for the required 30 days - and eliminates manual intervention, preventing the issue from recurring. Running the cleanup job daily ensures consistent, predictable storage usage over time.

BAutomate archiving of the logs older than 30 days, and create a scheduled job to clean up daily logs older

Archiving logs older than 30 days moves data to a secondary store but does not free primary storage unless the originals are also deleted, so capacity alerts would continue.

CAutomate migration of the log archiving storage to offline backup, and create a job to check and delete

Migrating archiving storage to offline backup introduces unnecessary complexity and does not guarantee timely removal of logs from primary storage where the capacity issue exists.

DAutomate the clearing of the logs older than 30 days, and add more capacity to the log file storage.

Adding more capacity treats the symptom rather than the cause; without automated cleanup, storage will eventually fill again regardless of how much capacity is provisioned.

Concept tested: Automated log retention and deletion policy management

Source: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-retention-configure

Topics

#log management#storage capacity#automation#retention policy

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice