Original study notes for cloud certification exams — Google Cloud first, more clouds in build.

Dataflow Study Notes

Dataflow is a fully managed service for running Apache Beam pipelines that process data in batch and streaming modes with the same code model. You define transforms in Java, Python, or Go, and Dataflow provisions workers, scales them, and handles shuffling and fault recovery. It is built for ETL, real-time analytics, and continuous data processing at scale.

Exam tip: Pair the keywords in the question: Pub/Sub plus processing plus BigQuery almost always means Dataflow sits in the middle for the ACE exam.

Key facts

What the exam expects you to know

Dataflow vs Dataproc: when to use which

Choose Dataflow when you want a fully managed, serverless pipeline, particularly for streaming, and you are willing to write or reuse Apache Beam logic. Choose Dataproc when you have existing Hadoop or Spark jobs to lift and shift, need specific open-source ecosystem tools, or want cluster-level control. Dataflow scales workers per job and bills for the job, while Dataproc runs persistent or ephemeral clusters you configure. For a new cloud-native ETL or real-time pipeline, the exam favours Dataflow; for migrating an on-premises Spark workload unchanged, it favours Dataproc. See also the Dataproc notes.

Useful gcloud commands

gcloud dataflow jobs list
gcloud dataflow jobs describe JOB_ID --region=us-central1
gcloud dataflow jobs cancel JOB_ID --region=us-central1

Common exam traps

Frequently asked questions

Can one Dataflow pipeline handle both batch and streaming data?

Yes. Apache Beam was designed so a single pipeline definition works with bounded sources such as files for batch and unbounded sources such as Pub/Sub for streaming. Dataflow runs the same transforms in either mode, changing how workers are managed and how results are produced, which is the main reason the exam highlights Dataflow for unified processing.

What are Dataflow templates used for?

Templates package a compiled pipeline so it can be launched repeatedly with different parameters, such as input topic or output table, without rebuilding code. Google provides ready-made templates for common jobs like Pub/Sub to BigQuery, and teams can create custom templates so operators, schedulers, or other services can start standard pipelines safely and consistently.

How does Dataflow handle late-arriving streaming data?

Streaming pipelines assign elements to windows based on event time and use a watermark to estimate when data for a window is complete. Triggers decide when to emit results, and allowed lateness settings let the pipeline accept data arriving after the watermark, updating results or sending very late elements to separate handling depending on the pipeline design.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.