CV0-004 Operations and Support Practice Question
A company uses AWS and wants to implement a structured logging format to simplify querying and analysis of application logs. Which three best practices should be followed when implementing structured logging? (Choose THREE.)
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
✓
Include a unique request ID for each transaction
Structured logging typically uses JSON format, includes unique identifiers for tracing, and uses consistent key names for easy querying.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Write logs in plain text to reduce storage costs
Why it's wrong here
Plain text is not structured and reduces queryability.
- ✓
Include a unique request ID for each transaction
Why this is correct
Request IDs allow tracing of individual transactions across services.
- ✓
Use consistent key names across all services
Why this is correct
Consistency enables uniform querying across logs.
- ✓
Use JSON format for log entries
Why this is correct
JSON is a common structured format that supports key-value pairs.
- ✗
Embed binary data in log messages for performance
Why it's wrong here
Binary data is not recommended for structured logs; it degrades readability and analysis.
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.