PCSE Practice Question: Managing Operations in a Cloud Solution Environment
An organization wants to detect and respond to potential data exfiltration attempts via VPC Flow Logs. They plan to export VPC Flow Logs to BigQuery for analysis. Which TWO actions should they take to enable this? (Choose TWO.)
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
✓
Create a log sink with a filter for compute.googleapis.com/vpc_flows and destination BigQuery.
To export VPC Flow Logs to BigQuery, you need to create a log sink that filters for VPC Flow Logs and exports to BigQuery. The sink must be configured with a destination of BigQuery. Enabling Data Access logs is not required for VPC Flow Logs.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a log sink with a filter for compute.googleapis.com/vpc_flows and destination BigQuery.
Why this is correct
This exports the flow logs to BigQuery.
- ✗
Set up a Cloud Function to copy logs from Cloud Logging to BigQuery.
Why it's wrong here
Log sinks are the recommended method; Cloud Functions would be inefficient.
- ✗
Create a BigQuery view to filter VPC Flow Logs.
Why it's wrong here
A view does not export data; you need a sink.
- ✗
Enable Data Access logs for Compute Engine.
Why it's wrong here
Data Access logs are different from VPC Flow Logs.
- ✓
Enable VPC Flow Logs on the subnet.
Why this is correct
VPC Flow Logs must be enabled to generate log entries.
Go deeper
Related to this question
About these practice questions
One of 960 original PCSE 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 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.