Domain 4 of 4 · Chapter 2 of 4

Implementing Lakeflow Jobs

Unlock the complete study guide + 1,040 practice questions across 16 full exams.

Bundled into the existing Implementing Data Engineering Solutions Using Azure Databricks premium course — no separate purchase.

14-day money-back guarantee — no questions asked.

Included in this chapter:

  • A job is a graph of tasks, each with its own compute
  • Parameterize jobs: parameters, widgets, and task values
  • Triggers and schedules: match the arrival pattern
  • Control flow: dependencies, conditions, and loops
  • Reliability: retries, restarts, and notifications

Lakeflow Jobs trigger types by how work arrives

TriggerFires whenLatencyTypical use
ScheduledA quartz cron time is reachedExact clock timeFixed-cadence batch ETL
File arrivalNew files land in a UC locationAbout one minuteIrregular file drops
Table updateA monitored UC table gets new dataAfter the upstream commitChaining to an upstream table
ContinuousThe previous run ends (always-on)Near real timeAlways-on streaming
ManualYou click Run now or call the APIOn demandAd-hoc and external orchestration

Decision tree

Always-onstreaming?ContinuousTriggered bydata landing?Files in aUC location?Runs on afixed clock?File arrivalTable updateScheduledManual(Run now)YesNoYesNoFilesTableClockOn demand

Cheat sheet

  • Each task chooses job compute, serverless, or an existing all-purpose cluster
  • Job parameters are key-value pairs passed to every task
  • Set Run as, max concurrent runs, and tags when configuring a job
  • Tasks can share one job cluster to cut startup cost
  • A notebook task reads job parameters with dbutils.widgets.get
  • Lakeflow Jobs supports scheduled, file-arrival, table-update, continuous, and manual triggers
  • Continuous keeps a job always-on; file arrival launches a run per batch of files
  • A table-update trigger runs a job when a monitored table changes
  • File-arrival triggers monitor a Unity Catalog external location or volume
  • A scheduled trigger uses a quartz cron expression with a timezone
  • Pause a schedule to stop runs without losing the job definition
  • Queueing controls what happens when a scheduled run overlaps a running one
  • Notifications attach at the job or the individual task level
  • Notifications go to email or admin-configured system destinations
  • Duration thresholds warn when a run is late or slow
  • Continuous jobs auto-restart the whole run with exponential backoff
  • SDP pipelines auto-recover; non-continuous jobs use per-task retries
  • Restart run cancels the active run and resets the backoff period

Unlock with Premium — includes all practice exams and the complete study guide.

References

  1. Lakeflow Jobs
  2. Configure and edit tasks in Lakeflow Jobs
  3. Configure compute for jobs
  4. Databricks Pricing: Flexible Plans for Data and AI Solutions
  5. Run a job with a Microsoft Entra ID service principal
  6. Configure and edit Lakeflow Jobs
  7. Configure job parameters
  8. Dynamic value references
  9. Access parameter values from a task
  10. Use task values to pass information between tasks
  11. Automate jobs with schedules and triggers
  12. Run jobs on a schedule
  13. Trigger jobs when new files arrive
  14. Trigger jobs when source tables are updated
  15. Run jobs continuously
  16. Control the flow of tasks within Lakeflow Jobs
  17. Triggered vs. continuous pipeline mode
  18. Add notifications on a job