Choosing notebooks versus Lakeflow Spark Declarative Pipelines
Azure Databricks offers two ways to build data workloads: notebooks orchestrated by Jobs/Workflows for imperative, general-purpose logic, and Lakeflow Declarative Pipelines (the evolution of Delta Live Tables) for declarative ETL where you define the desired tables and the engine manages execution, dependencies, and incremental processing. Choosing correctly depends on whether the workload needs flexible custom control flow or standardized, quality-governed ETL/ELT pipelines.
1 · Learn the must-know
- Use notebooks with Jobs/Workflows when you need arbitrary control flow, non-ETL tasks (e.g., ML training, custom API calls), or fine-grained imperative logic that doesn't map cleanly to a declarative table graph.
- Use Lakeflow Declarative Pipelines when building medallion-architecture ETL/ELT flows, since you declare source-to-target transformations (SQL or PySpark) and the engine automatically resolves the DAG, handles incremental processing, and manages orchestration.
- Declarative Pipelines provide built-in data quality enforcement via expectations (constraints that can warn, drop, or fail on violation), which notebooks do not offer natively—you'd have to code that logic yourself.
- Declarative Pipelines natively integrate with Auto Loader for incremental/streaming ingestion and automatically manage checkpoints and state, reducing manual streaming-pipeline boilerplate required in notebook-based jobs.
- Declarative Pipelines expose a dedicated pipeline UI with lineage graph, event logs, and per-table run metrics, giving stronger built-in observability than a notebook task, which requires custom logging/monitoring setup.
- Notebook tasks in Jobs require you to manually define task dependencies and retry/error-handling logic, whereas Declarative Pipelines infer dependencies from table/view references and provide automatic retry and error handling at the pipeline level.
2 · Check your understanding
A data engineering team must build a multi-stage ETL process that ingests raw files, cleans them, and aggregates the results into three tables that depend on each other. They want the platform to automatically determine execution order from the read and write relationships between the tables, and to automatically retry a failed table update without manual intervention. Which approach best meets these requirements?
What you have tried across DP-750's objectives, not a readiness score.
Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.