Courseiva
Manage and provision cloud infrastructurehardMultiple ChoiceObjective-mapped

Google PCA Manage and provision cloud infrastructure Practice Question

An organization has multiple projects in Google Cloud and wants to centralize logging and monitoring for all projects. They need to aggregate logs from all projects into a single project for analysis. Which approach should they use?

⚠ Common exam trap

Candidates often confuse the Stackdriver agent (which collects logs from VMs) with the logs sink feature (which routes logs from projects), leading them to choose Option C instead of the correct centralized export method.

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 logs sink in each project that exports logs to a BigQuery dataset in the central project.

Google Cloud's logs sink feature allows you to route logs from multiple source projects to a centralized BigQuery dataset in a single destination project. This approach aggregates logs efficiently without requiring agents or manual import steps, and it supports real-time log export for analysis.

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 from each project to a Cloud Storage bucket and then import them into BigQuery.

    Why it's wrong here

    Not optimal; sinks directly to BigQuery is better.

  • Enable Cloud Audit Logs for all projects and view them from the central project.

    Why it's wrong here

    Audit logs are per project.

  • Install the Stackdriver agent on all VMs and point them to the central project.

    Why it's wrong here

    Agents only collect VM logs, not all project logs.

  • Create a logs sink in each project that exports logs to a BigQuery dataset in the central project.

    Why this is correct

    Logs sinks can route any log entries to BigQuery.

About these practice questions

This PCA question is part of Courseiva's 955-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.