CV0-004 Operations and Support Practice Question
A company uses GCP and wants to ensure that log entries from Compute Engine instances are automatically exported to BigQuery for analysis. The logs must include structured JSON data. Which GCP service should be configured to route 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
✓
Cloud Logging using sinks
Cloud Logging can route logs to BigQuery using sinks. It accepts structured logs in JSON format.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Cloud Audit Logs
Why it's wrong here
Cloud Audit Logs records administrative and data access activity; it is a log type, not a routing mechanism, so it cannot export entries to BigQuery. Audit logs would be the answer if the requirement were capturing who did what, rather than routing logs.
- ✗
Cloud Functions
Why it's wrong here
Cloud Functions executes event-driven code and cannot define log sinks or route entries to BigQuery. It would be the choice for reacting to a log event with custom processing, not for configuring the export destination itself.
- ✗
Cloud Monitoring
Why it's wrong here
Cloud Monitoring collects metrics and uptime checks, not log entries, so it cannot route Compute Engine logs to BigQuery. It is tempting because it provides dashboards and alerting across GCP resources, and would be the right choice for tracking CPU, memory or availability thresholds rather than exporting structured JSON log data.
- ✓
Cloud Logging using sinks
Why this is correct
Sinks define inclusion filters and a destination, letting Cloud Logging route matching entries to a BigQuery dataset. This satisfies the requirement to automatically export Compute Engine logs while preserving their structured JSON payloads for analysis.
Go deeper
Related to this question
About these practice questions
One of 834 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.