Choosing a transformation tool
Associate Data Practitioner · Lesson 10 of 16 · 1:10:03
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the Google Cloud Associate Data Practitioner exam, on the official exam guide. In this lesson: ETL or ELT, Dataflow and Managed Service for Apache Spark (formerly Dataproc), Cloud Data Fusion and Dataform, and the products of a basic pipeline. Includes three original practice questions, with Cymbal Energy, a fictional electricity and gas supplier, as the example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Four teams, four needs
Cymbal Energy has four teams with four transformation needs. Meter readings stream in all day, and must be cleaned within seconds. A team of Spark developers wants to move hundreds of existing jobs to Google Cloud, while the analysts want to turn raw BigQuery tables into clean reporting tables, in SQL. And the billing team, with no developers, must merge exports from several systems.
ETL or ELT
ETL transforms the data before loading it, in a separate engine: it fits when data must be cleaned, masked, or reshaped on the way in, or when the data arrives as a stream. ELT loads the raw data first, then transforms it inside BigQuery with SQL: it uses BigQuery's scale, keeps the raw data for reprocessing, and suits teams that know SQL. Many pipelines mix both, like masking sensitive fields on the way in, then modeling in BigQuery. And BigQuery itself transforms data, with SQL statements, materialized views, and scheduled queries.
Dataflow and Spark
Dataflow is a fully managed service for batch and streaming pipelines, written with Apache Beam: it starts workers, scales them, and deletes them when the job ends. It fits streaming data, like meter readings arriving all day, and large ETL jobs, and templates run common pipelines without writing code. Managed Service for Apache Spark, formerly Dataproc, runs Apache Spark and Hadoop jobs, on clusters that you can turn off when you do not need them, or serverless, with no cluster to manage. It fits teams that already have Spark code, and want to move it to Google Cloud with few changes.
Cloud Data Fusion and Dataform
Cloud Data Fusion is a fully managed data integration service with a visual interface: you connect sources, add transformations, and send the data to its destination, without writing code, and Wrangler prepares the data on a sample. It fits teams without developers, and integrations across many systems, through its connectors. Dataform is built for ELT in BigQuery: analysts write SQL, manage the dependencies between tables, test the data with assertions, keep the code in Git, and schedule the workflow. It turns the raw tables loaded into BigQuery into a tested, documented set of tables for reporting.
The products of a basic pipeline
A basic pipeline needs a source, an ingestion step, a transformation, a destination, and something that runs it on time. Batch files landing in Cloud Storage can be loaded into BigQuery, then transformed with SQL in Dataform or scheduled queries. Streaming events go through Pub/Sub, then Dataflow, or straight into BigQuery through a subscription. And when many steps across several services must run in order, an orchestrator like Managed Service for Apache Airflow, formerly Cloud Composer, coordinates them, which is the subject of the next lesson.
Recap
Let's recap. ETL transforms before loading, and ELT loads raw data first, then transforms it inside BigQuery with SQL. Dataflow runs managed batch and streaming pipelines with Apache Beam, and templates. Managed Service for Apache Spark runs existing Spark jobs, on clusters or serverless. Cloud Data Fusion builds pipelines visually, and Dataform manages tested SQL transformations in BigQuery, with Git and schedules. And a pipeline needs a source, ingestion, a transformation, a destination, and something that runs it on time.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
The Spark developers have hundreds of PySpark jobs running on premises. They want to move them to Google Cloud with as few changes as possible, and without managing clusters. What fits?
- Rewrite every job with Apache Beam on Dataflow
- Managed Service for Apache Spark, serverless
- Dataform SQL workflows in BigQuery
- Cloud Data Fusion visual pipelines
Show the answer
Managed Service for Apache Spark, serverless
Managed Service for Apache Spark runs existing Spark jobs with few changes, and its serverless mode needs no cluster. “Rewrite every job with Apache Beam on Dataflow” would rewrite hundreds of jobs that already work. “Dataform SQL workflows in BigQuery” would turn every job into SQL. And “Cloud Data Fusion visual pipelines” would rebuild every job visually, starting over.
The analysts load raw data into BigQuery. They want their SQL transformations managed as a set of dependent tables, with data tests, version control in Git, and a schedule. Which tool fits?
- Cloud Data Fusion
- Dataflow with Apache Beam
- Dataform
- Managed Service for Apache Spark
Show the answer
Dataform
Dataform manages SQL transformations in BigQuery, with dependencies, tests, Git, and schedules. “Cloud Data Fusion” builds pipelines visually, not SQL code kept in Git. “Dataflow with Apache Beam” would need Apache Beam code in Java or Python. And “Managed Service for Apache Spark” would run Spark jobs, outside the SQL of BigQuery.
Meter readings arrive continuously through Pub/Sub. Each one must be checked and converted to kWh within seconds, before it lands in BigQuery. What fits?
- A streaming Dataflow pipeline
- A daily scheduled query
- A Dataform workflow every night
- A nightly Spark batch job
Show the answer
A streaming Dataflow pipeline
A streaming Dataflow pipeline processes each reading within seconds, as it arrives. “A daily scheduled query” only runs once a day. “A Dataform workflow every night” would also wait for the night, long after the readings arrive. And “A nightly Spark batch job” would process the readings in a nightly batch.