Databricks Data Engineer Professional · Section 4 · 10% of the exam
Use Lakeflow Jobs UI and Jobs API to monitor job status and performance metrics.
One of the objectives of the Databricks Certified Data Engineer Professional exam, in the section “Monitoring and Alerting”. Here is what it covers, the points to remember and a question to try.
What it covers
Read run status and performance in the Lakeflow Jobs UI, pull the same run and update objects from the Jobs and Pipelines REST APIs, the Databricks CLI and the Python SDK, and query pipeline event logs for update health, throughput and expectation results.
Points to remember
- The Jobs UI keeps 60 days of run history; the matrix view shows runs as columns and tasks as rows, with bar height for duration and color for status.
- Run status follows the leaf tasks; Succeeded with failures counts as a success for notifications.
- Hover over Duration for the breakdown: Queued (concurrency), Waiting for resources (startup; performance-optimized mode for serverless), Library installation, Running.
- Warning threshold = health rule
RUN_DURATION_SECONDS(notify only); Timeout stops the run; backlog rules use 10-minute averages and only metrics the source reports. - Jobs API 2.2:
runs/list(filters,limit1 to 25),runs/get(include_history),runs/get-output(one task run, first 5 MB); readstatus, not the deprecatedstate.
Try a question
A reporting script calls GET /api/2.2/jobs/runs/get for runs of a six-task job and computes duration as setup_duration + execution_duration + cleanup_duration. Every run reports 0 ms. What should the script use instead?
- A
queue_duration - B
run_duration, or the per-task durations intasks[] - C
include_history=true, which fills the run-level duration fields from the repair history - DThe
execution_durationreturned byruns/get-outputfor the job's run ID
Show the answer
B. For multi-task job runs, setup_duration, execution_duration and cleanup_duration are set to 0 at the run level; the run's total is run_duration, and each task run reports its own durations. queue_duration is only time spent queued.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Monitoring Jobs and Pipelines: UI, APIs and Event Logs teaches this objective (about 55 minutes), and 15 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
- Use Databricks system tables (billing, compute, access, lakeflow) for cost analysis, auditing, and workload monitoring.
- Use Databricks REST APIs / CLI and SDK for monitoring and analyzing jobs and pipelines.
- Use Pipeline event logs to monitor pipeline health and data quality.
- Use Databricks Lakehouse alerts to monitor governed business metrics, data quality and anomaly signals, usage and cost, SQL warehouse/query health, audit and security events, AI agent quality, and Lakeflow Job branching.