PCSE Practice Question: Managing Operations in a Cloud Solution Environment
Your organization uses VPC Flow Logs for network forensics. During an incident, you need to analyze traffic to a compromised instance for the last 72 hours. The Flow Logs are stored in Cloud Logging. Which approach allows you to query the logs most efficiently?
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
✓
Use Logs Explorer in Cloud Logging to filter by instance and time range
Cloud Logging's Logs Explorer provides a query interface to filter and analyze logs. BigQuery is better for large-scale analysis, but for ad-hoc querying of recent logs, Logs Explorer is efficient. Note: Logs can be exported to BigQuery for complex analysis, but the question asks for efficient querying now.
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 BigQuery and run SQL queries
Why it's wrong here
Exporting takes time; for immediate analysis, query directly in Logs Explorer.
- ✗
Use the gcloud logging read command with appropriate filters
Why it's wrong here
gcloud logging read is fine, but the question asks for most efficient; Logs Explorer GUI is equally efficient, but the command line is also a valid method. However, the best answer is Logs Explorer for interactive analysis.
- ✓
Use Logs Explorer in Cloud Logging to filter by instance and time range
Why this is correct
Logs Explorer allows real-time querying of log entries.
- ✗
Download logs as CSV from Cloud Storage
Why it's wrong here
Logs are not automatically in Cloud Storage; you'd need a sink, which adds latency.
Visual reference
Go deeper
Related to this question
About these practice questions
Courseiva writes every PCSE question from scratch — 960 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCSE practice question is part of Courseiva's free Google Cloud 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 PCSE exam.