Question 342 of 499

Quick Answer

The answer is Cloud Dataflow, the managed Apache Beam runner, because it is the only Google Cloud streaming engine that natively provides exactly-once processing semantics, sub-second latency, and automatic autoscaling to handle throughput spikes from 10,000 to 50,000 events per second. Dataflow’s unified batch and streaming model allows you to enrich clickstream events with user profile data from Cloud Bigtable using side inputs or asynchronous lookups, then write aggregated metrics to BigQuery with exactly-once guarantees via the Beam BigQuery I/O connector. On the Google Professional Data Engineer exam, this scenario tests your understanding that Dataflow is the core processing engine for real-time pipelines requiring low latency and exactly-once semantics, while Pub/Sub is only the ingestion layer and Dataproc lacks native streaming exactly-once support. A common trap is choosing Pub/Sub for processing, but remember: Pub/Sub delivers, Dataflow processes. Memory tip: “Dataflow delivers exactly-once, autoscaling, and low latency—the triple threat for real-time pipelines.”

PDE Practice Question: Building and operationalizing data processing systems

This PDE practice question tests your understanding of building and operationalizing data processing systems. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is building a real-time streaming pipeline to ingest clickstream events from web servers, enrich them with user profile data from Cloud Bigtable, and aggregate metrics into BigQuery. The expected throughput is 10,000 events per second with occasional spikes up to 50,000. The data must be processed with low latency (seconds) and exactly-once semantics. Which Google Cloud service should be the core processing engine?

Question 1mediummultiple choice
Full question →

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

Cloud Dataflow (Apache Beam runner)

Cloud Dataflow, as a managed Apache Beam runner, is the correct choice because it provides exactly-once processing semantics, low-latency streaming (sub-second to seconds), and autoscaling to handle throughput spikes from 10,000 to 50,000 events per second. Its unified batch and streaming model allows you to enrich clickstream events with user profile data from Cloud Bigtable via side inputs or asynchronous lookups, and write aggregated metrics to BigQuery with exactly-once guarantees using the Beam BigQuery I/O connector.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Cloud Dataflow (Apache Beam runner)

    Why this is correct

    Dataflow provides auto-scaling, exactly-once semantics, low latency, and native integration with BigQuery and Bigtable.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Cloud Pub/Sub with Cloud Functions

    Why it's wrong here

    Pub/Sub and Cloud Functions are best for lightweight processing, not for stateful aggregations at 50K events/s with exactly-once guarantee.

  • Cloud Dataproc with Apache Spark Streaming

    Why it's wrong here

    Spark Streaming with checkpointing offers at-least-once by default; exactly-once requires careful configuration and sink support, and auto-scaling is limited.

  • Cloud Data Fusion

    Why it's wrong here

    Data Fusion is designed for batch ETL and doesn't support real-time streaming.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Google Cloud often tests the misconception that Cloud Pub/Sub with Cloud Functions is sufficient for low-latency streaming, but candidates overlook that Cloud Functions lacks stateful processing and exactly-once semantics, making it unsuitable for aggregation and enrichment at high throughput.

Detailed technical explanation

How to think about this question

Under the hood, Dataflow uses the Apache Beam model with a consistent shuffling mechanism that relies on Google Cloud Storage for durable state and checkpointing, enabling exactly-once processing even during worker failures. A subtle behavior is that when enriching with Cloud Bigtable, you must use the Beam BigtableIO with a custom DoFn that performs asynchronous lookups to avoid blocking the pipeline, and you must handle backpressure from Bigtable's row key hot spotting. In a real-world scenario, if the pipeline uses fixed windows for aggregation, Dataflow's watermark estimation and late data handling (via allowed lateness) are critical to ensure accurate metrics in BigQuery without duplicates.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PDE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PDE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PDE question test?

Building and operationalizing data processing systems — This question tests Building and operationalizing data processing systems — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Cloud Dataflow (Apache Beam runner) — Cloud Dataflow, as a managed Apache Beam runner, is the correct choice because it provides exactly-once processing semantics, low-latency streaming (sub-second to seconds), and autoscaling to handle throughput spikes from 10,000 to 50,000 events per second. Its unified batch and streaming model allows you to enrich clickstream events with user profile data from Cloud Bigtable via side inputs or asynchronous lookups, and write aggregated metrics to BigQuery with exactly-once guarantees using the Beam BigQuery I/O connector.

What should I do if I get this PDE question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PDE practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.