Exam4Training

Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?

A data engineer wants to schedule their Databricks SQL dashboard to refresh once per day, but they only want the associated SQL endpoint to be running when it is necessary.

Which of the following approaches can the data engineer use to minimize the total running time of the SQL endpoint used in the refresh schedule of their dashboard?
A . They can ensure the dashboard’s SQL endpoint matches each of the queries’ SQL endpoints.
B . They can set up the dashboard’s SQL endpoint to be serverless.
C . They can turn on the Auto Stop feature for the SQL endpoint.
D . They can reduce the cluster size of the SQL endpoint.
E . They can ensure the dashboard’s SQL endpoint is not one of the included query’s SQL endpoint.

Answer: B

Explanation:

A serverless SQL endpoint is a compute resource that is automatically managed by Databricks and scales up or down based on the workload. A serverless SQL endpoint can be used to run queries and dashboards without requiring manual configuration or management. A serverless SQL endpoint is only active when it is needed and shuts down automatically when idle, minimizing the total running time and cost. A serverless SQL endpoint can be created and assigned to a dashboard using the Databricks SQL UI or the SQL Analytics API.

Reference: Create a serverless SQL endpoint

Assign a SQL endpoint to a dashboard

SQL Analytics API

Exit mobile version