Subdomain 1.2: Understand Databricks Data Intelligence Platform’s compute services
1.Several data scientists want to share one running cluster throughout the day so they can attach notebooks, run ad hoc exploratory queries, and install shared libraries without waiting for a new cluster to start each time. Which compute type fits this pattern?
- A.A job cluster, since Databricks provisions it fresh for each notebook attachment and automatically shares libraries across every user session.
- B.A serverless SQL warehouse, since it is designed for teams to attach notebooks directly and install custom Python libraries for exploration.
- C.A Classic SQL warehouse, since Classic warehouses allow notebook attachment and multi-user library installation during interactive sessions.
- D.An all-purpose cluster, since it stays available for multiple users to attach notebooks and share libraries across an interactive session.
Show answer & explanation
Correct answer: D — An all-purpose cluster, since it stays available for multiple users to attach notebooks and share libraries across an interactive session.
- A. A job cluster is created for a single scheduled job run and terminates when that run finishes, so it does not stay available for multiple data scientists to attach notebooks throughout the day. It is not intended for shared, ongoing interactive use.
- B. SQL warehouses are built to run SQL queries against Databricks SQL and do not support attaching general-purpose notebooks or installing arbitrary Python libraries for exploratory work. This makes them unsuitable for the described shared notebook workflow.
- C. Like other SQL warehouse tiers, Classic warehouses serve SQL queries rather than hosting attached notebooks or arbitrary library installs, so they do not match the described interactive multi-user notebook workflow. Notebook attachment is a cluster capability, not a SQL warehouse one.
- D. An all-purpose cluster is designed to remain running so multiple users can attach notebooks, share installed libraries, and run interactive exploratory queries without waiting for a fresh cluster to start. This directly matches the described collaborative workflow.