Databricks offers two cluster types: All-Purpose Clusters (interactive) and Job Clusters (job-execution only). The rule of thumb is All-Purpose for development and debugging, Job Clusters for production batch jobs. Job Clusters have a lower unit cost and terminate automatically after the job finishes, making them very cost-efficient.
| Dimension | All-Purpose Cluster | Job Cluster |
|---|---|---|
| Use case | Development, debugging, interactive analytics | Production jobs, scheduled runs |
| DBU rate | Higher (Interactive Compute pricing) | Lower (Jobs Compute pricing) |
| Lifecycle | Manually created and stopped (auto-termination optional) | Auto-created when the job starts, auto-terminated when it finishes |
| Multi-user sharing | Supported | Not supported (dedicated to one job) |
| Notebook interaction | Supported (run cell-by-cell) | Not supported (job-mode batch execution only) |
| Cluster reuse | Reuse the same cluster many times | A fresh cluster spins up for every run |
| Job binding | Reference an existing cluster at run time | Cluster config is embedded in the job definition |
The standard workflow: develop interactively in notebooks on an All-Purpose Cluster, and once the code is stable, switch to a Job Cluster and schedule it on Workflows (the job scheduler).
Job Clusters have a substantially lower DBU rate than All-Purpose Clusters. With the same instance type and runtime, simply switching to a Job Cluster can cut DBU cost by more than half.
コスト比較の概念例:
All-Purpose Cluster:
i3.xlarge × 4ノード × 2時間 = 8ノード時間
DBU単価: 高い(Interactive Compute)
Job Cluster:
i3.xlarge × 4ノード × 2時間 = 8ノード時間
DBU単価: 安い(Jobs Compute)
→ 同じ処理でも Job Cluster の方が DBU コストが低い
→ さらに自動終了でアイドル課金もゼロRunning production jobs on an All-Purpose Cluster is the worst cost pattern there is. Expect exam questions where the correct answer in any cost-optimization scenario is to migrate to Job Clusters.
Job Clusters are configured inside the workflow (job) definition. You can either assign a dedicated Job Cluster to each task or define a shared cluster that several tasks reuse.
ワークフロー定義例:
Job: daily_etl
├── Task 1: bronze_load(Job Cluster: i3.xlarge × 2ノード)
├── Task 2: silver_transform(Job Cluster: i3.2xlarge × 4ノード)
└── Task 3: gold_aggregate(Job Cluster: i3.xlarge × 2ノード)
各タスクのJob Clusterはタスク完了後に自動終了
→ Task 1 完了 → Cluster 1 終了
→ Task 2 開始 → Cluster 2 起動
→ ...A key benefit of Job Clusters is that you can size each task independently — heavy tasks get a large cluster, light tasks get a small one — for fine-grained optimization.
When you run a job you can also choose to reuse an existing All-Purpose Cluster, but it is discouraged for the following reasons.
Outside of one-off testing during development, you should always use Job Clusters.
Data Engineer Associate
問題 1
A data engineer needs to productionize an ETL notebook. It must run daily at 2 AM and minimize cost. Which configuration is best?
正解: A
Job Clusters are the best fit for production jobs: lower DBU rate plus auto-termination at the end of the job give you the strongest cost efficiency. Pairing them with an Instance Pool to accelerate startup is also a best practice. Keeping an All-Purpose Cluster running 24/7 or reusing an existing one is expensive, and SQL Warehouses are not suited to notebook Python/Spark workloads.
Do Job Clusters and All-Purpose Clusters cost different amounts?
Yes. Job Clusters (Automated / Jobs Compute) have a lower DBU rate than All-Purpose Clusters (Interactive Compute). The exact discount depends on cloud provider and plan, but the gap is typically 2-3x. Production jobs should run on Job Clusters.
Does a Job Cluster automatically terminate after the job finishes?
Yes. A Job Cluster is automatically terminated and deleted once the job task completes. You never have to manage it manually. This is the biggest operational difference from an All-Purpose Cluster, which keeps running until you stop it (unless you explicitly configure auto-termination).
How do Databricks exams test Job Clusters?
Job Clusters appear frequently on Data Engineer Associate. Common patterns: 'Which compute is best for production batch jobs?' → Job Cluster; 'Which compute fits development and debugging?' → All-Purpose Cluster; 'How do you minimize cost?' → Job Cluster + Instance Pool + Cluster Policy combined.
Practice with certification-focused question sets
無料で問題を解いてみるNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Databricks Certifications: All 7 Exams, Difficulty & Study Plan (2026)
Complete guide to all 7 Databricks certifications — Data Eng...
Databricks Exam Difficulty Ranking: All 7 Certs Compared (2026)
Every Databricks certification ranked by difficulty, with st...
Databricks Study Guide: Fastest Pass Route & Time Estimates (2026)
How to pass Databricks certifications efficiently. Official ...
Databricks Data Engineer Associate: Complete Guide (2026)
Domain-by-domain breakdown of the Databricks Certified Data ...
Databricks Data Engineer Professional: Complete Guide (2026)
Tactics for the Databricks Certified Data Engineer Professio...