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

Dataproc Study Notes

Dataproc is a fully managed service for running Apache Hadoop, Spark, Hive, Pig, and related open-source data tools on Google Cloud clusters. It lets you create clusters quickly, run batch jobs, and delete clusters when work is done, rather than maintaining permanent on-premises Hadoop infrastructure. It suits migration of existing big data workloads with minimal code changes.

Exam tip: When an ACE question mentions existing Spark or Hadoop code moving to Google Cloud with minimal changes, answer Dataproc, not Dataflow.

Key facts

What the exam expects you to know

Dataproc vs Dataflow: when to use which

Choose Dataproc when the team already has Spark, Hadoop, or Hive jobs, needs specific tools from that ecosystem, or wants to manage cluster shape and software versions directly. Choose Dataflow when building a new pipeline, especially a streaming one, and you prefer Google to manage workers, scaling, and shuffle with no cluster to maintain. The deciding clues are heritage and control: existing open-source jobs point to Dataproc, while new unified batch and stream processing in Beam points to Dataflow. Cost questions also differ: Dataproc charges for the cluster while it exists. See also the Dataflow notes.

Useful gcloud commands

gcloud dataproc clusters create my-cluster --region=us-central1
gcloud dataproc jobs submit pyspark gs://my-bucket/job.py --cluster=my-cluster --region=us-central1
gcloud dataproc clusters delete my-cluster --region=us-central1

Common exam traps

Frequently asked questions

Why store Dataproc data in Cloud Storage instead of HDFS?

Keeping data in Cloud Storage separates storage from compute, so you can create a cluster only for the duration of a job and delete it afterwards without losing input or output data. It also lets multiple clusters and other services access the same data. HDFS on cluster disks ties data lifetime to that specific cluster.

What is a Dataproc workflow template?

A workflow template defines a cluster configuration and an ordered list of jobs to run on it. When launched, Dataproc creates the cluster, runs the jobs in sequence, and deletes the cluster on completion. This makes recurring batch workflows repeatable, version-controlled, and cheaper than leaving a dedicated cluster running between runs.

When should I use autoscaling on a Dataproc cluster?

Use an autoscaling policy when batch workloads have variable demand and YARN has pending work that extra workers can usefully process. Autoscaling adds workers to shorten job time and removes them when idle to save cost. It works best for Spark and Hadoop batch jobs and is less useful for interactive or streaming workloads with steady needs.

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.