Skip to content

Ordering the steps in a data pipeline

In Databricks Workflows, pipeline order of operations is controlled by defining tasks and explicit dependencies (predecessors) that form a Directed Acyclic Graph (DAG), ensuring each task runs only after its required upstream tasks succeed. Correctly sequencing tasks—such as ingestion before transformation before serving (medallion architecture: bronze → silver → gold)—prevents data quality issues and wasted compute from processing incomplete or stale data.

1 · Learn the must-know

  • A Databricks Job can contain multiple tasks, and dependencies between tasks are set explicitly via 'Depends on', creating a DAG rather than a strictly linear sequence.
  • Tasks with no dependency relationship (no shared predecessor path) can run in parallel automatically, so pipeline design should identify which steps are truly independent to optimize runtime.
  • The medallion architecture pattern (Bronze for raw ingestion, Silver for cleaned/conformed data, Gold for aggregated/business-level data) dictates a natural order of operations that pipeline task dependencies should enforce.
  • Task run conditions (e.g., 'All succeeded', 'At least one succeeded', 'All done') determine whether downstream tasks execute based on the outcome of upstream tasks, affecting pipeline flow control.
  • If a task fails and downstream tasks depend on it, those downstream tasks are skipped by default, so proper ordering and error-handling logic (e.g., using conditional task run-if settings) is critical to avoid silent pipeline gaps.
  • Delta Live Tables (DLT) pipelines automatically infer execution order from table/view dependencies declared in code, so in DLT the order of operations is determined by data lineage rather than manual task sequencing.

2 · Check your understanding

Check this objectiveFree · always available

A data engineer is building a Databricks job with three notebook tasks: 'ingest_raw' loads files into a bronze Delta table, 'clean_data' deduplicates and validates the bronze table into a silver table, and 'build_aggregates' computes daily summaries from the silver table into a gold table. The engineer wants the job to guarantee that 'clean_data' never starts before 'ingest_raw' finishes, and 'build_aggregates' never starts before 'clean_data' finishes, even if a run is retried or a task takes longer than usual. How should the engineer design the order of operations in the Databricks Jobs UI?

Your objective map0 tried · 0 answered correctly · 77 untouched

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