Chapter 4 of 7 · Databricks Data Engineer Associate
Working with Lakeflow Jobs
Task types, DAG dependencies, run if conditions, retries, branching, looping, schedules and data driven triggers.
- 2topics
- 12 minfast track
- 2diagrams and exhibits
- 16%of the exam
Topics in this chapter
Take them in order, or jump to the one you need.
- 1Tasks, Dependencies and Control FlowDatabricks DEA Lakeflow Jobs tasks: notebook, SQL, dashboard and pipeline tasks, DAG dependencies, run if, retries, repair runs…Diagram6 min
- 2Job Triggers and SchedulesDatabricks DEA Lakeflow Jobs triggers: cron schedules, file arrival on volumes and external locations, table update triggers…Diagram6 min
About this chapter
What this chapter covers
Working with Lakeflow Jobs is 16% of the Databricks Data Engineer Associate exam. It covers how Databricks orchestrates work: building a job from tasks, wiring their dependencies, controlling what happens on failure or on a condition, and deciding what starts the job.
The chapter has two parts: tasks, dependencies and control flow (retries, If/else branching and For each looping), and job triggers (scheduled, file arrival and table update) with the choice between time based and data driven starts.
Questions are mostly short scenarios in which the stated requirement (latency, cost, governance, data volume) decides the answer. They are single-answer multiple choice, and short SQL or PySpark is shown as text. There are no exhibits.
How the topics fit together
A trigger starts a job run. The job runs its tasks in the order their dependencies set, as a directed acyclic graph (DAG). Control flow decides what happens on the way: a failed task can retry, a condition can pick a branch, and a loop can run one task per input.
- Task questions ask which task type fits and what compute it runs on.
- Dependency questions ask whether a downstream task runs after an upstream failure.
- Control flow questions ask how to retry, branch or loop.
- Trigger questions ask which trigger starts the job at the right moment for the stated data arrival.
When the scenario says when the data arrives ("files land at random times", "after the upstream team's table updates"), think data driven trigger. When it says when the business needs results ("every day at 6:00"), think schedule.
How to use these pages
Each topic page has the same shape, so you can skim for what you need.
- What it is: the idea in plain words.
- How it works: the mechanism, with tables and examples.
- What to remember for the exam: the facts to memorize and how questions are phrased.
- Common mistakes: the classic traps.
- Check yourself: three questions to test your understanding.
Ready for more practice?
The full Databricks Data Engineer Associate question bank has 598 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Databricks. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.