CertLumen

Databricks Data Engineer Professional · Section 4 · 10% of the exam

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.

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

Query the system catalog (billing, compute, access, lakeflow and query tables) to attribute cost, audit activity and track workloads, then turn those queries into Databricks SQL alerts (the exam's Lakehouse alerts) that notify people or branch a Lakeflow Job.

Points to remember

  • System tables live in the read-only system catalog; access needs USE CATALOG on system plus USE SCHEMA and SELECT on each schema (account admins who are also metastore admins have it by default).
  • Most system tables are regional; billing.usage and billing.list_prices are global. Query regional tables from a workspace in that region.
  • Cost = SUM(usage_quantity) across all record types joined to list_prices on sku_name and the price window; attribute with usage_metadata, identity_metadata.run_as and custom_tags.
  • usage_metadata.job_id is populated only for jobs on job compute or serverless, never for all-purpose compute.
  • Unity Catalog audit events have workspace_id = 0; the source workspace is in request_params.workspace_id.

Try a question

A platform team wants a group of FinOps analysts to query system.billing.usage and system.billing.list_prices from a Unity Catalog-enabled workspace. The analysts are neither account admins nor metastore admins. Which grants give them access with the least privilege?

  1. AThe workspace admin entitlement, which includes read access to every system schema
  2. BSELECT on the two tables only, because every user already has USE CATALOG on system
  3. CUSE CATALOG on system, plus USE SCHEMA and SELECT on system.billing
  4. DCAN VIEW on the account console's usage page
Show the answer

C. System tables are governed by Unity Catalog. Users who are both account admin and metastore admin can read them by default; anyone else needs USE CATALOG on system, USE SCHEMA on the system schema and SELECT on it. Granting only the billing schema keeps the analysts away from audit and lineage data.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson System Tables and Lakehouse Alerts teaches this objective (about 55 minutes), and 19 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

← Previous objective · All 45 objectives · Next objective →