Cloud Digital Leader Google Cloud Products and Services Practice Question
A company is building a data pipeline that ingests events from multiple sources, processes them in real-time, and stores the results in a data warehouse for analysis. They need a fully managed, serverless solution for stream processing. Which THREE Google Cloud services should they use?
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
✓
Pub/Sub
Pub/Sub ingests events. Dataflow processes streams. BigQuery stores and analyzes results. Cloud Functions is for lightweight event-driven functions, not stream processing. Dataproc is for batch processing.
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 and Hadoop service designed for batch-oriented data processing, ETL, and analytics on large datasets. While it can read from Pub/Sub via Spark Streaming, it requires you to manage a cluster lifecycle, and its latency and operational overhead make it a poor fit for a continuously running, low-latency event ingestion path. For raw event ingestion, you need a fully managed, push-based message broker that can hold messages until subscribers are ready, not a batch compute engine.
- ✓
Pub/Sub
Why this is correct
Pub/Sub is the correct foundational service for ingesting streaming events because it is a scalable, durable, asynchronous messaging middleware that decouples event producers from consumers. It provides at-least-once delivery, supports push and pull subscriptions, and can buffer spikes in event volume, ensuring that events are not lost before downstream processing. As the entry point of a data pipeline, Pub/Sub is specifically designed to receive high-throughput event streams and make them available to streaming processors like Dataflow.
- ✓
Dataflow
Why this is correct
Dataflow is a fully managed, serverless stream and batch processing service that can consume events from Pub/Sub in near real time. It is the correct complement to Pub/Sub for transforming, enriching, and windowing the ingested events before they land in a destination like BigQuery. Dataflow provides exactly-once processing semantics and autoscaling, making it the standard choice for the 'process' stage of a streaming pipeline rather than the 'ingest' stage.
- ✗
Cloud Functions
Why it's wrong here
Cloud Functions is a serverless, event-driven compute service that runs short-lived, single-purpose functions and is not designed for continuous, long-running stream processing. It is triggered by discrete events (e.g., a Pub/Sub message, a Cloud Storage upload) and has a maximum timeout (typically 540 seconds), making it unsuitable for high-throughput, stateful, or streaming analytics. While it can respond to individual messages, it lacks the ability to maintain state across messages or handle backpressure for sustained streams, so it is the wrong tool for processing a continuous event pipeline.
- ✓
BigQuery
Why this is correct
BigQuery is a fully managed, serverless data warehouse that serves as the destination for processed streaming data, not as an ingestion or processing layer. It supports real-time analytics via the Storage Write API and can query data as soon as it is written, but it is not built to buffer or route events between producers and consumers. In a streaming pipeline, BigQuery is where the processed data lands for analysis, while Pub/Sub handles ingestion and Dataflow handles transformation.
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
Cloud Digital Transformation
Key term
Data warehouse
A data warehouse is a central repository that stores large amounts of structured data from multiple sources, optimized for querying and analysis rather than day-to-day transactions.
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.
About these practice questions
This GCDL question is part of Courseiva's 829-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
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.