Select and Configure Compute in a Workspace
Match the compute to the workload
A nightly ETL job and a data scientist exploring a sample in a notebook have opposite needs: the job wants a clean, isolated cluster that appears for the run and disappears afterward, while the notebook user wants a warm cluster they can share and keep alive. Azure Databricks answers both with four distinct compute choices, and choosing the wrong one is the most common configuration mistake on this objective.
Job compute (also called jobs compute) provisions a dedicated cluster scoped to a single job run and terminates it when the run finishes. That isolation keeps scheduled, non-interactive pipelines away from interactive development, and it bills at the lower jobs DBU rate. A DBU (Databricks Unit) is the normalized unit Databricks meters processing by. See Configure compute for jobs[1].
All-purpose compute is persistent, multi-user compute for notebooks and ad hoc analysis. It stays up so a team can attach to it interactively, and it bills at a higher DBU rate than job compute. Because it mixes development with production and is shared, Databricks does not recommend it for production pipelines. Reaching for all-purpose compute to run a scheduled job is the classic isolation mistake (Classic compute overview[2]).
A SQL warehouse is compute tuned for SQL queries and BI tools such as Power BI and Tableau, and it comes in serverless, pro, and classic types (SQL warehouse types[3]). It runs SQL, not notebook or declarative-pipeline code, so it cannot be the compute engine for a Lakeflow Spark Declarative Pipeline (the product formerly branded Delta Live Tables). If a question asks which compute runs a pipeline, a SQL warehouse is always wrong.
Serverless compute runs in the Databricks-managed cloud account and starts in seconds with no VM or instance-pool configuration to manage; it is available for notebooks, jobs, and Lakeflow Spark Declarative Pipelines (Connect to serverless compute[4]). The trade-off against the other three types is control: classic compute (job, all-purpose, and pro or classic SQL warehouses) runs in your own Azure subscription and exposes every knob, while serverless hides the infrastructure in exchange for instant start and no idle management. Databricks groups the choices into these two families, shown below.
Size a cluster: workers, nodes, and autoscaling
Total cluster compute is simple arithmetic: worker count multiplied by each node's CPU and memory. That gives you two levers to scale a workload, adding more workers or picking a larger node type, and it explains the two special cases below.
A cluster has exactly one driver node plus zero or more worker nodes; the driver coordinates work and the workers run the Spark executors. A single-node cluster sets the worker count to 0, so the driver runs all the Spark work itself. It cannot autoscale and suits only small or non-distributed workloads; a multi-node cluster, by contrast, cannot be scaled down to 0 workers (Compute configuration reference[5]).
Cluster autoscaling automatically adds and removes worker nodes between a minimum and maximum you set, based on load (autoscaling behavior[5]). Two facts trip people up. First, autoscaling resizes only workers, never the driver. Second, autoscaling only resizes an active cluster; it never terminates an idle one. Stopping idle compute is the job of automatic termination, covered in the next section, so enabling autoscaling on its own does not remove idle cost.
Streaming workloads are the exception where plain cluster autoscaling scales down poorly. For those, Databricks recommends enhanced autoscaling, the mode Lakeflow Spark Declarative Pipelines use. Enhanced autoscaling allocates cluster resources to workload volume and, unlike cluster autoscaling, proactively shuts down under-utilized nodes while guaranteeing no failed tasks during shutdown (enhanced autoscaling[6]). It is the default for new pipelines.
Set enhanced autoscaling in a pipeline's cluster configuration
This excerpt of a pipeline's settings turns on enhanced autoscaling; the surrounding pipeline configuration is omitted:
{
"clusters": [
{
"autoscale": { "min_workers": 5, "max_workers": 10, "mode": "ENHANCED" }
}
]
}
The autoscale block bounds the worker pool with min_workers and max_workers (max_workers must be greater than or equal to min_workers), and mode selects ENHANCED over the LEGACY cluster-autoscaling behavior. As the figure below shows, autoscaling of either kind stretches the worker band while the single driver stays put.
Spend less without losing the work
Idle compute is where Databricks bills leak, and four independent levers each plug a different leak. Confusing them is a favorite exam trap, so anchor each lever to the specific waste it removes.
Automatic termination shuts a cluster down after a set number of minutes with no Spark jobs, queries, or commands running, removing idle DBU and VM cost (automatic termination[5]). A cluster counts as inactive only when nothing is executing, so an active workload keeps it alive and is never interrupted. This is the only lever here that stops an idle cluster.
Instance pools hold a set of idle, ready-to-use cloud VMs so that clusters and autoscaling attach pre-acquired nodes and start faster (Connect to pools[7]). You pay the Azure VM cost for the idle pooled instances, but Databricks charges no DBUs while instances sit idle in the pool. Pools cut start and scale-up latency; they do not by themselves reduce idle-cluster cost.
Azure Spot VMs lower per-hour worker cost by using spare Azure capacity, which Azure can reclaim at any time. The driver is always on-demand; only workers run as spot, and if a spot node is evicted Databricks tries to reacquire capacity and falls back to on-demand (spot instances[5]). Spot fits fault-tolerant workloads and, like autoscaling, does not stop an idle cluster.
Photon is Databricks' native vectorized query engine, written in C++, that transparently accelerates SQL workloads and Spark DataFrame API calls, including JSON ETL and Delta operations; it is compatible with Apache Spark APIs and needs no code change (What is Photon?[8]). You turn it on per cluster with the Use Photon Acceleration checkbox, and it is on by default on recent runtimes. One boundary matters for the exam: Photon accelerates SQL and DataFrame operations but does not support user-defined functions (UDFs), RDD, or Dataset APIs, where execution falls back to the Spark runtime.
Keep the reconciling rule at the front of your mind: autoscaling and Spot both lower cost, but neither stops an idle cluster. Only automatic termination does that.
SQL warehouses: size, scale, and Auto Stop
A SQL warehouse scales on a different model than a cluster, and mixing the two vocabularies is a reliable way to miss a question. Three separate settings control a warehouse.
Cluster size is a t-shirt size from X-Small up to 4X-Large (with 2X-Small below it and a 5X-Large in preview) that sets the compute power for a single query; a larger size means a bigger single cluster (SQL warehouse sizing, scaling, and queuing[9]). Increase the size when queries spill to disk.
Scaling sets a minimum and maximum number of clusters and adds or removes whole clusters to absorb concurrent-query load, not worker nodes (warehouse behavior[9]). This is the crucial contrast with cluster autoscaling: cluster autoscaling adds worker nodes to one cluster, whereas a SQL warehouse adds entire clusters, and Databricks recommends about one cluster per 10 concurrent queries. The default is a minimum and maximum of one cluster.
Auto Stop shuts an idle warehouse down after a set idle period. It is the warehouse-level equivalent of a cluster's automatic termination and a distinct setting from it (Create a SQL warehouse[10]). Defaults differ by type: pro and classic warehouses default to 45 minutes (minimum 10), and serverless defaults to 10 minutes (minimum 5 in the UI). Until it stops, an idle warehouse keeps accruing DBU and cloud charges.
The type you pick sets the rest. Serverless warehouses are Databricks-managed and start in a few seconds using Intelligent Workload Management, while pro and classic warehouses run in your Azure subscription and take a few minutes to start (SQL warehouse types[3]).
Choose a runtime and manage libraries
Two choices decide what code will even run on a cluster: the Databricks Runtime version and the libraries you add on top of it.
The Databricks Runtime (DBR) is the set of core components on the cluster, and choosing its version fixes the bundled Apache Spark version and the preinstalled packages (Compute configuration reference[5]). For production, prefer a Long Term Support (LTS) release: LTS versions are supported and patched longer, so operational jobs stay stable and you can test before upgrading (Databricks Runtime release notes[11]). For data science, the Databricks Runtime for Machine Learning extends the standard runtime with preinstalled ML libraries such as PyTorch, TensorFlow, and scikit-learn, plus GPU variants, so you skip installing the ML stack by hand (Databricks Runtime for Machine Learning[12]).
Beyond the runtime, libraries come in two scopes that behave differently. Cluster-scoped (compute-scoped) libraries install on the cluster and are available to every notebook and job attached to it. Notebook-scoped libraries, installed with %pip, apply only to the current notebook session, do not affect other notebooks on the same cluster, and do not persist, so they must be reinstalled each session (Install libraries[13]).
Install a notebook-scoped library
Run %pip inside the notebook to scope a package to that session only:
%pip install databricks-sdk
Because this install is notebook-scoped, the package is gone when the cluster restarts; to make it available to every notebook, install it as a cluster-scoped library instead.
Libraries install from package repositories (PyPI, Maven, CRAN) or from uploaded artifacts such as wheel, egg, or JAR files stored in workspace files or Unity Catalog volumes (Install libraries[13]). One governance rule interacts with access mode: on standard (formerly shared) access mode compute, libraries and init scripts must be on the Unity Catalog allowlist that a metastore admin maintains, whereas dedicated (single-user) access mode has no such restriction (Allowlist libraries and init scripts[14]). The allowlist is a standard-access-mode control; it does not apply to dedicated compute.
Govern who can create and attach compute
Four separate controls decide who touches a cluster, and the exam leans on distinguishing them. Lead with the split: creating compute is governed differently than using compute that already exists.
Whether a user can create compute at all depends on an entitlement. A user can create all-purpose compute only if granted the Unrestricted cluster creation entitlement, or a policy-scoped one; without either, they can merely attach to compute they have been given access to (Classic compute overview[2], Manage entitlements[15]).
A compute policy (cluster policy) is an admin-defined rule set that limits the compute a user may create or configure: allowed node types and runtime versions, enforced auto-termination, maximum workers or DBU caps, and mandatory tags (Create and manage compute policies[16]). Granting a user a policy scopes their creation rights to compute that complies with it, which is how admins enforce cost control and standards. Here is the distinction questions probe: a policy governs the compute a user may create (its configuration limits), which is different from a compute ACL that grants use of a cluster that already exists.
Those ACLs assign three permission levels to users, groups, or service principals: CAN ATTACH TO (run commands and view logs), CAN RESTART (start, stop, and restart), and CAN MANAGE (edit configuration and permissions) (Classic compute overview[2]). Each level includes the ones below it.
Finally, access mode sets sharing and Unity Catalog behavior. Standard access mode supports multiple concurrent users with full Unity Catalog governance, while dedicated access mode is assigned to a single user or group; both are Unity Catalog-enabled (Compute configuration reference[5]). The legacy No Isolation Shared mode is the exception that is not Unity Catalog-enabled, which is why Databricks steers new work to standard or dedicated (Standard compute requirements and limitations[17]).
Exam-pattern recognition
Most questions on this objective hinge on one of a handful of distinctions. Read the stem for the signal, then pick the answer that matches.
- Isolate a scheduled production job: choose job compute (or serverless), not all-purpose compute. All-purpose is shared and interactive and mixes dev with prod.
- Run a Lakeflow Spark Declarative Pipeline: pick job or serverless pipeline compute; a SQL warehouse can never run pipeline or notebook code.
- Stop paying for an idle cluster: the answer is automatic termination. Autoscaling and Spot VMs lower cost but never stop an idle cluster.
- Resize an active cluster to load: cluster autoscaling, which adds and removes workers only, between Min and Max, and never touches the driver.
- Handle many concurrent SQL users: raise a SQL warehouse's maximum clusters (Scaling adds whole clusters), not the t-shirt size, which sets single-query power. Auto Stop, not automatic termination, halts an idle warehouse.
- Speed up cluster start-up: an instance pool of warm VMs. It cuts start time; it is not an idle-cost control.
- Accelerate SQL and DataFrame ETL: enable Photon, but remember it does not cover UDFs, RDD, or Dataset APIs.
- Production stability versus the ML stack: an LTS runtime for operational jobs; the Databricks Runtime for Machine Learning for preinstalled PyTorch, TensorFlow, and scikit-learn.
- Who can spin up compute: the cluster-creation entitlement, plus any compute policy that scopes it. A policy limits what you can create; a compute ACL grants use of an existing cluster.
- Libraries on standard access mode: they must be on the Unity Catalog allowlist; dedicated access mode is not subject to it.
Choosing among job, all-purpose, SQL warehouse, and serverless compute
| Consideration | Job compute | All-purpose compute | SQL warehouse | Serverless compute |
|---|---|---|---|---|
| Primary use | Scheduled production runs | Interactive notebooks and ad hoc | SQL queries and BI tools | On-demand notebooks, jobs, pipelines |
| Lifecycle | Created per run, then terminated | Persistent, multi-user | Started and stopped by Auto Stop | Databricks-managed, starts in seconds |
| Sharing and isolation | Isolated to one run | Shared across users | Shared query engine | Managed and isolated by Databricks |
| Relative DBU rate | Lower jobs rate | Higher all-purpose rate | SQL warehouse rate | Serverless rate |
| Runs pipeline or notebook code? | Yes | Yes | No (SQL and BI only) | Yes |
Decision tree
Sharp facts the exam loves — give these one last read before exam day.
Cheat sheet
Sharp facts the exam loves — scan these before test day.
- Job compute is dedicated, ephemeral compute for scheduled production runs
Job (classic jobs) compute provisions a dedicated cluster scoped to a single job run and terminates it when the run finishes, isolating scheduled non-interactive pipelines from interactive development and billing at the lower jobs DBU rate.
Trap All-purpose compute is interactive and shared, so it is not recommended for production jobs and breaks the isolation requirement.
14 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace shared by several teams. You need to schedule a production data pipeline so that every run starts on a fresh, clean cluster with no libraries, state, or configur
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace named Workspace1 in which data scientists run interactive notebooks on shared clusters throughout the day. You need to add a nightly ETL job that runs a Spark no
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace. You have a scheduled Lakeflow Job named Job1 with five sequential tasks. Requirements: the tasks must run on dedicated compute that terminates when the job run
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- You have an Azure Databricks workspace that runs a production reporting pipeline every hour. The pipeline currently runs as a scheduled job attached to an always-on all-purpose cluster that stays prov
All-purpose compute is persistent, multi-user interactive compute for notebooks and ad hoc analysis; it bills at a higher DBU rate than job compute and is not recommended for production pipelines because it mixes development and production workloads.
13 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace. A team needs to interactively develop and debug PySpark transformations in notebooks, running arbitrary Python and Scala code and inspecting intermediate DataFr
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace. A data engineering team needs compute to interactively develop and debug notebooks throughout the workday. The compute must persist so the team can iterate, rer
- You have an Azure Databricks workspace. You have a scheduled Lakeflow Job named Job1 with five sequential tasks. Requirements: the tasks must run on dedicated compute that terminates when the job run
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- SQL warehouses run SQL and BI workloads, not pipeline code
A SQL warehouse is compute optimized for SQL queries and BI tools such as Power BI and Tableau, and comes in serverless, pro, and classic types; it cannot execute notebook or declarative-pipeline code.
Trap A SQL warehouse cannot serve as the compute engine for a Lakeflow declarative pipeline.
15 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a scheduled Lakeflow Job whose task is a SQL task that runs a query to refresh reporting tables. Requirements: the ta
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. You are configuring a new Lakeflow Spark Declarative Pipelines pipeline and must choose the compute that will execute it. A teammate s
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist performs interactive, iterative data exploration in a notebook, running Python and Scala cells and re-running them ma
- You have an Azure Databricks workspace. A team needs to interactively develop and debug PySpark transformations in notebooks, running arbitrary Python and Scala code and inspecting intermediate DataFr
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer attaches a notebook that contains Python transformation code to a serverless SQL warehouse, and the Python cells fail
- You have an Azure Databricks workspace. A scheduled production job currently runs on an always-on shared all-purpose cluster. Finance reports two problems: the job is billed at the higher interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A reporting team runs only SQL queries and dashboards against governed Delta tables, with many analysts querying concurrently. They wr
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace named Workspace1 that is enabled for Unity Catalog. A nightly batch ETL notebook loads production Delta tables. Requirements: the ETL must run as a scheduled, no
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts connect Power BI to governed Delta tables and run interactive SQL for dashboards. You need compute that is purpose-b
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- You have an Azure Databricks workspace enabled for Unity Catalog. A team of eight data engineers must collaborate interactively in notebooks throughout the workday. Requirements: several engineers mus
- You have an Azure Databricks workspace enabled for Unity Catalog with curated gold Delta tables. Business analysts must connect Power BI and Tableau to run high-concurrency SQL dashboards directly on
- Serverless compute starts instantly and is managed by Databricks
Serverless compute runs in the Databricks-managed cloud account and starts in seconds with no VM configuration or instance-pool management; it is available for notebooks, jobs, and declarative pipelines.
10 questions test this
- You have an Azure Databricks workspace that is enabled for Unity Catalog and located in a serverless-enabled region. A data engineer must run an interactive notebook and a scheduled Lakeflow Job. Requ
- You have an Azure Databricks workspace. You must schedule a production Lakeflow Job whose single task is a Spark Submit task that runs a compiled JAR. Requirements: the task must run on the compute ty
- You have an Azure Databricks workspace enabled for Unity Catalog. You are configuring a new Lakeflow Spark Declarative Pipelines pipeline and must choose the compute that will execute it. A teammate s
- You have an Azure Databricks workspace with a shared all-purpose cluster that several teams use. A review finds that a scheduled production pipeline was pinned to this cluster, so it runs at the highe
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer attaches a notebook that contains Python transformation code to a serverless SQL warehouse, and the Python cells fail
- You have an Azure Databricks workspace enabled for Unity Catalog. You need to run a scheduled Lakeflow Job without configuring or deploying any infrastructure yourself. Databricks should automatically
- You have an Azure Databricks workspace enabled for Unity Catalog. Analysts complain that they wait minutes for classic clusters to start before they can run notebooks. You need to give them interactiv
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants to run scheduled jobs without provisioning or managing any virtual machines in th
- You have an Azure Databricks workspace enabled for Unity Catalog. Business analysts connect Power BI to governed Delta tables and run interactive SQL for dashboards. You need compute that is purpose-b
- You have an Azure Databricks workspace enabled for Unity Catalog in a serverless-enabled region. A platform team wants one managed compute option they can use across three workload types: interactive
- Autoscaling adds and removes only worker nodes between a min and max
Cluster autoscaling automatically adds or removes worker nodes between a configured minimum and maximum based on load; it resizes only workers, never the driver, and it does not stop an idle cluster.
Trap Autoscaling only resizes an active cluster; it never terminates an idle one, which is the job of automatic termination.
19 questions test this
- You have an Azure Databricks single-node cluster that a team created for a small job. The dataset has grown and the job now needs distributed processing whose worker capacity scales with a fluctuating
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming job running on a classic all-purpose cluster that uses autoscaling. During low-volume windows the cluster does not scal
- You manage an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster used by a data engineering team. During working hours the interactive workload swings between light
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a new Lakeflow declarative pipeline that ingests a streaming feed whose volume swings sharply through the day. You ne
- You have an Azure Databricks SQL warehouse that runs scheduled dashboard queries during the day and then sits unused overnight, accruing cost. A colleague suggests using cluster automatic termination,
- You have an Azure Databricks workspace. A data scientist must run a single-node Python machine learning library on a small dataset. The workload is not distributed across executors. You need to provis
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You are building a Lakeflow Spark Declarative Pipelines (SDP) pipeline that ingests a streaming source whose volume is spiky.
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming ingestion running on a classic all-purpose cluster that uses standard autoscaling. The cluster does not scale down well
- You have an Azure Databricks workspace that contains an all-purpose cluster used for an interactive ETL notebook. The transformation load rises sharply during some stages of a run and falls during oth
- You have an Azure Databricks cluster running a job whose executor demand fluctuates. A teammate proposes changing the cluster so that both the driver and the workers grow and shrink with the load. You
- You have an Azure Databricks cluster for a production job. The job needs a small, always-available baseline of workers so it stays responsive, plus headroom to add workers during heavier periods, whil
- You have an Azure Databricks single-node cluster that a team started using for a small workload. The workload has grown into large-scale distributed processing that now exhausts the single node. You n
- You have an Azure Databricks workspace whose analytics team queries a single pro SQL warehouse named Warehouse1 that backs several Power BI reports. Two separate problems appear: one analyst's complex
- You have an Azure Databricks workspace. A small scheduled job performs non-distributed processing on a tiny dataset, and you want the cheapest compute possible. You tried a multi-node autoscaling clus
- You are moving a mixed batch and streaming ETL workload into a new Lakeflow Spark Declarative Pipelines pipeline in an Azure Databricks workspace. The pipeline's workload volume swings widely through
- You have an Azure Databricks job cluster whose input volume is bursty: a few times a day it must process a large surge, but most of the time the volume is low. Currently the cluster is provisioned at
- You have an Azure Databricks SQL warehouse that serves Power BI dashboards. Individual query latency is acceptable, but during business hours many analysts run queries at the same time and queries beg
- You manage an Azure Databricks workspace named Workspace1 that runs a nightly batch ETL job on classic job compute. The job alternates between a heavy join-and-shuffle stage that needs many executors
- You have an Azure Databricks workspace where a scheduled job runs a single-threaded Python statistics library over a few thousand rows and writes the result to a Delta table named Forecast. The worklo
- A single-node cluster has zero workers and runs on the driver only
A single-node cluster sets the worker count to 0 so the driver runs all Spark work with no worker nodes; it cannot autoscale and suits only small, non-distributed workloads.
6 questions test this
- You have an Azure Databricks single-node cluster that a team created for a small job. The dataset has grown and the job now needs distributed processing whose worker capacity scales with a fluctuating
- You manage an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster used by a data engineering team. During working hours the interactive workload swings between light
- You have an Azure Databricks workspace. A data scientist must run a single-node Python machine learning library on a small dataset. The workload is not distributed across executors. You need to provis
- You have an Azure Databricks single-node cluster that a team started using for a small workload. The workload has grown into large-scale distributed processing that now exhausts the single node. You n
- You have an Azure Databricks workspace. A small scheduled job performs non-distributed processing on a tiny dataset, and you want the cheapest compute possible. You tried a multi-node autoscaling clus
- You have an Azure Databricks workspace where a scheduled job runs a single-threaded Python statistics library over a few thousand rows and writes the result to a Delta table named Forecast. The worklo
- Enhanced autoscaling optimizes Lakeflow declarative-pipeline compute
Lakeflow Spark Declarative Pipelines run on runtime-managed job compute that uses enhanced autoscaling, which scales workers to workload volume and proactively shuts down under-utilized nodes to minimize cost.
7 questions test this
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming job running on a classic all-purpose cluster that uses autoscaling. During low-volume windows the cluster does not scal
- You have an Azure Databricks workspace that runs a Lakeflow Spark Declarative Pipelines (SDP) pipeline which ingests a streaming source whose volume spikes sharply a few times an hour and is near zero
- You have an Azure Databricks workspace enabled for Unity Catalog. You are building a new Lakeflow declarative pipeline that ingests a streaming feed whose volume swings sharply through the day. You ne
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You are building a Lakeflow Spark Declarative Pipelines (SDP) pipeline that ingests a streaming source whose volume is spiky.
- You have an Azure Databricks workspace with an Apache Spark Structured Streaming ingestion running on a classic all-purpose cluster that uses standard autoscaling. The cluster does not scale down well
- You are moving a mixed batch and streaming ETL workload into a new Lakeflow Spark Declarative Pipelines pipeline in an Azure Databricks workspace. The pipeline's workload volume swings widely through
- You have an Azure Databricks workspace that is enabled for Unity Catalog. You run a Lakeflow Spark Declarative Pipelines (SDP) pipeline on a serverless pipeline. You need the pipeline compute to: scal
- Cluster capacity is worker count multiplied by per-node CPU and memory
Total cluster compute equals the number of worker nodes multiplied by each node's CPU and memory, so a workload is scaled either by adding workers (node count) or by selecting a larger node type.
- SQL warehouse size sets query power; scaling adds clusters; Auto Stop halts idle
A SQL warehouse t-shirt cluster size (X-Small to 4X-Large) sets the compute power for a single query, while its Scaling min/max range adds or removes WHOLE clusters to absorb concurrent-query load (not worker nodes, unlike cluster autoscaling); Auto Stop shuts an idle warehouse down (default 45 minutes classic/pro, 10 minutes serverless).
Trap SQL warehouse Scaling adds whole CLUSTERS for concurrency, whereas cluster autoscaling adds WORKER NODES; Auto Stop (warehouse) is distinct from a cluster automatic termination.
6 questions test this
- You have an Azure Databricks workspace that runs a Lakeflow Spark Declarative Pipelines (SDP) pipeline which ingests a streaming source whose volume spikes sharply a few times an hour and is near zero
- You have an Azure Databricks SQL warehouse that runs scheduled dashboard queries during the day and then sits unused overnight, accruing cost. A colleague suggests using cluster automatic termination,
- You have an Azure Databricks SQL warehouse configured at the X-Small size. A single analyst runs one complex analytical query that scans large tables, and it completes too slowly. There is no concurre
- You have an Azure Databricks workspace whose analytics team queries a single pro SQL warehouse named Warehouse1 that backs several Power BI reports. Two separate problems appear: one analyst's complex
- You have an Azure Databricks SQL warehouse that serves Power BI dashboards. Individual query latency is acceptable, but during business hours many analysts run queries at the same time and queries beg
- You have a pro Azure Databricks SQL warehouse sized X-Small that serves an analytics team. A single complex query scans very large tables, spills to disk, and runs too slowly, but there is no concurre
- Automatic termination shuts down a cluster after idle minutes
Automatic termination stops an all-purpose cluster after a set number of minutes with no Spark jobs, queries, or commands running, removing idle DBU and VM cost; a cluster is inactive only when nothing is executing, so active workloads keep it alive and are never interrupted.
Trap Enabling autoscaling or spot pricing lowers cost but does not stop an idle cluster; only automatic termination removes the idle waste.
14 questions test this
- You have an Azure Databricks workspace that contains a shared all-purpose cluster analysts use during the day. You enabled automatic termination on the cluster, but it never shuts down and keeps billi
- You have an Azure Databricks workspace with a shared all-purpose cluster that also runs a scheduled job at 2:00 AM. You want to enable automatic termination to remove the cluster's idle cost during th
- You have an Azure Databricks workspace with an all-purpose cluster whose worker nodes were switched to Azure Spot VMs to reduce cost. A finance review shows the monthly cost barely changed because the
- You have an Azure Databricks workspace named Workspace1 that contains a shared all-purpose cluster the data science team uses for interactive analysis during the day. After hours the cluster usually s
- You manage an Azure Databricks workspace named Workspace1 in which a data engineering team runs several all-purpose clusters for interactive notebook development. To speed up cluster start time, every
- You manage an Azure Databricks workspace named Workspace1 that contains several all-purpose clusters used for interactive development. The clusters already use autoscaling and Azure Spot VMs, yet bill
- You have an Azure Databricks workspace with an all-purpose cluster that analysts use for ad hoc queries during the day. A scheduled Lakeflow Job runs on the same cluster each night. You need the clust
- You have an Azure Databricks workspace that runs a production Structured Streaming pipeline continuously on dedicated compute, plus several interactive dev clusters that analysts use during the day an
- You have an Azure Databricks workspace with a shared all-purpose cluster that a team uses only during business hours. On nights and weekends the cluster sits with no notebooks, jobs, or queries runnin
- You have an Azure Databricks workspace where all-purpose clusters already have automatic termination enabled, so they shut down after the team stops working and idle cost stays low. Each morning, thou
- You have an Azure Databricks workspace named Workspace1 in which a data engineering team recreates all-purpose clusters many times a day, and each new cluster spends several minutes acquiring Azure VM
- You have an Azure Databricks workspace. A colleague wants to reduce both how long clusters take to start and how long autoscaling takes to add nodes during load spikes. They ask which capability is de
- You have an Azure Databricks workspace that contains an all-purpose cluster configured with autoscaling and a low minimum worker count. A cost review shows the cluster still accrues charges overnight
- You have an Azure Databricks workspace that runs scheduled batch pipelines on classic job compute and also hosts several all-purpose clusters that analysts use for interactive notebook development dur
- Instance pools keep warm VMs to reduce cluster start and scale time
An instance pool holds a set of idle, ready-to-use cloud VMs so clusters and autoscaling attach pre-acquired nodes and start faster; you pay the Azure VM cost for idle pooled instances but no DBU until a cluster uses them.
13 questions test this
- You have an Azure Databricks workspace where a data engineering team creates and terminates all-purpose clusters many times a day. Each new cluster takes several minutes to become available because Az
- In an Azure Databricks workspace, an automated integration-test harness creates a fresh all-purpose cluster of the same instance type for every test run and terminates it when the run ends, dozens of
- You manage an Azure Databricks workspace named Workspace1 in which a data engineering team runs several all-purpose clusters for interactive notebook development. To speed up cluster start time, every
- You have an Azure Databricks workspace where several teams each create their own job clusters that all use the same VM instance type. Each cluster waits to acquire fresh VMs at start, and the teams' c
- You are planning an instance pool so that a nightly batch of Azure Databricks jobs starts quickly. Your finance team asks exactly what the workspace is billed for the instances that sit idle in the po
- You have an Azure Databricks workspace with a scheduled job that must begin processing within a tight start-time window each morning. Occasionally the job is late because acquiring new Azure VMs delay
- You have an Azure Databricks workspace where all-purpose clusters already have automatic termination enabled, so they shut down after the team stops working and idle cost stays low. Each morning, thou
- You have an Azure Databricks workspace named Workspace1 in which a data engineering team recreates all-purpose clusters many times a day, and each new cluster spends several minutes acquiring Azure VM
- You have an Azure Databricks workspace with a job cluster that autoscales to handle variable load. During load spikes the cluster adds workers too slowly because acquiring new Azure VMs takes time, an
- You have an Azure Databricks all-purpose cluster with autoscaling enabled to handle bursty interactive workloads. During sudden load spikes users complain that the cluster is slow to speed up because
- You have an Azure Databricks workspace where scheduled jobs must start quickly, so you want a set of machines kept warm and ready. Finance requires that you do not pay Databricks DBU charges for machi
- You have an Azure Databricks workspace. A colleague wants to reduce both how long clusters take to start and how long autoscaling takes to add nodes during load spikes. They ask which capability is de
- You have an Azure Databricks workspace where teams launch many short-lived job clusters throughout the business day. Users complain that each run waits a long time while new Azure VMs are acquired bef
- Spot VMs reduce worker cost but can be reclaimed
Configuring workers as Azure Spot VMs lowers per-hour compute cost, but Azure can reclaim spot capacity at any time, so spot fits fault-tolerant workloads and does not by itself reduce idle-cluster waste.
- Photon is the vectorized engine that accelerates SQL and DataFrame work
Photon is Databricks' native vectorized C++ query engine that transparently accelerates SQL and Spark DataFrame workloads, including JSON ETL and Delta operations; it is turned on per cluster with the Use Photon Acceleration checkbox and is on by default on recent runtimes.
Trap Photon accelerates SQL and DataFrame operations, not arbitrary Python or Scala UDFs.
8 questions test this
- Fabrikam runs an Azure Databricks workspace attached to a Unity Catalog metastore. A nightly Lakeflow job executes a large batch ETL that is written entirely with the Scala DataFrame API: it scans mul
- You manage an Azure Databricks workspace enabled for Unity Catalog. A data engineering team runs a nightly batch job on classic job compute that transforms Delta tables using only Spark SQL and the Da
- You have an Azure Databricks workspace. A data science team needs interactive compute where PyTorch, TensorFlow, and scikit-learn are already available so they can start training models immediately. Y
- You have an Azure Databricks classic job cluster with Photon enabled. A Scala pipeline on it is implemented almost entirely with the low-level RDD and Dataset APIs, and profiling shows almost none of
- You have an Azure Databricks workspace. A Structured Streaming ingestion job reads JSON events from Azure Event Hubs and writes them, unchanged and without any aggregation or windowing, to a Delta tab
- You have an Azure Databricks workspace with a nightly Lakeflow job that runs SQL and DataFrame transformations to load JSON files into a Delta table named Sales. The job is CPU-bound on scans, joins,
- You have an Azure Databricks workspace. A scheduled Spark DataFrame job runs on Photon-enabled job compute, but its runtime has not improved. Investigation shows that most of the job's time is spent i
- You have an Azure Databricks workspace. Before enabling Photon on a large classic job cluster, a stakeholder worries it will require rewriting the existing Spark SQL and DataFrame code, and that any o
- The Databricks Runtime version fixes the bundled Spark version
Choosing a Databricks Runtime (DBR) version sets the bundled Apache Spark version and preinstalled libraries; Long Term Support (LTS) releases are recommended for production because they are supported and patched longer.
9 questions test this
- You have an Azure Databricks workspace and are documenting how compute is configured. A developer needs to know which single compute setting determines the exact Apache Spark version a cluster runs, s
- Your team runs a nightly financial-reporting job on Azure Databricks job compute. Auditors require that a rerun of the job months from now produce identical results, so the bundled Apache Spark versio
- You have an Azure Databricks job whose SQL transformation calls a built-in function that was introduced in Apache Spark 4.0. The job runs on a cluster using an older Databricks Runtime and fails to re
- You manage an Azure Databricks workspace. You are configuring the job compute for a business-critical, scheduled production pipeline that must run unchanged for many months. You need to choose a Datab
- You have an Azure Databricks workspace. A data science team of ten engineers each spins up their own compute, and their models produce inconsistent results because everyone installs different versions
- Woodgrove Bank runs a business-critical, scheduled Lakeflow job on classic job compute in an Azure Databricks workspace. The job was pinned to a recent non-LTS Databricks Runtime release, yet over sev
- You have Azure Databricks compute in a development workspace and a production workspace. A data engineering team reports that the same job returns different results because the two workspaces run diff
- You manage Azure Databricks compute for a pipeline that is promoted across separate development, test, and production workspaces. Occasionally the pipeline behaves differently between environments bec
- You are provisioning job compute for a newly built, business-critical ETL pipeline on Azure Databricks that will run on a fixed schedule for the foreseeable future. The team must minimize the risk of
- Databricks Runtime for Machine Learning preinstalls ML libraries
The Databricks Runtime for Machine Learning extends the standard runtime with preinstalled ML libraries such as PyTorch, TensorFlow, and scikit-learn (with GPU variants), so selecting it avoids manually installing the ML stack.
8 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. A data engineer must build features for a machine learning project and track experiments, and needs the Databricks feature-engineering
- You have an Azure Databricks workspace. A data science team needs interactive compute where PyTorch, TensorFlow, and scikit-learn are already available so they can start training models immediately. Y
- You have an Azure Databricks workspace. A data science team of ten engineers each spins up their own compute, and their models produce inconsistent results because everyone installs different versions
- You have an Azure Databricks workspace. A team trains scikit-learn and XGBoost models on modest tabular datasets that fit comfortably in memory, and does no deep-learning or neural-network training. T
- You have an Azure Databricks workspace. A model must be retrained on a fixed nightly schedule as a non-interactive pipeline, and the training code depends on scikit-learn and MLflow being present. You
- A data science team on your Azure Databricks workspace currently pip-installs scikit-learn, XGBoost, and MLflow onto every new all-purpose cluster before they can start work. The manual installs are s
- You have an Azure Databricks workspace with a nightly Lakeflow job that runs SQL and DataFrame transformations to load JSON files into a Delta table named Sales. The job is CPU-bound on scans, joins,
- You have an Azure Databricks workspace. A data science team needs a classic compute resource on which they can immediately use PyTorch, TensorFlow, and scikit-learn to train models. You must make thes
- Cluster-scoped libraries load for every notebook; notebook-scoped are session only
Cluster-scoped libraries install on the cluster and are available to every notebook attached to it, whereas notebook-scoped libraries installed with %pip apply only to the current notebook session and are discarded when the cluster restarts.
12 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. Your team built an internal Python utility packaged as a wheel (.whl) file that is not published to PyPI or any public index. You need
- You have an Azure Databricks workspace named Workspace1 with an all-purpose cluster named Cluster1 that a data engineering team shares. A custom Python wheel must be available to every notebook and jo
- You have an Azure Databricks workspace with an all-purpose cluster named Cluster1 that several data engineers attach their notebooks to. A new Python package must be available to every notebook and jo
- You have an Azure Databricks workspace. A data science team runs R workloads on an all-purpose cluster named ClusterDS that uses dedicated access mode. They need a specific analytics package that is p
- You have an Azure Databricks all-purpose cluster shared by several analysts. One analyst needs a newer version of a Python package for a single notebook. The change must not affect the package version
- You have an Azure Databricks all-purpose cluster. During development, an engineer installs several Python packages in a notebook using %pip install. After the cluster is restarted for maintenance, the
- You have an Azure Databricks all-purpose cluster named Cluster1 with a notebook currently attached and running. An admin installs a new compute-scoped library on Cluster1. The engineer using the attac
- You have an Azure Databricks workspace with a shared all-purpose cluster named Cluster1 used by several analysts. One analyst needs a newer version of a Python plotting library for a single explorator
- You have an Azure Databricks workspace named WS1 with a shared all-purpose cluster named ClusterR that several analysts attach notebooks to, and ClusterR also runs scheduled R jobs in production. An a
- You have an Azure Databricks cluster. A data engineering team needs the cluster to install a fixed set of about 20 pinned Python dependencies (all available on PyPI) as compute-scoped libraries. They
- You have an Azure Databricks all-purpose cluster named Cluster1 with a notebook already attached and running. You install a new cluster-scoped library on Cluster1, but the attached notebook still cann
- You have an Azure Databricks all-purpose cluster. Analysts install packages with %pip at the start of their notebooks, but after the cluster restarts the packages are gone and their notebooks fail unt
- Libraries install from package repositories or from files and volumes
Compute libraries can be installed from package repositories (PyPI, Maven, CRAN) or from uploaded artifacts such as wheel, egg, or JAR files stored in workspace files or Unity Catalog volumes.
8 questions test this
- You have an Azure Databricks workspace enabled for Unity Catalog. Your team built an internal Python utility packaged as a wheel (.whl) file that is not published to PyPI or any public index. You need
- You have an Azure Databricks workspace running Databricks Runtime 15.4 LTS that is not enabled for Unity Catalog. Your team maintains a custom Python wheel in the workspace file tree next to the proje
- You have an Azure Databricks workspace enabled for Unity Catalog. A team runs R workloads on an all-purpose cluster named ClusterProd that uses standard access mode. You try to install an R package fr
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs to install a custom JAR and a proprietary Maven library on a cluster for a short experiment. The JAR is not on
- You have an Azure Databricks workspace. A data science team runs R workloads on an all-purpose cluster named ClusterDS that uses dedicated access mode. They need a specific analytics package that is p
- You have an Azure Databricks workspace enabled for Unity Catalog. A team maintains an internal Python utility that they have historically distributed as a Python egg (.egg) file. They now run on a cur
- You have an Azure Databricks workspace on Databricks Runtime 15.x that is enabled for Unity Catalog. A team has historically stored a custom Python library in the DBFS root and installed it from there
- You have an Azure Databricks cluster. A data engineering team needs the cluster to install a fixed set of about 20 pinned Python dependencies (all available on PyPI) as compute-scoped libraries. They
- Standard access mode installs only allowlisted libraries
On standard (formerly shared) access mode compute, libraries and init scripts must be on the Unity Catalog allowlist maintained by a metastore admin, whereas dedicated access mode has no such restriction.
Trap The Unity Catalog allowlist governs standard access mode; dedicated (single-user) compute is not subject to it.
8 questions test this
- You are the metastore admin for a Unity Catalog metastore. Developers using standard access mode compute need to install several approved JARs and init scripts stored in a Unity Catalog volume. You ne
- You have an Azure Databricks workspace enabled for Unity Catalog. A team runs R workloads on an all-purpose cluster named ClusterProd that uses standard access mode. You try to install an R package fr
- You have a Unity Catalog-enabled Azure Databricks workspace. A data engineer must install a third-party JAR library, stored in a Unity Catalog volume, on a cluster that uses standard access mode so th
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs to install a custom JAR and a proprietary Maven library on a cluster for a short experiment. The JAR is not on
- You have an Azure Databricks workspace enabled for Unity Catalog. A cluster in standard access mode needs a cluster-scoped init script stored in a Unity Catalog volume and a Python package from PyPI.
- You have a Unity Catalog-enabled Azure Databricks workspace. A data engineer must install a JAR library and run a cluster-scoped init script on their own compute, but metastore admins have not added t
- You have an Azure Databricks workspace enabled for Unity Catalog. A team maintains an internal Python utility that they have historically distributed as a Python egg (.egg) file. They now run on a cur
- You have an Azure Databricks workspace attached to a Unity Catalog metastore. A data engineering team needs to install a third-party Spark connector distributed as a JAR onto a cluster that uses stand
- Compute ACLs grant CAN ATTACH TO, CAN RESTART, or CAN MANAGE
Compute access control assigns three permission levels to users, groups, or service principals: CAN ATTACH TO (run commands and view logs), CAN RESTART (start, stop, and restart), and CAN MANAGE (edit configuration and permissions).
14 questions test this
- You have an Azure Databricks workspace that contains an all-purpose compute resource named TeamCluster. A team lead who is not a workspace admin must be able to grant and revoke other users' permissio
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace on the Premium plan. A group of data engineers must be able to create their own all-purpose compute for development, but you need to ensure that any compute they
- You have an Azure Databricks workspace enabled for Unity Catalog that contains an all-purpose cluster named DevCluster1. A group of data analysts named analysts1 must attach notebooks to DevCluster1,
- You have an Azure Databricks workspace on the Premium plan. Business analysts must be allowed to create their own all-purpose clusters, but only with an approved node type, a Long Term Support Databri
- You have an Azure Databricks workspace that contains an all-purpose cluster named OpsCluster1 used by a support team. A group of on-call engineers named oncall1 must be able to start, stop, and restar
- You have an Azure Databricks workspace that contains a shared all-purpose cluster named TeamCluster1. A team lead must be able to edit TeamCluster1 (resize it and change its libraries) and grant other
- You have an Azure Databricks workspace that contains an all-purpose compute resource named DevCluster used by a development team. You need to let a group of data scientists named DS1 attach notebooks
- You have an Azure Databricks workspace that contains a production all-purpose cluster named ProdCluster1. An external orchestrator authenticates as a service principal named sp-orch and must run comma
- You have an Azure Databricks workspace named Workspace1 that contains an all-purpose compute resource named Cluster1 used by a data engineering team. You need to allow an on-call operations group name
- You have an Azure Databricks workspace on the Premium plan. A workspace admin has created a compute policy named Analyst-Policy that enforces approved cluster settings. A group of analysts named analy
- You have an Azure Databricks workspace on the Premium plan that contains a production all-purpose compute resource named StreamProd1 running on standard access mode. A platform reliability group named
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- You have an Azure Databricks workspace that contains an all-purpose compute resource named Cluster2. A senior engineer reports that they can attach notebooks to Cluster2 and restart it but cannot edit
- Access mode (standard vs dedicated) sets sharing and Unity Catalog support
A cluster's access mode determines sharing: standard access mode supports multiple concurrent users with full Unity Catalog governance, while dedicated access mode is assigned to a single user or group; both are Unity Catalog-enabled.
Trap The legacy No Isolation Shared access mode is not Unity Catalog-enabled.
8 questions test this
- You have an Azure Databricks workspace that contains an all-purpose cluster using the legacy No Isolation Shared access mode. The cluster is shared concurrently by several analysts, and all of them mu
- You have an Azure Databricks workspace enabled for Unity Catalog. An Azure Databricks group named team_ds needs an all-purpose cluster that only its members can use, running Databricks Runtime for Mac
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace that is enabled for Unity Catalog. A team of eight analysts must share a single all-purpose compute resource to run interactive Python and SQL against catalog ta
- You have an Azure Databricks workspace attached to a Unity Catalog metastore. An existing all-purpose cluster uses the legacy No isolation shared access mode, and users report that it cannot query tab
- You have an Azure Databricks workspace enabled for Unity Catalog. Several data engineers must share one all-purpose cluster concurrently for collaborative development, every user must be governed by U
- You have an Azure Databricks workspace enabled for Unity Catalog. A data scientist needs an all-purpose cluster that runs a workload written in R on Databricks Runtime for Machine Learning. The cluste
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- Creating compute requires the cluster-creation entitlement
A user can create all-purpose compute only if granted the unrestricted or policy-scoped cluster-creation entitlement; without it they can merely attach to existing compute they have been given access to.
- Cluster policies constrain what compute a user can create
A cluster (compute) policy is an admin-defined rule set that limits the compute a user may create or configure - allowed node types and Databricks Runtime versions, enforced auto-termination, maximum workers or DBU caps, and mandatory tags. Granting a user a policy scopes their cluster-creation entitlement to compute that complies with it, enforcing cost control and standards.
Trap A cluster policy governs the compute a user may CREATE (its configuration limits); that is different from a cluster ACL that grants Can Attach/Can Manage on an already-existing cluster.
14 questions test this
- You have an Azure Databricks workspace that contains an all-purpose compute resource named TeamCluster. A team lead who is not a workspace admin must be able to grant and revoke other users' permissio
- You have an Azure Databricks workspace enabled for Unity Catalog. An Azure Databricks group named team_ds needs an all-purpose cluster that only its members can use, running Databricks Runtime for Mac
- You have an Azure Databricks workspace on the Premium plan that is enabled for Unity Catalog. A group of data scientists named dsteam1 must be able to self-provision their own all-purpose compute for
- You have an Azure Databricks workspace on the Premium plan. A group of data engineers must be able to create their own all-purpose compute for development, but you need to ensure that any compute they
- You have an Azure Databricks workspace enabled for Unity Catalog that contains an all-purpose cluster named DevCluster1. A group of data analysts named analysts1 must attach notebooks to DevCluster1,
- You have an Azure Databricks workspace on the Premium plan. Business analysts must be allowed to create their own all-purpose clusters, but only with an approved node type, a Long Term Support Databri
- You have an Azure Databricks workspace that contains an all-purpose cluster named OpsCluster1 used by a support team. A group of on-call engineers named oncall1 must be able to start, stop, and restar
- You have an Azure Databricks workspace that contains a shared all-purpose cluster named TeamCluster1. A team lead must be able to edit TeamCluster1 (resize it and change its libraries) and grant other
- You have an Azure Databricks workspace on the Premium plan. You want to let a group create their own all-purpose compute through self-service while ensuring that every cluster they create uses a long-
- You have an Azure Databricks workspace that contains a production all-purpose cluster named ProdCluster1. An external orchestrator authenticates as a service principal named sp-orch and must run comma
- You have an Azure Databricks workspace on the Premium plan. A workspace admin has created a compute policy named Analyst-Policy that enforces approved cluster settings. A group of analysts named analy
- You have an Azure Databricks workspace on the Premium plan that contains a production all-purpose compute resource named StreamProd1 running on standard access mode. A platform reliability group named
- You have an Azure Databricks workspace on the Premium plan. A data engineering team must be able to create only job compute (not all-purpose compute) on a Long Term Support Databricks Runtime, and eac
- You have an Azure Databricks workspace that contains an all-purpose compute resource named Cluster2. A senior engineer reports that they can attach notebooks to Cluster2 and restart it but cannot edit
Also tested in
References
- Configure compute for jobs
- Classic compute overview
- SQL warehouse types
- Connect to serverless compute
- Compute configuration reference
- Optimize Lakeflow Spark Declarative Pipelines cluster utilization with autoscaling
- Connect to pools
- What is Photon?
- SQL warehouse sizing, scaling, and queuing behavior
- Create a SQL warehouse
- Databricks Runtime release notes versions and compatibility
- Databricks Runtime for Machine Learning
- Install libraries
- Allowlist libraries and init scripts on compute with standard access mode (formerly shared access mode)
- Manage entitlements
- Create and manage compute policies
- Standard compute requirements and limitations