
Ultimate access to all questions.
A data engineer wants to schedule their Databricks SQL dashboard to refresh every hour, but they only want the associated SQL endpoint to be running when it is necessary. The dashboard has multiple queries on multiple datasets associated with it. The data that feeds the dashboard is automatically processed using a Databricks Job.
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 turn on the Auto Stop feature for the SQL endpoint.
B
They can ensure the dashboard's SQL endpoint is not one of the included query's SQL endpoint.
C
They can reduce the cluster size of the SQL endpoint.
D
They can ensure the dashboard's SQL endpoint matches each of the queries' SQL endpoints.
E
They can set up the dashboard's SQL endpoint to be serverless.
Explanation:
The correct answer is A because the Auto Stop feature automatically stops the SQL endpoint after a period of inactivity, which directly addresses the requirement to minimize total running time while only running when necessary.
A. Turn on the Auto Stop feature for the SQL endpoint - ✅ CORRECT
B. Ensure the dashboard's SQL endpoint is not one of the included query's SQL endpoint - ❌ INCORRECT
C. Reduce the cluster size of the SQL endpoint - ❌ INCORRECT
D. Ensure the dashboard's SQL endpoint matches each of the queries' SQL endpoints - ❌ INCORRECT
E. Set up the dashboard's SQL endpoint to be serverless - ❌ INCORRECT
The Auto Stop feature in Databricks SQL endpoints allows administrators to configure an idle timeout period. When the endpoint has been idle (no queries running) for the specified time, it automatically stops. This is the most direct solution for minimizing total running time while ensuring the endpoint is available when needed for scheduled dashboard refreshes.