What you will be able to do
- Explain how the lakehouse architecture and the Data Intelligence Engine combine data lake storage, warehouse reliability and AI that understands your data
- Describe Delta Lake as Parquet files plus a transaction log, and why every Databricks table is a Delta table by default
- Describe Unity Catalog's role as the governance layer, including the catalog.schema.object namespace and what happens to files when managed and external tables are dropped
- Tell Databricks SQL apart from Lakebase, and say which workload each one serves
- Tell Lakeflow Declarative Pipelines apart from Lakeflow Jobs, and say where Mosaic AI fits
Key concept
Data Intelligence Platform (lakehouse + Data Intelligence Engine) — A single platform built on the lakehouse architecture, which puts warehouse-style tables on low-cost lake storage. It is powered by a data intelligence engine that uses AI to learn your data's semantics so it can optimize performance and support search. Delta Lake, Unity Catalog, Databricks SQL, Lakeflow, Lakebase and Mosaic AI are all layers built on that foundation.
1.The lakehouse and the Data Intelligence Engine
Before the lakehouse, organizations usually ran two systems. A data lake held cheap, flexible files. A data warehouse held reliable, query-ready tables for BI. ETL jobs copied data between the two, and every copy was another chance for reports to drift out of sync. The data lakehouse combines enterprise data warehouses and data lakes into one platform. Data engineers, data scientists, analysts and production systems all use it as their single source of truth, so nobody has to build and sync many separate data systems.
The Data Intelligence Engine is the second half of the design. Databricks uses AI together with the lakehouse to understand the unique semantics of your data. It then optimizes performance and manages infrastructure automatically. The same intelligence powers natural language features. The platform learns your business's language, so you can find data by asking a question in your own words, and assistants help you write code and fix errors.
Together, the lakehouse and the engine form the foundation, and every other component sits on top of it. The Databricks Data + AI Platform is described as an open, unified foundation for ETL, ML/AI and DWH/BI workloads, with Unity Catalog as its central governance solution. Several of the layers are open source projects that Databricks employees created, including Delta Lake, Unity Catalog, Apache Spark and MLflow. That is why data stored in the lakehouse is not locked into a proprietary format.
Checkpoint 1 of 9· Check yourself
A retailer keeps raw files in a data lake and BI tables in a separate data warehouse. Nightly ETL jobs copy data from one to the other, and dashboards often disagree with data science results. The retailer wants low-cost storage, reliable query-ready tables, and a way for analysts to find data by asking questions in their own words. Which approach fits?
A lakehouse combines the warehouse and the lake into one source of truth, so no copies can drift out of sync. The Data Intelligence Engine uses AI to learn the data's semantics, which lets analysts search for data in their own words. Syncing more often keeps the two-system problem, and Model Serving on a plain object store adds no warehouse reliability.
“The data lakehouse combines enterprise data warehouses and data lakes to accelerate, simplify, and unify enterprise data solutions.”Source: docs.databricks.com
Checkpoint 2 of 9· Exam question
A data engineering team wants a single platform that combines the low-cost flexible storage of a data lake with the transaction support and BI performance of a data warehouse, while also using AI that understands the structure and semantics of their own data to power search and governance automatically. Which underlying architecture and capability of the Databricks platform provides this combination?
Correct answer: A — The lakehouse architecture combined with the Data Intelligence Engine, which unifies warehouse transactions with lake storage while using AI to understand the organization's data semantics.
- A. This correctly describes the lakehouse architecture as the foundation that unifies warehouse and lake workloads, with the Data Intelligence Engine layering AI-driven understanding of the organization's specific data on top of that unified storage and compute layer.
- B. Bolting a warehouse onto a separate lake with manual synchronization is exactly the two-system problem the lakehouse architecture was designed to eliminate, so this describes the older pattern rather than the platform's actual approach.
- C. Model serving and a plain object store address hosting predictions, not the combined transactional-and-analytical storage layer or the semantic understanding the scenario asks about, so this option targets the wrong layer of the platform.
- D. Scheduled batch orchestration between two separate systems still leaves data duplicated across a lake and a warehouse and adds no AI-driven semantic layer, so it does not match what the scenario is asking for.
2.Delta Lake: Parquet files plus a transaction log
Delta Lake is the storage layer under every lakehouse table. It is open source software that adds a file-based transaction log to ordinary Parquet data files. The log is what makes ACID transactions possible on cloud object storage. A write either commits to the log completely or does not happen, so a reader never sees half a load. A Delta table is stored as a directory of files in cloud object storage, and its metadata is registered in a catalog and schema.
You get Delta automatically. Delta Lake is the default format for all operations on Databricks, so a table saved with default settings, whether from SQL or Spark DataFrames, already has these guarantees. The transaction log also follows an open protocol that any system can use to read it.
The transaction log gives analysts three behaviours they rely on every day.
- Every write creates a new table version, and the log lets you review changes and query earlier versions. Delta time travel builds on this.
- Schema is validated on write, so a load whose columns don't match the table's requirements is rejected and the table is not corrupted.
- One copy of the data serves both batch and streaming operations, because Delta was built for tight integration with Structured Streaming.
Checkpoint 3 of 9· Check yourself
Before moving reporting tables to Databricks, a team lead worries that saving them as Delta tables will lock the data into a proprietary format and leave the Parquet ecosystem behind. Which statement correctly answers that concern?
Delta Lake is open source software that leaves the data in Parquet files and adds a transaction log, which is what provides ACID transactions. That log follows an open protocol that any system can read, so the data is not locked into a proprietary format.
“Delta Lake is open source software that extends Parquet data files with a file-based transaction log for ACID transactions”Source: docs.databricks.com
3.Unity Catalog: governance under every query
Unity Catalog is the platform's unified governance layer for data and AI. Once it is enabled, it works behind every interaction. It enforces access control when you query a table or call a model, tracks lineage as assets are used, and logs activity for auditing. You don't call it separately. It is enabled automatically for workspaces created after November 8, 2023.
Every governed asset is a securable object that you can grant permissions on. Tables, views, volumes, functions and models are addressed with a three-level namespace, catalog.schema.object. A catalog is the highest-level container for data. Schemas, also called databases, sit inside catalogs. Tables and other objects sit inside schemas. For example, a transactions table in the sales schema of the east_region catalog is east_region.sales.transactions, always written from the broadest container to the narrowest. Behind the namespace sits the metastore, the account-level registry where Unity Catalog records metadata and permissions about catalogs, schemas and tables; it is not part of the three-level name. The 3-level namespace lesson covers how to work with the namespace in detail.
Tables are either managed or external, and the difference shows up when you drop one. For a managed table, Unity Catalog chooses the storage location and controls both governance and the lifecycle of the files. Dropping the table therefore deletes its data files. For an external table, you specify the storage path and Unity Catalog handles governance only. Dropping it removes the metadata from the metastore and leaves the files in place. A CREATE TABLE without a LOCATION clause produces a managed table. Catalog Explorer shows these object types, along with views, certified tables and lineage.
| Table type | Who decides the storage location | Unity Catalog handles | Effect of DROP TABLE |
|---|---|---|---|
| Managed | Unity Catalog (managed storage location on the schema, catalog or metastore) | Governance and the underlying file storage lifecycle | Metadata removed and underlying data files deleted |
| External | You, by specifying the path | Governance only | Metadata removed from the metastore; data files left in place |
Checkpoint 4 of 9· Check yourself
In a Unity Catalog workspace, an analyst creates orders with a plain CREATE TABLE and no LOCATION clause, and creates legacy_orders with a LOCATION pointing to a cloud storage path. Later the analyst runs DROP TABLE on both. What happens to the underlying data files?
A CREATE TABLE without LOCATION makes a managed table. Unity Catalog controls the file lifecycle of a managed table, so dropping it deletes the data files. legacy_orders is external, so Unity Catalog handles only its governance, and dropping it removes the metadata but leaves the files in place.
“managed, where Unity Catalog handles both governance and the underlying file storage lifecycle, or external, where Unity Catalog handles governance only”Source: docs.databricks.com
Checkpoint 5 of 9· Exam question
An analyst is asked to write a query against a table named transactions that lives inside the sales schema of the east_region catalog, in a workspace where Unity Catalog is enabled. Which fully qualified reference correctly identifies this table?
Correct answer: A — east_region.sales.transactions
- A. Unity Catalog's three-level namespace orders identifiers as catalog, then schema, then table, so naming the catalog first, the schema second, and the table last is the correct fully qualified reference.
- B. This swaps the catalog and schema positions, which points the query at a schema named
east_regioninside a catalog namedsalesrather than the intended location. - C. This puts the table name first, which Unity Catalog does not accept as the leading segment of the three-level namespace, so the reference does not resolve to the intended table.
- D. This puts the schema and table segments out of order relative to the catalog, so it does not match the catalog.schema.table structure Unity Catalog expects.
Checkpoint 6 of 9· Exam question
A data analyst creates a managed table in Unity Catalog by running CREATE TABLE without a LOCATION clause, then later drops the table with DROP TABLE. What happens to the underlying data files as a direct result of that drop?
Correct answer: A — Unity Catalog deletes the underlying data files from the managed location it provisioned, because a managed table's physical files are fully controlled by the catalog itself.
- A. For a managed table, Unity Catalog owns both the metadata and the storage location it provisioned, so dropping the table removes the catalog entry and deletes the underlying files together.
- B. Leaving files untouched describes the behavior of dropping an external table, where Unity Catalog only governs metadata; a managed table's files are deleted along with its metadata, so this does not match the scenario.
- C. There is no built-in ninety-day archive volume that Unity Catalog moves managed table files into on drop, so this describes a recovery mechanism that does not exist for this operation.
- D. A manual cleanup step is unnecessary here because dropping a managed table already deletes its files automatically; a separate admin job is only relevant for external tables whose storage the catalog does not own.
4.Databricks SQL and Lakebase: analytics versus transactions
Databricks SQL is the platform's cloud data warehouse, built on the lakehouse architecture. It queries data where it already sits in the lake, supports ANSI SQL with Delta Lake extensions, and runs on SQL warehouses (what a SQL warehouse does). It is more than an editor. It also covers dashboards, alerts, metric views, query history and profiles, and SQL-defined streaming tables and materialized views for incremental ETL. Use it for analytics: scans, joins and aggregates over large Delta tables.
Lakebase handles the other kind of database work. It is an online transaction processing (OLTP) database: fully managed Postgres, stored in Databricks-managed storage and integrated with the platform. Applications connect to it with psql or any Postgres driver for low-latency transactional reads and writes. It works alongside the lakehouse rather than replacing it. You can sync Unity Catalog tables into Lakebase so applications can read them quickly. You can also store Postgres changes as Delta tables for downstream pipelines and auditing. Lakebase also offers autoscaling, scale-to-zero, branches for development and testing, and read replicas.
| Aspect | Databricks SQL on Delta tables | Lakebase |
|---|---|---|
| What it is | Cloud data warehouse built on lakehouse architecture | Fully managed Postgres OLTP database |
| Runs on | SQL warehouses | Lakebase computes with autoscaling and scale to zero |
| Typical client | SQL editor, notebooks, AI/BI dashboards, alerts | Databricks Apps or any application via psql or a Postgres driver |
| Wins when | Analytics over large tables | Low-latency transactional reads and writes for an app |
Checkpoint 7 of 9· Check yourself
Your analytics team keeps a curated customer table in Unity Catalog, built and refreshed in the lakehouse. A new customer-facing web app now needs to read rows from that table with very low latency through a standard Postgres driver. Analysts must keep running their large aggregate queries on the same data. What is the best setup?
Lakebase is a separate, fully managed Postgres OLTP database that works alongside the lakehouse. You can sync Unity Catalog tables into it so applications can read them quickly, while Databricks SQL on Delta tables continues to handle analytics over large tables. A SQL warehouse is not Lakebase, and Lakebase does not replace the lakehouse.
“Sync Unity Catalog tables into Lakebase so applications can query them at low latency.”Source: docs.databricks.com
5.Lakeflow: declarative pipelines and jobs
Lakeflow Declarative Pipelines (formerly Delta Live Tables) let you declare the datasets you want rather than code the steps that build them. A pipeline is a set of Python or SQL source files plus a configuration. The files declare streaming tables, materialized views and views, together with the queries that produce them. The pipeline infers the dependencies between datasets and arranges them in a directed acyclic graph (DAG). It then computes upstream datasets before downstream ones, updating incrementally where it can. Because the graph is inferred, files can be organized in any order.
Pipelines run in one of two modes. Triggered runs once and stops when every dataset is up to date. Continuous runs indefinitely and processes new data as it arrives. Data quality is part of the declaration too. An expectation attaches a named constraint to a dataset, and the pipeline checks every record against it.
-- Simple constraint
CONSTRAINT non_negative_price EXPECT (price >= 0)
-- SQL functions
CONSTRAINT valid_date EXPECT (year(transaction_date) >= 2020)Lakeflow Jobs (formerly Databricks Jobs/Workflows) is the orchestrator. A pipeline decides how its own datasets are built. A job decides when work runs and what runs next. Jobs are built from three concepts. A job coordinates the work and shows its tasks as a DAG. A task is one unit of work, such as a notebook, a SQL query, a Python script or a pipeline. A trigger starts the job, either on a schedule such as every day at 2 AM, or on an event such as new data arriving in cloud storage. Jobs also support branching (if/else) and looping (for each), and can send email or webhook notifications when a run fails or takes too long.
Lakeflow Jobs owns the workflow. A time-based trigger starts it each night, and an if/else task branches on the null check. The refresh is a pipeline task. Inside that task, the Lakeflow Declarative Pipeline decides the order in which its own datasets are computed.
Checkpoint 8 of 9· Match them up
A nightly ETL workflow uses both parts of Lakeflow. Match each piece to the role it plays.
Tap a term, then the definition that fits it.
A pipeline works out its own dataset order by inferring a DAG, so you never order files or schedule each table by hand. Deciding when work runs and what runs next is the orchestration job of Lakeflow Jobs, through its jobs, tasks and triggers.
“Pipelines automatically infer dependencies between datasets and arrange them in a directed acyclic graph (DAG). The graph determines evaluation order”Source: docs.databricks.com
6.Mosaic AI: building and serving AI on governed data
Mosaic AI is the name for the platform's AI and machine learning capabilities. In the workspace, the Mosaic AI section of the homepage gives quick access to AI-related assets and features. They share the lakehouse's data and governance, so models are built on the same tables that analysts query.
The capabilities cover the path from experiment to production.
- AI Playground is a chat-like workspace environment for testing, prompting and comparing LLMs.
- Foundation Model APIs give pre-configured foundation models you can query. External models connect third-party hosted LLMs.
- Models registered in Unity Catalog inherit its access control, lineage and cross-workspace discovery.
- Model Serving deploys and governs models, and each served model is available as a REST API that applications can call.
- AI Functions let SQL analysts call LLMs directly inside queries and pipelines.
Checkpoint 9 of 9· Match them up
An analytics team is planning its first AI project on Databricks. Match each Mosaic AI capability to the need it serves.
Tap a term, then the definition that fits it.
AI Playground is for testing and comparing LLMs, Model Serving exposes each served model as a REST API for applications, and AI Functions bring LLMs into SQL. Registering a model in Unity Catalog applies the platform's governance to it.
“Model Serving provides a unified interface to deploy, govern, and query AI models. Each model you serve is available as a REST API”Source: docs.databricks.com
Sources
(12)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.https://docs.databricks.com/aws/en/introductionOfficial docs
“The data lakehouse combines enterprise data warehouses and data lakes to accelerate, simplify, and unify enterprise data solutions.”
↩︎ The lakehouse and the Data Intelligence Engine“Databricks uses AI with the data lakehouse to understand the unique semantics of your data.”
↩︎ The lakehouse and the Data Intelligence Engine“Natural language processing learns your business's language, so you can search and discover data by asking a question in your own words.”
↩︎ The lakehouse and the Data Intelligence Engine“Lakebase is an online transactional processing (OLTP) database that is fully integrated with the Databricks Data + AI Platform.”
↩︎ Databricks SQL and Lakebase: analytics versus transactions“Databricks provides AI functions that SQL data analysts can use to access LLMs”
↩︎ Mosaic AI: building and serving AI on governed data“Lakebase is an online transactional processing (OLTP) database that is fully integrated with the Databricks Data + AI Platform.”
↩︎ Exam trap 2 - 2.
“It is an open and unified foundation for ETL, ML/AI, and DWH/BI workloads, and has Unity Catalog as the central data and AI governance solution.”
↩︎ The lakehouse and the Data Intelligence Engine“It is built on the lakehouse architecture and powered by a data intelligence engine that understands the unique qualities of your data.”
↩︎ Key concept - 3.https://docs.databricks.com/aws/en/deltaOfficial docs
“Delta Lake is open source software that extends Parquet data files with a file-based transaction log for ACID transactions and scalable metadata handling.”
↩︎ Delta Lake: Parquet files plus a transaction log“Each write to a Delta Lake table creates a new table version.”
↩︎ Delta Lake: Parquet files plus a transaction log“Delta Lake validates schema on write, ensuring that all data written to a table matches the requirements you've set.”
↩︎ Delta Lake: Parquet files plus a transaction log“Delta Lake is open source software that extends Parquet data files with a file-based transaction log for ACID transactions and scalable metadata handling.”
↩︎ Exam trap 4“Unless otherwise specified, all tables on Databricks are Delta Lake tables.”
↩︎ Prediction“Delta Lake is open source software that extends Parquet data files with a file-based transaction log for ACID transactions”
↩︎ Checkpoint - 4.
“A Delta table stores data as a directory of files on cloud object storage”
↩︎ Delta Lake: Parquet files plus a transaction log“Catalogs are the highest level container for organizing and isolating data on Databricks.”
↩︎ Unity Catalog: governance under every query“Unity Catalog provides an account-level metastore that registers metadata about data, AI, and permissions about catalogs, schemas, and tables.”
↩︎ Unity Catalog: governance under every query“Model Serving provides a unified interface to deploy, govern, and query AI models.”
↩︎ Mosaic AI: building and serving AI on governed data“Models registered in Unity Catalog inherit centralized access control, lineage, and cross-workspace discovery and access.”
↩︎ Mosaic AI: building and serving AI on governed data“Model Serving provides a unified interface to deploy, govern, and query AI models. Each model you serve is available as a REST API”
↩︎ Checkpoint - 5.
“Unity Catalog is the unified governance layer for data and AI built into Databricks.”
↩︎ Unity Catalog: governance under every query“follow a three-level namespace (catalog.schema.object)”
↩︎ Unity Catalog: governance under every query“managed, where Unity Catalog handles both governance and the underlying file storage lifecycle, or external, where Unity Catalog handles governance only”
↩︎ Checkpoint - 6.https://docs.databricks.com/aws/en/data-governance/unity-catalog/managed-versus-externalOfficial docs
“When you drop a managed table, Unity Catalog deletes the underlying data files.”
↩︎ Unity Catalog: governance under every query“When you drop an external table, Unity Catalog removes the table metadata from the metastore”
↩︎ Unity Catalog: governance under every query“When you drop a managed table, Unity Catalog deletes the underlying data files.”
↩︎ Exam trap 1 - 7.https://docs.databricks.com/aws/en/sqlOfficial docs
“Databricks SQL is a cloud data warehouse built on lakehouse architecture.”
↩︎ Databricks SQL and Lakebase: analytics versus transactions - 8.https://docs.databricks.com/aws/en/oltp/projectsOfficial docs
“Lakebase is a fully managed Postgres database integrated into the Databricks platform.”
↩︎ Databricks SQL and Lakebase: analytics versus transactions“Sync Unity Catalog tables into Lakebase so applications can query them at low latency.”
↩︎ Databricks SQL and Lakebase: analytics versus transactions“Connect Databricks Apps or any application to Lakebase for transactional workloads.”
↩︎ Prediction - 9.
“The source files declare datasets (streaming tables, materialized views, and views) along with the queries and flows that produce them.”
↩︎ Lakeflow: declarative pipelines and jobs“Continuous: The pipeline runs indefinitely and processes new data as it arrives.”
↩︎ Lakeflow: declarative pipelines and jobs“Pipelines automatically infer dependencies between datasets and arrange them in a directed acyclic graph (DAG).”
↩︎ Exam trap 3“Pipelines automatically infer dependencies between datasets and arrange them in a directed acyclic graph (DAG). The graph determines evaluation order”
↩︎ Checkpoint - 10.https://docs.databricks.com/gcp/en/ldp/expectationsOfficial docs
“CONSTRAINT <constraint-name> EXPECT ( <constraint-clause> )”
↩︎ Lakeflow: declarative pipelines and jobs - 11.https://docs.databricks.com/aws/en/jobsOfficial docs
“There are three main concepts when using Lakeflow Jobs for orchestration in Databricks: jobs, tasks, and triggers.”
↩︎ Lakeflow: declarative pipelines and jobs“A trigger can be time-based, such as running a job at a scheduled time (for example, every day at 2 AM), or event-based”
↩︎ Lakeflow: declarative pipelines and jobs - 12.
“This section provides quick access to AI-related assets and features.”
↩︎ Mosaic AI: building and serving AI on governed data