Prepstellar

DP-750 · Compute and Catalog Foundations

22 cards

Selecting Azure Databricks Compute Types

Swipe, scroll or use ← →
  1. Start from the work, not from the cluster

    Every compute decision begins with the work you have to execute and the capabilities that work requires. Pick the wrong surface and you pay for idle machines, wait minutes for a cluster that should have started in seconds, or discover halfway through that a language or an API is simply not available.

    Serverless compute is managed by Azure Databricks. You do not provision or configure infrastructure: the platform automatically allocates and scales resources to match the demand of the workload, and it scales down when the work stops. Those resources run in the Databricks Azure subscription, not yours, so no virtual machines or networking components appear in your own subscription. Startup typically takes seconds rather than minutes.

    Serverless requires Unity Catalog, and it is available for notebooks, jobs, Lakeflow Spark Declarative Pipelines, and SQL warehouses.

    1 / 22
  2. Start from the work, not from the cluster

    Serverless buys speed and simplicity by taking choices away from you. Its runtime is versionless: Azure Databricks applies upgrades for you, so you always run recent features without a migration project, but you do not pin or schedule a version.

    The trade-off shows up as unsupported capabilities. In notebooks, serverless does not support:

    Not available on serverless notebooks Where it does work
    Scala Classic compute
    R language Classic compute, dedicated access mode
    JAR libraries Classic compute
    RDD APIs Classic compute, dedicated access mode
    Unrestricted custom Spark configuration Classic compute

    Choose serverless when fast startup and minimal infrastructure management matter more than those capabilities. Exploratory analysis, ETL pipelines, and business intelligence workloads are its natural home.

    2 / 22
  3. Quick check

    A team wants the compute surface that most directly removes infrastructure-management effort. Which description matches serverless compute?

    1. AA fixed worker count stays active between workloads so capacity is always ready

      Serverless scales with demand instead of holding a fixed cluster between workloads, so a static worker count is not what it offers.

    2. BAzure Databricks allocates and scales the resources, and they run in the Databricks subscription

      Right. Allocation and scaling belong to Azure Databricks, and the resources never appear as virtual machines in the customer subscription.

    3. CThe team selects each virtual machine size and patches those machines as part of routine operations work

      Selecting and maintaining machines describes classic compute, which is exactly the work serverless removes.

    3 / 22

  4. Classic compute and runtime control

    Classic compute is the opposite bargain: you create, size, and manage clusters that run in your own Azure subscription, with visibility over the underlying infrastructure. You control instance types, autoscaling rules, and the Databricks Runtime version. Startup typically ranges from a few minutes rather than seconds.

    Runtime management is the cleanest way to tell the two apart.

    Serverless Classic
    Runtime version Versionless; upgrades applied automatically You select the version and decide when to move, for example from one long-term-support release to the next
    Infrastructure Hidden and managed for you Visible in your subscription
    Machines Never exposed You choose instance types

    Operating-system and security updates can be automated on classic compute, but moving from one runtime version to another remains a deliberate choice you make. Use classic compute when the workload needs infrastructure control, custom networking, a specific instance type, or a capability that serverless does not offer.

    4 / 22
  5. Quick check

    What separates classic compute from serverless compute in terms of runtime management?

    1. AServerless exposes each underlying machine so a runtime can be installed on it manually

      Serverless hides the infrastructure entirely; there are no machines for anyone to install a runtime on.

    2. BServerless asks the team to schedule its own runtime upgrades ahead of each release

      Serverless upgrades itself because its runtime is versionless, so no upgrade scheduling is asked of the team.

    3. CClassic compute lets the team select and manage the version of the Databricks Runtime it needs

      Right. Explicit runtime selection is a classic-compute capability, while serverless runs a versionless runtime that upgrades automatically.

    5 / 22

  6. Access modes and cluster shape

    Classic compute has two access modes, and they answer one question: who is allowed on this cluster at the same time.

    Standard access mode lets multiple users share a single cluster concurrently. Lakeguard keeps user code isolated, so one person's work cannot interfere with another's. This is the mode for collaborative data engineering and shared analytics, and it lowers cost because resources are pooled instead of duplicated per person. Compute in Standard access mode is what people mean by shared compute.

    Dedicated access mode assigns the cluster to a single user or group. Because that user or group owns the machine, dedicated access grants machine-level privileges, and those privileges are what unlock RDD APIs, GPU workloads, R language support, and custom container environments.

    6 / 22
  7. Access modes and cluster shape

    Access mode is not the same dial as cluster mode, which describes the architecture of the cluster itself.

    Dial Options What it decides
    Access mode Standard, Dedicated How many users share the cluster and which machine-level features are available
    Cluster mode Multi-node, Single-node Whether work is distributed across worker nodes

    A multi-node cluster has one driver and one or more workers: the driver coordinates and the workers compute in parallel, so the cluster scales horizontally for large volumes. A single-node cluster has a driver and no workers, so nothing distributes; it suits light exploration, small datasets, and machine-learning frameworks that do not distribute on their own. Single-node clusters cannot scale out, so distributed processing needs a multi-node cluster.

    7 / 22
  8. Quick check

    Several engineers must share one cluster to control cost. Their Python and SQL notebooks use no RDDs, GPUs, R, or custom containers, and each user's work must stay isolated. What fits?

    1. AClassic compute in Standard access mode

      Right. Standard access mode is the shared mode: several users work on one classic cluster at once and Lakeguard isolates their code.

    2. BClassic compute dedicated to one of the engineers

      Dedicated access assigns the cluster to one user or group, which defeats the point of sharing and is reserved for machine-level needs.

    3. CA single-node cluster, which is the access mode built for shared work

      Single-node is a cluster architecture with no workers, not an access mode, and it says nothing about isolation between users.

    8 / 22

  9. Keep your progress in the app

    That’s 3 of 9 quick checks. In the app they stay answered, and every lesson remembers where you left off.

  10. SQL warehouses for analytics

    A SQL warehouse is compute optimized specifically for SQL queries, analytics, and business intelligence. When the interface to the work is SQL and the audience is dashboards and reports, this is the surface to reach for, not a notebook cluster.

    There are three types, and they are not interchangeable.

    Warehouse type What it adds Choose it when
    Serverless Intelligent Workload Management, dynamic scaling, Photon, Predictive IO; starts in seconds Most SQL work: dashboards, reporting, ad hoc analysis
    Pro Photon and Predictive IO, without Intelligent Workload Management; starts in about four minutes Custom networking is required
    Classic Photon and basic autoscaling only The other two are unavailable, or exploration is basic
    9 / 22
  11. SQL warehouses for analytics

    The custom-networking clause is the one that decides real cases. A pro SQL warehouse is the warehouse type that supports custom network configurations, such as reaching an on-premises database through federation or integrating with services inside your own virtual network.

    Serverless warehouses cannot provide that integration, because serverless compute operates in the Databricks-managed subscription and does not join your network. So a SQL workload that must reach an on-premises system through a custom network lands on pro, even though serverless would otherwise be the faster and more automatic option.

    Classic warehouses stay at the bottom of the list: Photon and basic autoscaling, useful when nothing better is available.

    10 / 22
  12. Quick check

    A SQL workload must reach an on-premises database through a custom network. Which warehouse type fits?

    1. AA serverless SQL warehouse, since dynamic scaling covers any connectivity need

      Serverless warehouses run in the Databricks-managed subscription and do not offer the custom network integration this workload needs.

    2. BA classic SQL warehouse, because basic autoscaling handles external systems

      Basic autoscaling is a performance setting and has nothing to do with reaching a network outside the platform.

    3. CA pro SQL warehouse, which keeps Photon and Predictive IO and supports custom networking

      Right. Pro warehouses are the documented choice when custom networking is required, and they retain Photon and Predictive IO.

    11 / 22

  13. Job compute for automated runs

    Job compute is compute for automated workflows rather than interactive development. Its defining behavior is the lifecycle: a job cluster terminates automatically once its tasks finish, so no idle compute survives between runs. That is the difference from an interactive cluster, which stays up waiting for the next person to type something.

    When you configure a job you still choose between two flavors:

    • Serverless job compute: faster startup, automatic infrastructure management, and lower cost for most automated work.
    • Classic job compute: more configuration options, for workloads that need something serverless does not support.
    12 / 22
  14. Job compute for automated runs

    Classic job compute keeps the optimization levers: autoscaling, instance choice, and spot instances, which use spare Azure capacity at a steep discount. Azure can reclaim a spot machine on short notice, and Spark's fault tolerance retries the affected tasks elsewhere, which makes spot a reasonable saving for batch and ETL work.

    The Job Compute policy provides a template for production-ready job clusters with sensible defaults, including a recent long-term-support runtime.

    Put the two decisions in order: first job compute rather than an interactive cluster, then serverless unless a specific requirement forces classic.

    13 / 22
  15. Quick check

    A team runs infrequent Python ETL. Each run should start quickly, scale without cluster sizing, and release resources afterwards; the code uses no RDD APIs, JARs, or custom Spark settings. What fits best?

    1. AServerless job compute

      Right. Job compute releases its resources when the tasks finish, and the serverless flavor removes sizing work and starts quickly for a supported Python workload.

    2. BShared classic compute in Standard access mode, left running for the team

      A shared interactive cluster stays up between runs, which is the idle cost this workload is trying to avoid.

    3. CA serverless SQL warehouse, with the Python tasks submitted as scheduled queries

      A SQL warehouse executes SQL analytics; it is not an execution surface for Python ETL tasks.

    14 / 22

  16. Instance pools keep machines warm

    An instance pool holds a set of idle virtual machines ready for immediate use. When a cluster starts from a pool, Databricks takes machines that already exist instead of requesting new ones from Azure, which can cut startup from minutes to under a minute. Released machines return to the pool for the next cluster.

    The bill explains the trade-off: you pay the virtual-machine cost of idle instances in the pool, but not Databricks compute units for them. Pools pay off only when workloads run often enough for the saved startup time to be worth that idle capacity.

    Note what a pool is not: it supplies machines to classic clusters, it does not execute queries or tasks itself. With serverless available, pools matter less, since serverless starts faster without any idle capacity to maintain. They remain useful when you need classic features and want faster starts.

    15 / 22
  17. Quick check

    Which statement describes an instance pool correctly?

    1. AIt is the compute surface that executes SQL analytics and BI queries

      SQL analytics and BI run on a SQL warehouse; a pool never executes a query itself.

    2. BIt holds idle machines that classic clusters start from, and you pay for that idle capacity

      Right. A pool trades the cost of warm machines for shorter cluster startup, and it supplies those machines to classic clusters.

    3. CIt replaces classic compute entirely by taking over every runtime upgrade on behalf of the team

      Automatic runtime upgrades belong to the versionless serverless runtime, not to pools, which serve classic compute.

    16 / 22

  18. Serverless performance modes

    Serverless compute for jobs and pipelines exposes two performance modes, a cost-versus-startup dial that exists only inside serverless. It is not an access mode and it has nothing to do with sharing a classic cluster.

    Mode Startup Why choose it
    Performance optimized (default) Seconds, from a pool of warm resources Interactive work and latency-sensitive jobs
    Standard Roughly four to six minutes Scheduled batch jobs and pipelines where waiting is acceptable; it can cut consumption substantially

    You set the mode with the Performance optimized toggle on the job details page. Standard mode is not offered for continuous pipelines or for one-time runs submitted through the submit-run endpoint, and notebooks only run in performance-optimized mode.

    17 / 22
  19. Quick check

    A nightly batch pipeline on serverless does not care about a few minutes of startup, but the team wants to reduce consumption. Which setting applies?

    1. ASwitch the pipeline to Standard access mode so users share the resources

      Standard access mode governs user sharing on a classic cluster and is not a serverless cost setting.

    2. BTurn off the Performance optimized toggle so the job runs in standard performance mode

      Right. Standard performance mode accepts a longer startup in exchange for substantially lower consumption, which suits a scheduled batch pipeline.

    3. CMove the pipeline onto a classic SQL warehouse, which is the cheapest warehouse tier available

      A classic SQL warehouse is the weakest warehouse tier for SQL work and does nothing for a serverless pipeline's cost.

    18 / 22

  20. Put the decision together

    Three questions, in this order, settle almost every case.

    1. What is the interface of the work? SQL analytics and BI point to a SQL warehouse. An automated workflow points to job compute. Interactive notebook development points to a notebook cluster.
    2. Does anything block serverless? RDD APIs, R, GPUs, custom containers, custom networking, or a specific instance type move the choice to classic compute, and machine-level features move it specifically to dedicated access mode.
    3. What about overhead and startup? With nothing blocking it, serverless wins on management and startup; frequent classic workloads may justify a pool.

    A worked case: a production notebook trains a neural network on GPU machines, uses R, needs a chosen runtime version, and must keep resources inside the company's Azure subscription. GPUs and R require machine-level privileges, the runtime choice requires classic, and the subscription requirement rules serverless out. The answer is classic compute in dedicated access mode.

    19 / 22
  21. Quick check

    A notebook trains a model on GPU instances, uses R, needs a specific runtime version, and must run in the company's own Azure subscription. Which choice satisfies all four?

    1. AServerless notebook compute, whose automatic upgrades keep the runtime current

      Serverless notebooks support neither R nor GPU work, its runtime is versionless, and its resources sit outside the customer subscription.

    2. BA serverless SQL warehouse with dynamic scaling and Photon

      A SQL warehouse runs SQL queries and is not an environment for training a model from a notebook.

    3. CClassic compute in dedicated access mode

      Right. Dedicated access grants the machine-level privileges GPUs and R need, and classic compute allows runtime selection inside the customer's own subscription.

    20 / 22

  22. Key takeaways

    • Job compute is for automated workflows that should leave nothing running: the cluster terminates when its tasks finish.
    • Serverless compute manages, allocates, and scales itself for supported workloads, at the price of Scala, R, JAR libraries, RDD APIs, and free-form Spark configuration.
    • A SQL warehouse is the surface for SQL analytics and business intelligence, with pro reserved for custom networking and classic for when nothing better is available.
    • Classic compute is the answer whenever the workload needs configurable infrastructure, a chosen runtime version, or a capability serverless lacks.
    • Shared compute means classic compute in Standard access mode: several users, one cluster, isolated code; dedicated access is for a single user or group that needs machine-level features.
    21 / 22
  23. Quick check

    Which summary keeps the roles straight?

    1. AA SQL warehouse serves SQL analytics, job compute ends with its tasks, and Standard access mode shares a cluster

      Right. Those are the three distinct roles: the analytics surface, the automated lifecycle, and the shared classic cluster.

    2. BA pool executes SQL queries, dedicated access mode is the shared option, and serverless supports RDD APIs

      A pool only supplies machines, dedicated access is the single-user option, and RDD APIs are unavailable on serverless.

    3. CJob compute stays warm between runs, serverless exposes its machines, and classic compute upgrades its runtime silently

      Job clusters terminate after their tasks, serverless never exposes machines, and it is serverless, not classic, whose runtime upgrades on its own.

    22 / 22

  24. 9 quick checks · then the test

    In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.

The whole course, on your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.