CV0-004 Operations and Support Practice Question
A company uses Azure Log Analytics to centralize logs from multiple subscriptions. The security team requires that logs be retained for seven years to meet compliance regulations. What should the administrator configure to meet this requirement?
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 retention policy in the Log Analytics workspace to 2555 days
Log Analytics workspaces allow setting retention policies up to 730 days (2 years) by default, but for longer retention, Azure Data Explorer or archive to Azure Storage with lifecycle management can be used. However, the question expects the correct answer as setting retention policy to 2555 days (7 years) is possible if workspace is configured for longer retention (up to 7 years with additional cost).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Export logs to Azure Blob Storage and set a lifecycle management policy
Why it's wrong here
This would be an alternative, but the simplest direct method is setting retention in Log Analytics.
- ✓
Set the retention policy in the Log Analytics workspace to 2555 days
Why this is correct
Log Analytics supports retention up to 7 years (2555 days) when configured.
- ✗
Enable Azure Sentinel
Why it's wrong here
Sentinel is a SIEM, not a retention configuration.
- ✗
Create a log-based alert to notify when logs are about to expire
Why it's wrong here
Alerts do not change retention.
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.