Google PCA Practice Question: Managing and Provisioning a Solution Infrastructure
An organization wants to export their Cloud Logging logs to a centralized BigQuery dataset for long-term analysis. They also need to exclude logs from a specific source (e.g., a test project) to reduce costs. How should they set this up?
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 to BigQuery and add a log exclusion filter that excludes the test project's logs
A log sink exports logs to BigQuery. To exclude logs from a test project, create a log exclusion filter that matches the test project's logs and apply it to the sink or the project's logs bucket.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Disable logging in the test project
Why it's wrong here
Disabling logging would prevent any logging, not just export.
- ✓
Create a log sink to BigQuery and add a log exclusion filter that excludes the test project's logs
Why this is correct
Exclusion filters can be applied to the sink or the log bucket to drop certain logs.
- ✗
Create two separate sinks: one for production logs to BigQuery and another for test logs to Cloud Storage
Why it's wrong here
This does not exclude test logs; it sends them to a different destination.
- ✗
Create a log sink to BigQuery and use IAM to restrict access to the test project's logs
Why it's wrong here
IAM does not prevent logs from being exported; it only controls access.
Go deeper
Related to this question
Learn chapter
Introduction to Google Cloud Platform
Key term
Cloud logging
Cloud logging is the practice of collecting, storing, and analyzing log data generated by cloud-based resources and applications to monitor performance, troubleshoot issues, and maintain security.
Key term
BigQuery
BigQuery is a fully managed, serverless data warehouse on Google Cloud that lets you run fast SQL queries on massive datasets without managing any infrastructure.
About these practice questions
One of 955 original PCA 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 PCA 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 PCA exam.