Home / DE Professional practice test / Monitoring and Alerting / Question

Databricks Data Engineer Professional · free practice question

Your team wants a lightweight script in CI that checks whether a specific Lakeflow Job run failed overnight and posts a summary to Slack. Which statement best…

Exam-style question on Monitoring and Alerting from the free DE Professional practice test, with the answer and a full explanation below.

Updated November 16, 2026

Monitoring and Alerting Easy

Your team wants a lightweight script in CI that checks whether a specific Lakeflow Job run failed overnight and posts a summary to Slack. Which statement best describes how the Databricks CLI relates to the REST APIs for this use case?

  1. AThe Databricks CLI is a front end for dbutils; its jobs and pipelines commands run on an attached cluster.
  2. BThe Databricks CLI speaks Spark Connect over gRPC; its jobs and pipelines commands bypass the REST APIs.
  3. CThe Databricks CLI wraps the Workspace API for files and repos; jobs and pipelines need the REST APIs directly.
  4. DThe Databricks CLI is a wrapper over the REST APIs; its jobs and pipelines commands call the same endpoints.
Answer & explanation

Correct answer: D

WHY D: Databricks documents that the CLI wraps the REST API and exposes commands that correspond to API operations (for example databricks jobs get-run maps to the Jobs API runs/get endpoint). That makes it suitable for automation, including monitoring and inspection flows such as checking an overnight Lakeflow Job run from CI, without requiring UI interaction.

WHY NOT A: This confuses the CLI with dbutils, the notebook utility library. The CLI is a local tool that calls the workspace over HTTPS; it is not restricted to running inside notebooks and needs no attached cluster.

WHY NOT B: This confuses the CLI with Databricks Connect, which runs Spark code remotely over Spark Connect (gRPC). The CLI does not bypass the REST APIs; it is built on them, so UI scraping or another protocol is unnecessary for programmatic workflows.

WHY NOT C: The CLI is not limited to workspace files and repos. The Jobs API and Pipelines API are part of the workspace REST API surface and can be used programmatically either directly or via the CLI's jobs and pipelines command groups.

Take the full DE Professional practice test free →

Would you pass today?

This question is one of 60 in the free, timed Databricks Data Engineer Professional practice test. Take it and get a section-by-section score.

Start the free test →