Question 20
Domain 5: Monitoring and AlertingAn engineer needs a command-line or programmatic way to monitor both Databricks jobs and pipelines without using the web interface. Which approach directly matches this requirement?
Correct answer: B
Explanation
Use the Databricks REST APIs or Databricks CLI when you need programmatic or command-line monitoring of Databricks jobs and pipelines. — official.txt
Why each option is right or wrong
A. Use the Databricks REST APIs or Databricks CLI to create dashboards for business reporting only.
The stated use is monitoring jobs and pipelines, not business-reporting dashboard creation only.
B. Use the Databricks REST APIs or Databricks CLI to monitor Databricks jobs and pipelines programmatically.
The source material explicitly states to use the Databricks REST APIs and Databricks CLI for monitoring jobs and pipelines, which matches the engineer’s need for a programmatic or command-line method outside the web interface.
C. Use the Databricks REST APIs or Databricks CLI only for configuring clusters, not for monitoring workloads.
The source material includes monitoring workloads: jobs and pipelines.
D. Use the Databricks REST APIs or Databricks CLI only after a pipeline failure has already occurred.
The source material ties these tools to monitoring jobs and pipelines generally, not only post-failure investigation.