nerdexam
Microsoft

DP-300 · Question #142

Drag and Drop Question Your company analyzes images from security cameras and sends alerts to security teams that respond to unusual activity. The solution uses Azure Databricks. You need to send Apac

The correct answer is Configure the Databricks cluster to use the Databricks monitoring library.; Build a spark-listeners-loganalytics-1.0-SNAPSHOT.jar JAR file.; Create Dropwizard counters in the application code.. To send Spark-level events, Structured Streaming metrics, and application metrics to Azure Monitor from Databricks, you must first configure the Databricks cluster to use the Databricks monitoring library (which sets up the pipeline to Azure Monitor/Log Analytics), then build the

Submitted by anna_se· Mar 6, 2026Design and Implement Data Processing / Monitor and Optimize Data Solutions - specifically configuring observability and telemetry for Azure Databricks workloads using the Azure Databricks monitoring library and Azure Monitor Log Analytics.

Question

Drag and Drop Question Your company analyzes images from security cameras and sends alerts to security teams that respond to unusual activity. The solution uses Azure Databricks. You need to send Apache Spark level events, Spark Structured Streaming metrics, and application metrics to Azure Monitor. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions in the answer area and arrange them in the correct order. Answer:

Exhibit

DP-300 question #142 exhibit

Answer Area

Drag items

Deploy Grafana to an Azure virtual machine.Build a spark-listeners-loganalytics-1.0-SNAPSHOT.jar JAR file.Create Dropwizard counters in the application code.Create a data source in Azure Monitor.Configure the Databricks cluster to use the Databricks monitoring library.

Correct arrangement

  • Configure the Databricks cluster to use the Databricks monitoring library.
  • Build a spark-listeners-loganalytics-1.0-SNAPSHOT.jar JAR file.
  • Create Dropwizard counters in the application code.

Explanation

To send Spark-level events, Structured Streaming metrics, and application metrics to Azure Monitor from Databricks, you must first configure the Databricks cluster to use the Databricks monitoring library (which sets up the pipeline to Azure Monitor/Log Analytics), then build the spark-listeners-loganalytics JAR file that contains the listener code needed to capture Spark events and stream metrics, and finally create Dropwizard counters in the application code to emit custom application-level metrics. This sequence establishes the infrastructure layer first, then the Spark integration layer, and finally the application-level instrumentation. Dropwizard metrics is the specific metrics library used by the Databricks monitoring solution to expose custom application metrics alongside the Spark framework metrics.

Topics

#Azure Databricks Monitoring#Azure Monitor Integration#Apache Spark Structured Streaming#Dropwizard Metrics

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice