nerdexam
ExamsCV0-003Questions#204
CompTIA

CV0-003 · Question #204

CV0-003 Question #204: Real Exam Question with Answer & Explanation

The correct answer is A: Orchestrate a job to rotate the logs and upload to external storage.. Orchestrating an automated log rotation job that uploads rotated logs to external storage enforces the 14-day retention policy on an ongoing basis and prevents recurring disk space alerts.

Operations

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?

Options

  • AOrchestrate a job to rotate the logs and upload to external storage.
  • BDelete any log files in the directory that are larger than 20MB.
  • CArchive the existing logs in the directory and upload to external storage.
  • DAdd additional storage space to the log directory for the servers.

Explanation

Orchestrating an automated log rotation job that uploads rotated logs to external storage enforces the 14-day retention policy on an ongoing basis and prevents recurring disk space alerts.

Common mistakes.

  • B. Deleting files larger than 20MB is an arbitrary size-based rule that does not align with the 14-day retention policy and risks removing important recent logs that happen to be large.
  • C. Archiving existing logs is a one-time remediation that does not establish an automated ongoing process, so disk usage will accumulate again until the next manual action.
  • D. Adding storage capacity only delays the problem by expanding available space without addressing the root cause of logs accumulating beyond the defined retention period.

Concept tested. Automated log rotation and retention policy enforcement

Reference. https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html

Topics

#log management#log rotation#storage management#retention policy

Community Discussion

No community discussion yet for this question.

Full CV0-003 Practice