Cloud Digital Leader Google Cloud Products and Services Practice Question
A data engineering team wants to process continuous streams of real-time events from millions of devices, perform transformations, and load the results into BigQuery for analysis. They need a fully managed, serverless solution. Which service should they use?
⚠ Common exam trap
GCDL often tests the difference between ingestion (Pub/Sub), serverless compute (Cloud Functions), and data processing (Dataflow), so the trap is choosing Pub/Sub for processing or Cloud Functions for high-volume streams.
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
Cloud Dataflow is a fully managed, serverless service for both batch and stream processing, built on Apache Beam. It can ingest continuous streams from Pub/Sub, apply transformations, and write results to BigQuery with automatic scaling and no infrastructure management. This matches the requirement for a serverless solution to process real-time events from millions of devices and load them into BigQuery.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Dataproc
Why it's wrong here
Dataproc is a managed Spark/Hadoop service, but it is not serverless and requires ongoing cluster provisioning, scaling, and maintenance. It is optimized for batch or interactive jobs rather than continuously processing unbounded streams, and it lacks built-in mechanisms for automatic scaling and exactly-once processing that true streaming pipelines demand. For persistent stream processing, Dataflow abstracts these operational concerns.
- ✗
Cloud Pub/Sub
Why it's wrong here
Cloud Pub/Sub is a fully managed, asynchronous messaging service designed for ingesting and delivering events, not for processing them. It cannot apply transformations, aggregations, or windowing logic on the fly; it merely acts as a durable, scalable transport layer. To actually analyze or transform the data stream, you must connect Pub/Sub to a separate processing engine like Dataflow.
- ✗
Cloud Functions
Why it's wrong here
Cloud Functions is event-driven, serverless compute for short-lived, lightweight tasks, with a maximum timeout and limited resource allocation. It is unsuitable for high-throughput streaming pipelines because it cannot maintain state, handle backpressure, or perform complex windowing/aggregation at scale. While it can react to individual messages, it lacks the infrastructure for continuous, exactly-once processing of unbounded data.
- ✓
Cloud Dataflow
Why this is correct
Cloud Dataflow is a fully managed, serverless service that unifies stream and batch data processing using the Apache Beam model. It auto-scales, provides exactly-once semantics, and natively integrates with BigQuery, Pub/Sub, and other GCP services. Its support for event-time processing, watermarks, and stateful aggregations makes it the correct choice for building scalable, real-time stream processing pipelines.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
Learn chapter
Structured vs Unstructured Data Analytics
Key term
Dataflow
Dataflow is a Google Cloud managed service that processes and transforms data in real-time or batch mode using Apache Beam pipelines.
Key term
Stream processing
Stream processing is a data processing method that continuously analyzes and acts on data in real time as it arrives, rather than storing it first and processing it later.
About these practice questions
One of 848 original GCDL 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Google Cloud exam blueprint
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.