Let’s Get Certified
Module 06 / 21 · The platform

The Databricks platform

Follow a query through the control and compute planes and identify the jobs of Spark, Delta Lake, and Unity Catalog.

What Databricks is

Databricks is a unified data and AI platform built on open source projects its founders created: Apache Spark (distributed processing), Delta Lake (table format), and MLflow (ML lifecycle). It runs on AWS, Azure and Google Cloud. The current branding is the Data Intelligence Platform: a lakehouse plus AI features that understand your data's semantics (Genie, AI/BI dashboards, Databricks Assistant).

Architecture: control plane and compute plane

PlaneManaged byContains
Control planeDatabricks, in Databricks' cloud accountWeb application, notebooks' source, job scheduler, cluster manager, Unity Catalog metadata, REST APIs
Classic compute planeRuns in your cloud account and networkVMs for all-purpose and job clusters, classic SQL warehouses
Serverless compute planeRuns in Databricks' cloud account, isolated per workspaceServerless SQL warehouses, serverless notebooks, jobs and pipelines

Terminology: older material calls the compute plane the data plane. Same idea: the control plane runs the interface and orchestration, the data (compute) plane runs your data processing.

Your data stays in cloud object storage (your S3 bucket, ADLS container or GCS bucket), with Unity Catalog managing access to it.

Account, workspace, metastore

  • Account: the top level. Holds users, groups, service principals, workspaces and Unity Catalog metastores. Managed in the account console.
  • Workspace: an environment where teams work (notebooks, jobs, clusters, SQL). A company has several, for example dev, test, prod.
  • Metastore: the top-level Unity Catalog container, one per region, attached to one or more workspaces.

Creating a workspace

Workspaces are created in the account console (top-right workspace menu, Manage account, then Workspaces, Create workspace). Each workspace lives in one cloud region, so data residency, sovereignty and latency are common reasons to run several workspaces (for example a separate prod workspace in Tokyo for Japanese data), alongside dev/test/prod separation.

  • Classic workspace: linked to your own cloud account (credentials, storage, network). Supports classic clusters.
  • Serverless workspace: serverless compute with Databricks-managed default storage; fewer settings to configure.

An empty workspace costs nothing; you pay when compute runs. A workspace has no DBU cost while nothing runs in it, though a classic workspace can still incur cloud charges in your account. Switch between workspaces with the workspace dropdown in the top bar.

Core components

ComponentRole
Apache SparkDistributed engine for batch and streaming, in Python (PySpark), SQL, Scala, R
PhotonDatabricks' vectorized native (C++) query engine. Speeds up SQL and DataFrame workloads with no code change. Always on in SQL warehouses and serverless.
Delta LakeDefault table format: Parquet files plus a transaction log, giving ACID, time travel, schema enforcement (Delta Lake)
Unity CatalogUnified governance: access control, lineage, auditing, discovery across workspaces (Modules 19, 20)
LakeflowData engineering suite. For the exam, distinguish Lakeflow Connect (ingestion), Lakeflow Declarative Pipelines (transformation), Lakeflow Jobs (orchestration)
Databricks SQLSQL warehouses, SQL editor, AI/BI dashboards, alerts, Genie spaces
Mosaic AI / MLflowML and generative AI (not on this exam beyond recognition)
Delta SharingOpen protocol for sharing live data with other organizations

Older material says "Databricks SQL Analytics": that is today's Databricks SQL.

Storage: DBFS and volumes

DBFS (Databricks File System) is a legacy abstraction over storage with paths like dbfs:/. The DBFS root and mounts are now deprecated for storing data. The current way to hold files is a Unity Catalog volume, with paths like /Volumes/<catalog>/<schema>/<volume>/path/file.csv. Volumes are governed by Unity Catalog permissions.

Why the lakehouse beats lake plus warehouse

For a shared BI and machine learning dataset, Delta provides a versioned snapshot that readers can query during a write. Unity Catalog adds permissions, lineage, and audit data around that table.

Getting a workspace

There are several ways to get Databricks:

  • Databricks directly (databricks.com): free trial with Express setup (Databricks manages the cloud infrastructure, serverless) or use an existing cloud account (you control compute and storage in your own AWS, Azure or GCP account).
  • Through a cloud marketplace: AWS Marketplace and Google Cloud Marketplace list Databricks; billing then goes through your cloud bill.
  • Azure Databricks: a first-party Azure service, jointly offered by Microsoft and Databricks, created from the Azure portal (workspace name, region, pricing tier, managed resource group). It integrates with Azure Data Factory (batch), Event Hubs, IoT Hub and Kafka (streaming), and Blob Storage and ADLS (storage).

Pricing tiers

Premium and Enterprise on AWS and GCP; Azure has offered Standard and Premium plus a 14-day trial with free DBUs. Role-based access control and Unity Catalog features need Premium or higher.

Free Edition for learning

Databricks Free Edition gives you a free serverless workspace for learning. It replaced the older Community Edition. Some features, such as classic clusters and some admin settings, are not available there, so read the UI sections of this course even if you cannot click them.

Trace a notebook query

You submit a query against a Delta table from a notebook on classic compute. Identify where you edit the notebook, where Spark runs the tasks, and where the table data lives.

Check your reasoning

The workspace is the editing surface. Spark runs the work on the compute plane, and table data and the transaction log live in cloud storage. Unity Catalog governs the table reference and access.

Product reference

Databricks components in the Databricks documentation

Knowledge check

The Databricks platform quiz

Answer 4 questions. Check each answer for an explanation.