Databricks Data Engineer Professional · Section 4 · 10% of the exam
Use Pipeline event logs to monitor pipeline health and data quality.
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 Lakeflow Job runs an Auto Loader stream continuously. To page on-call when the stream falls behind, the team added the health rule STREAMING_BACKLOG_SECONDS > 900 with a Streaming backlog notification. The stream is often far behind, yet nothing fires and the task's Metrics tab shows no backlog-seconds chart. What should they change?
- AReplace the health rule with a
RUN_DURATION_SECONDSwarning of 900 seconds - BSet
spark.sql.streaming.metricsEnabledtofalseso the Jobs service computes backlog seconds itself - CMove the stream into a Lakeflow pipeline task, where backlog thresholds are evaluated per flow
- DUse
STREAMING_BACKLOG_FILES, a metric Auto Loader reports, instead of seconds
Show the answer
D. Each streaming source supports specific backlog metrics: Auto Loader and Delta report bytes and files, Kafka bytes and records, Kinesis bytes and seconds, Pub/Sub bytes and records. A threshold on a metric the source doesn't report never fires. Backlog notifications use the 10-minute average and repeat at most every 30 minutes.
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 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.
- Use Lakeflow Jobs UI and Jobs API to monitor job status and performance metrics.