
Ultimate access to all questions.
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.
Explanation:
The correct answer is C - They can turn on the Auto Stop feature for the SQL endpoint.
Auto Stop Feature: This feature automatically stops the SQL endpoint after a period of inactivity, which is exactly what the data engineer needs. Since the dashboard only refreshes once per day, the SQL endpoint can be stopped when not in use, minimizing its running time.
How it works: When Auto Stop is enabled, the SQL endpoint will automatically shut down after a configurable period of inactivity (typically 10-30 minutes). When the scheduled refresh occurs, the endpoint will automatically start up, run the queries, and then stop again after the inactivity period.
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.
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.
For dashboards that refresh infrequently (like once per day), enabling Auto Stop is the most cost-effective approach as it ensures the SQL endpoint only runs when needed and automatically stops after completing the refresh, minimizing both running time and costs.