CV0-004 Operations and Support Practice Question
A cloud administrator needs to ensure that log data is retained for one year to meet compliance requirements. Which action should be taken for the log group in CloudWatch Logs?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set the log group's retention policy to 365 days
CloudWatch Logs allows setting a retention policy on log groups to automatically expire log events after a specified number of days. Setting it to 365 days meets the one-year requirement.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Set the log group's retention policy to 365 days
Why this is correct
This automatically deletes logs older than 365 days, meeting compliance.
- ✗
Create a CloudWatch Events rule to delete logs after one year
Why it's wrong here
CloudWatch Events cannot directly delete log events; retention policy is the proper method.
- ✗
Increase the log group's data durability by enabling encryption
Why it's wrong here
Encryption does not affect retention duration.
- ✗
Export logs to Amazon S3 and delete the log group
Why it's wrong here
Exporting logs to Amazon S3 and deleting the log group removes the log data from CloudWatch Logs entirely, making it impossible to query or search the logs using CloudWatch Logs Insights during the one-year retention period. This action is tempting because S3 provides durable, low-cost long-term storage, and exporting logs there is a valid strategy for archival compliance when the log group is retained for ongoing access.
Go deeper
Related to this question
About these practice questions
One of 977 original CV0-004 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.