Courseiva
easyMultiple Choice

PDE Practice Question: Stream real-time user click events from a web…

A company needs to stream real-time user click events from a web application to BigQuery for analysis. Which Google Cloud architecture is most suitable?

⚠ Common exam trap

Test-takers frequently choose Cloud Functions (Option D) thinking it is sufficient for real-time ingestion, but they overlook its execution timeout and lack of built-in streaming semantics, which makes it unsuitable for sustained high-throughput event pipelines.

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

✓

App Engine -> Pub/Sub -> Dataflow -> BigQuery

It provides a fully managed, scalable, and decoupled architecture for ingesting real-time click events. Pub/Sub acts as a durable, asynchronous message buffer that can handle high-throughput streams, Dataflow (Apache Beam) processes the events in near real-time with exactly-once semantics, and BigQuery serves as the analytics warehouse. This pattern is the recommended Google Cloud approach for streaming analytics, as it decouples producers from consumers and supports auto-scaling.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    App Engine -> Pub/Sub -> Dataflow -> BigQuery

    Why this is correct

    Pub/Sub decouples ingestion from processing, absorbing bursty click streams without loss, while Dataflow provides windowed, exactly-once streaming transforms into BigQuery. This satisfies the real-time streaming requirement, unlike batch-only pipelines. App Engine hosts the web tier that publishes events, completing an end-to-end managed architecture.

  • ✗

    Cloud Scheduler -> BigQuery

    Why it's wrong here

    Cloud Scheduler only triggers jobs on a cron timetable; it cannot ingest individual click events, so no real-time streaming occurs. It tempts for orchestrating recurring batch queries or scheduled BigQuery loads, which fits periodic reporting rather than continuous event capture.

  • ✗

    Compute Engine -> Cloud Storage -> BigQuery

    Why it's wrong here

    Cloud Storage is object storage with no native streaming ingestion; writing click events there then loading to BigQuery adds batch latency, so real-time streaming fails. It tempts when staging files for scheduled batch loads, which suits periodic analytics rather than continuous event streams.

  • ✗

    Cloud Functions -> BigQuery

    Why it's wrong here

    Cloud Functions runs per-invocation and cannot maintain the persistent, high-throughput pipeline needed for continuous click streams into BigQuery. It tempts for lightweight event-driven tasks or occasional inserts, which suits sporadic triggers rather than sustained real-time streaming ingestion.

About these practice questions

One of 747 original PDE 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PDE 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 PDE exam.