Which Google Cloud Service Unifies Batch and Stream Processing
Your company has successfully migrated to the cloud and wants to analyze their data stream to optimize operations. They do not have any existing code for this analysis, so they are exploring all their options. These options include a mix of batch and stream processing, as they are running some hourly jobs and live- processing some data as it comes in. Which technology should they use for this?
Community Insight
The question tests whether you can match a unified batch-plus-stream workload with no existing pipeline code to a managed service — the trap is picking a tool that handles only one mode or fixating on the word 'analyze' to choose BigQuery.
For a company with no existing code that must run both hourly batch jobs and live stream processing, Google Cloud Dataflow is the intended choice because it is a fully managed, serverless service built on Apache Beam that unifies batch and streaming in one programming model. The page explains why Dataflow beats Dataproc, Container Engine with Bigtable, and Compute Engine with BigQuery in this Professional Cloud Architect scenario.
The most common wrong answer is D (Compute Engine with BigQuery), because the word 'analyze' pulls learners toward the analytics warehouse; but BigQuery with VMs is not a unified processing framework, and learners defending this choice note the confusion themselves. A secondary mistake is A (Dataproc), since Spark can do streaming but Dataproc is a managed Hadoop/Spark cluster rather than a code-free unified pipeline service.
Community Discussion (55 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Google Cloud Dataflow is a fully managed, serverless stream and batch analytics service built on Apache Beam, which provides a single unified programming model for both modes — so hourly batch jobs and live-processing of incoming data can live in one pipeline rather than two separate stacks. Because the company has no existing code, Dataflow's managed service model removes cluster provisioning, autoscaling, and operational overhead entirely; you simply define pipelines with the SDKs (Java, Python) and let Google handle execution. Commenters converged on this reasoning, with Ekramy_Elnaggar citing "Unified Batch and Stream Processing" and Singapore123 pointing to "Serverless and Scalable" behavior. desertlotus1211 backed this up with the official tagline of "Fast, unified stream and batch data processing" from the Dataflow product page. This is exactly the architectural fit the scenario describes: one technology covering both processing patterns with no code or infrastructure to maintain.Why the Other Options Are Wrong
Option A, Cloud Dataproc, is a managed Apache Spark/Hadoop service: as Eroc noted, it is "a juggernaut in speed of data processing," but it runs clusters you must size and manage and it is not the unified, code-free experience the no-existing-code constraint implies. Option C pairs Container Engine (GKE) with Bigtable, a low-latency NoSQL store — Bigtable holds and serves high-throughput data but is not a batch/stream processing engine, so you would still have to build all processing yourself. Option D pairs Compute Engine with BigQuery: BigQuery is excellent for analytics queries and does support streaming inserts and scheduled batch queries, but the question asks for the technology that processes the mixed workload, and provisioning VMs alongside a warehouse is neither unified nor serverless. As anjuagrawal argued for D because "The questions is asking the solution for analysing and not for processing," the actual scenario describes running hourly jobs and live-processing data — a processing requirement that Dataflow satisfies before any downstream analysis happens.Community Comment Notes
Most commenters selected B and several explained why, with AWS56 quipping "Google wants you to select \"B\" ---- +10000" and vincy2202 simply stating "B is the correct answer." Eroc made a fair nuance that "All four options can accomplish what the question asks, in regards to batching and streaming processes," but the tiebreaker is the no-existing-code, fully managed requirement. BiddlyBdoyng and anjuagrawal both flagged that "The word analysis throws me off" and suggested BigQuery for the final analytics layer — a legitimate architecture note, since analysis can follow processing, but it does not change which service should perform the unified batch and stream work described here.Official Reference
Exam Strategy
In PCA scenario questions, treat keywords like 'batch and stream' plus 'no existing code / managed' as signposts for a specific Google Cloud product — here they point straight to Dataflow. If two options both plausibly 'do the job,' pick the serverless, fully managed, unified option rather than one requiring you to provision clusters or VMs.
Frequently Asked Questions
Why not BigQuery when the question says the company wants to analyze their data stream?
BigQuery is the analytics destination, but the scenario describes processing requirements — hourly jobs plus live-processing data as it arrives. Dataflow performs that unified batch and stream processing, after which results can be loaded into BigQuery for analysis.
Can't Dataproc handle both batch and stream with Spark?
Spark on Dataproc can run both, but Dataproc requires you to provision and manage clusters. With no existing code, Dataflow's serverless Beam model is the simpler, officially preferred answer.
Related Analysis
Practice All PCA Questions
Access 81 questions with complete answers and detailed explanations.
View Full PCA Practice Test →