Databricks Data Engineer Associate · Section 4 · 16% of the exam
Configure common tasks (notebook, SQL query, dashboard, and pipeline tasks) and their dependencies using Lakeflow Jobs and its DAG-based task graph.
One of the objectives of the Databricks Certified Data Engineer Associate exam, in the section “Working with Lakeflow Jobs”. Here is what it covers, the points to remember and a question to try.
What it covers
Lakeflow Jobs (formerly Databricks Workflows) is the orchestrator built into Databricks: a job is a DAG of tasks, and each task has its own type, compute and parameters. This lesson covers the building blocks you configure on every job and how to define a job in the UI, as JSON, or as a bundle.
Points to remember
- Lakeflow Jobs (formerly Databricks Workflows) orchestrates tasks as a DAG. A job is the definition, a job run is one execution, and each job run contains task runs.
- Task types include notebook, Python script, Python wheel, JAR, Spark Submit, SQL, Dashboard, Pipeline, dbt, Run Job, If/else condition, For each, Power BI and Clean Room notebook.
- SQL tasks need a serverless or pro SQL warehouse (
warehouse_id). A Dashboard task refreshes an AI/BI dashboard. A Pipeline task starts an update of an existing pipeline on the pipeline's own compute. - Compute is chosen per task: serverless (the default recommendation), a job cluster, a shared job cluster (within one job only), an all-purpose cluster (development only) or a SQL warehouse.
- Job parameters are pushed to key-value tasks and override task parameters with the same key. JSON-array tasks such as Python scripts need an explicit
{{job.parameters.x}}reference.
Try a question
Task report depends on load_eu and load_us and uses Run if = None failed. In last night's run, load_eu failed and load_us succeeded. What happened to report?
- AIt didn't run and was marked Upstream failed
- BIt ran, because at least one dependency succeeded
- CIt was marked Excluded
- DIt ran, because None failed ignores failures in sibling branches
Show the answer
A. None failed requires that no dependency failed and that at least one dependency ran. Because load_eu failed, the condition isn't met, and an unmet success-type condition marks the task Upstream failed. With At least one succeeded, the report would have run.
Written for practice in the style of the exam: never a question from the real exam.
In the course
2 lessons teach this objective: Lakeflow Jobs Fundamentals, Task Dependencies & Control Flow (about 95 minutes), and 29 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Implement control flows (retries and conditional tasks such as branching and looping) using Lakeflow Jobs for pipeline orchestration.
- Implement job schedules using Lakeflow Jobs with an understanding of trigger types (scheduled, file arrival, and table update).
- Choose between time-based and data-driven triggers based on data availability and pipeline dependencies.