- A
Cloud Dataflow, Google Cloud's serverless stream and batch data processing service built on Apache Beam
Dataflow is exactly right: serverless (no infrastructure management), supports both streaming (from Pub/Sub) and batch, applies transformations and aggregations, and writes natively to BigQuery. The Pub/Sub → Dataflow → BigQuery pattern is one of the most common data engineering pipelines on Google Cloud.
- B
Cloud Composer, Google Cloud's managed Apache Airflow service for workflow orchestration
Why wrong: Cloud Composer orchestrates workflows (schedules and sequences tasks) but doesn't itself process data streams. It might schedule a Dataflow job but is not the data processing engine.
- C
Cloud Dataproc, Google Cloud's managed Spark and Hadoop service
Why wrong: Dataproc runs Spark and Hadoop jobs on managed clusters. Unlike Dataflow, it requires cluster provisioning and management. It is better suited for large batch Spark jobs, not real-time Pub/Sub streaming pipelines.
- D
BigQuery directly, using streaming inserts to load Pub/Sub data in real time
Why wrong: BigQuery can receive streaming inserts but doesn't itself process or transform the data stream. Dataflow is needed to read from Pub/Sub, apply transformations and aggregations, and then load to BigQuery.
Quick Answer
The answer is Cloud Dataflow, Google Cloud’s fully managed, serverless service for both stream and batch data processing built on Apache Beam. This is the correct choice because Cloud Dataflow directly reads event data from Pub/Sub, applies real-time transformations and aggregations using the Beam SDK, and writes the results to BigQuery—all without requiring any infrastructure management, perfectly matching the serverless stream and batch processing use case. On the Google Cloud Digital Leader exam, this question tests your understanding of which service handles unified stream and batch workloads without provisioning servers; a common trap is confusing Dataflow with Dataproc (which manages clusters) or Cloud Functions (which is event-driven but not designed for complex aggregations or batch pipelines). Remember the mnemonic: “Dataflow flows data from Pub/Sub to BigQuery without a server in view.”
Cloud Digital Leader Practice Question: Google Cloud products, services, and solutions
This GCDL practice question tests your understanding of google cloud products, services, and solutions. 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 data engineering team needs to build a pipeline that reads event data from Pub/Sub in real time, applies transformations and aggregations, and writes results to BigQuery — all without managing any infrastructure. Which Google Cloud product is designed for this serverless stream and batch data processing use case?
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, Google Cloud's serverless stream and batch data processing service built on Apache Beam
Cloud Dataflow is Google Cloud's fully managed, serverless service for both stream and batch data processing, built on Apache Beam. It directly reads from Pub/Sub, applies transformations and aggregations using the Beam SDK, and writes the results to BigQuery without requiring any infrastructure management, making it the correct choice for this use case.
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, Google Cloud's serverless stream and batch data processing service built on Apache Beam
Why this is correct
Dataflow is exactly right: serverless (no infrastructure management), supports both streaming (from Pub/Sub) and batch, applies transformations and aggregations, and writes natively to BigQuery. The Pub/Sub → Dataflow → BigQuery pattern is one of the most common data engineering pipelines on Google Cloud.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Cloud Composer, Google Cloud's managed Apache Airflow service for workflow orchestration
Why it's wrong here
Cloud Composer orchestrates workflows (schedules and sequences tasks) but doesn't itself process data streams. It might schedule a Dataflow job but is not the data processing engine.
- ✗
Cloud Dataproc, Google Cloud's managed Spark and Hadoop service
Why it's wrong here
Dataproc runs Spark and Hadoop jobs on managed clusters. Unlike Dataflow, it requires cluster provisioning and management. It is better suited for large batch Spark jobs, not real-time Pub/Sub streaming pipelines.
- ✗
BigQuery directly, using streaming inserts to load Pub/Sub data in real time
Why it's wrong here
BigQuery can receive streaming inserts but doesn't itself process or transform the data stream. Dataflow is needed to read from Pub/Sub, apply transformations and aggregations, and then load to BigQuery.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Google Cloud often tests the distinction between a data processing service (Dataflow) and a data ingestion or orchestration service, leading candidates to mistakenly choose BigQuery streaming inserts or Cloud Composer for real-time transformations.
Detailed technical explanation
How to think about this question
Under the hood, Cloud Dataflow uses the Apache Beam programming model to unify batch and stream processing with the same pipeline code, automatically handling windowing, triggering, and watermarking for event-time processing. In a real-world scenario, a team might use Dataflow to aggregate clickstream events from Pub/Sub into 5-minute sliding windows, then write the results to BigQuery for real-time dashboards, all while Dataflow auto-scales workers based on the data volume. A subtle behavior is that Dataflow's exactly-once processing guarantees for streaming require careful handling of side effects and idempotent sinks.
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.
- →
Google Cloud products, services, and solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Google Cloud products, services, and solutions practice questions
Targeted practice on this topic area only
- →
All GCDL questions
507 questions across all exam domains
- →
Google Cloud Digital Leader study guide
Full concept coverage aligned to exam objectives
- →
GCDL practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related GCDL practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Why cloud technology is transforming business practice questions
Practise GCDL questions linked to Why cloud technology is transforming business.
Fundamental cloud concepts practice questions
Practise GCDL questions linked to Fundamental cloud concepts.
Google Cloud products, services, and solutions practice questions
Practise GCDL questions linked to Google Cloud products, services, and solutions.
Scaling with Google Cloud operations practice questions
Practise GCDL questions linked to Scaling with Google Cloud operations.
Trust and security with Google Cloud practice questions
Practise GCDL questions linked to Trust and security with Google Cloud.
GCDL fundamentals practice questions
Practise GCDL questions linked to GCDL fundamentals.
GCDL scenario practice questions
Practise GCDL questions linked to GCDL scenario.
GCDL troubleshooting practice questions
Practise GCDL questions linked to GCDL troubleshooting.
Practice this exam
Start a free GCDL 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 GCDL question test?
Google Cloud products, services, and solutions — This question tests Google Cloud products, services, and solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Cloud Dataflow, Google Cloud's serverless stream and batch data processing service built on Apache Beam — Cloud Dataflow is Google Cloud's fully managed, serverless service for both stream and batch data processing, built on Apache Beam. It directly reads from Pub/Sub, applies transformations and aggregations using the Beam SDK, and writes the results to BigQuery without requiring any infrastructure management, making it the correct choice for this use case.
What should I do if I get this GCDL 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 →
Last reviewed: Jun 30, 2026
This GCDL 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 GCDL exam.
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.
Sign in to join the discussion.