
Ultimate access to all questions.
An engineering manager wants to monitor the performance of a recent project using a Databricks SQL query. For the first week following the project's release, the manager wants the query results to be updated every minute. However, the manager is concerned that the compute resources used for the query will be left running and cost the organization a lot of money beyond the first week of the project's release.
Which approach can the engineering team use to ensure the query does not cost the organization any money beyond the first week of the project's release?
A
They can set a limit to the number of DBUs that are consumed by the SQL Endpoint.
B
They can set the query's refresh schedule to end after a certain number of refreshes.
C
They can set the query's refresh schedule to end on a certain date in the query scheduler.
D
They can set a limit to the number of individuals that are able to manage the query's refresh schedule.
Explanation:
The correct answer is C because:
Query Scheduler End Date Feature: Databricks SQL provides a query scheduler that allows users to set up scheduled refreshes for queries. One of the key features is the ability to specify an end date for the schedule.
Preventing Unnecessary Costs: By setting the refresh schedule to end on a specific date (e.g., one week after the project release), the query will automatically stop refreshing after that date. This ensures that compute resources are not left running indefinitely, preventing unnecessary costs.
Why Other Options Are Incorrect:
Best Practice: Using the end date feature in the query scheduler is the most direct and reliable way to ensure the query stops refreshing after a specific period, aligning perfectly with the requirement to monitor for exactly one week after project release.