Databricks Data Engineer Associate · Section 4 · 16% of the exam
Implement job schedules using Lakeflow Jobs with an understanding of trigger types (scheduled, file arrival, and table update).
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
A Lakeflow Jobs run starts manually or through the API, from a Quartz cron schedule, when files arrive, when tables are updated, or continuously. This lesson covers how to configure each trigger, how concurrency and queueing behave, and how to alert on failures and slow runs.
Points to remember
- Trigger types: scheduled (Quartz cron and time zone), file arrival, table update and continuous. Manual and API runs are always possible.
- Quartz cron starts with a seconds field and needs
?in one day field, so 02:00 daily is0 0 2 * * ?. Settimezone_id, and use UTC for evenly spaced hourly runs. - A paused schedule (
pause_status: PAUSED) stops new runs but keeps the definition. There are at least 10 seconds between scheduled runs. - File arrival triggers watch a UC volume or external location about every minute. Without file events, the limits are 50 jobs per workspace and 10,000 files per location. Only new files count.
- Table update triggers watch up to 10 UC tables with Any or All updated. The run-as principal needs SELECT, USE CATALOG and USE SCHEMA.
Try a question
A partner uploads CSV files to a Unity Catalog volume at unpredictable times, from zero to a dozen times a day. The data must be processed within a few minutes of arrival, and the team doesn't want compute running when no files arrive. Which trigger should the job use?
- AA file arrival trigger on the volume path
- BA schedule that runs every minute
- CContinuous mode with Auto Loader
- DA table update trigger on the bronze table
Show the answer
A. A file arrival trigger checks the volume about every minute and starts a run only when new files appear. Latency is a few minutes, and no compute runs while the location is idle. The run can use Auto Loader with availableNow to process only the new files.
Written for practice in the style of the exam: never a question from the real exam.
In the course
2 lessons teach this objective: Triggers & Schedules, Time-based vs Data-driven Orchestration (about 95 minutes), and 21 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.
- Configure common tasks (notebook, SQL query, dashboard, and pipeline tasks) and their dependencies using Lakeflow Jobs and its DAG-based task graph.
- Choose between time-based and data-driven triggers based on data availability and pipeline dependencies.