Compare / Dataproc vs BigQuery
Dataproc vs BigQuery
BigQuery is the default for SQL analytics: nothing to run and no cluster to size. Dataproc is for when you already have Spark or Hadoop code, or need open-source tools that SQL cannot replace.
In 67 practice questions across 8 practice banks
You need to design a data pipeline to process large volumes of raw server log data stored in Cloud Storage. The data needs to be cleaned, transformed, and aggregated before being loaded into BigQuery for analysis. The transformation involves complex data manipulation using Spark scripts that your team developed. You need to implement a solution that leverages your team's existing skillset, processes data at scale, and minimizes cost. What should you do?
-
Dataform expresses transforms in SQLX — the Spark scripts wouldn't be reused.
-
a custom Dataflow template means porting Spark code to Beam.
-
Dataproc executes the existing Spark scripts, minimizing rework and cost.
-
Data Fusion is visual pipeline design — again a rebuild of the team's code.
Pick an answer to see why each option is right or wrong.
Try 20 questions freeAt a glance
| Dataproc | BigQuery | |
|---|---|---|
| Interface | Spark, Hadoop and Hive jobs, notebooks | Standard SQL |
| Infrastructure | Managed clusters or serverless batches | Fully serverless |
| Best at | Existing big data code, custom processing, ML libraries | Interactive and batch analytics on structured data |
| Migration fit | On-premises Hadoop or Spark with few changes | Rewrite into SQL, accept managed warehouse model |
| Cost model | Pay for cluster time (ephemeral clusters keep it low) | Pay per query scanned or reserved slots |
Choose Dataproc when
- You are moving existing Spark or Hadoop jobs and want minimal rewriting.
- The work needs libraries or processing that is awkward in SQL.
- The team already has deep Spark skills.
Choose BigQuery when
- The need is SQL analytics, reporting or a data warehouse.
- You want zero cluster management.
- Data is structured or semi-structured and queried repeatedly by analysts.
Exam tip
A requirement to "reuse existing Spark jobs" points to Dataproc. "Minimize operational overhead" for analytics points to BigQuery, which can also query data in Cloud Storage as external tables.
Practice banks covering this comparison
Counts match names or aliases from both sides of the comparison in question text or answer options, including incorrect options. They do not measure how often a decision appears on the official exam.
- PDE Professional Data Engineer · 34 questions
- ADP Associate Data Practitioner · 16 questions
- PMLE Professional Machine Learning Engineer · 9 questions
- PCA Professional Cloud Architect · 2 questions
- CDL Cloud Digital Leader · 2 questions
- PCD Professional Cloud Developer · 2 questions
- ACE Associate Cloud Engineer · 1 question
- PCDE Professional Cloud Database Engineer · 1 question
More comparisons
- BigQuery vs Bigtable
- Dataflow vs Dataproc
- BigQuery vs Cloud SQL
- Spanner vs Cloud SQL
- Cloud Run vs GKE
- Cloud Composer vs Workflows
- Firestore vs Bigtable
- Cloud SQL for PostgreSQL vs AlloyDB
- Shared VPC vs VPC Network Peering
- Cloud VPN vs Cloud Interconnect
- Cloud Storage classes: Standard, Nearline, Coldline or Archive?
- Cloud Run functions vs Cloud Run services
- Cloud Armor vs VPC firewall rules
- Memorystore vs Firestore
- Looker vs Looker Studio
- Pub/Sub vs Cloud Tasks
- App Engine vs Cloud Run
- Google-managed keys vs Customer-managed keys (CMEK)
- Identity-Aware Proxy vs VPN
- Compute Engine vs GKE
- Spanner vs Bigtable
- Firestore vs Cloud SQL
- GKE Autopilot vs Standard: which mode to choose?
- Vertex AI vs BigQuery ML
- VPC Service Controls vs IAM
- Private Google Access vs Cloud NAT