1. A data engineer is setting up a Databricks SQL warehouse for a business intelligence team. The team's workload consists of unpredictable bursts of concurrent queries from 20 analysts throughout the business day, with very low activity at night. Which Databricks SQL warehouse configuration would BEST balance performance during peak hours and cost efficiency during off-peak hours?
- A. A Classic SQL warehouse with auto-stop disabled to ensure analysts never experience cold-start delays.
- B. A serverless SQL warehouse with auto-stop enabled, allowing Databricks to automatically scale and terminate compute resources based on query demand.✓ Correct
- C. A Pro SQL warehouse with a fixed cluster size of 4X-Large to handle all concurrent queries at maximum throughput at all times.
- D. A Classic SQL warehouse sized at X-Small, as smaller warehouse sizes always result in lower costs regardless of query concurrency.
Explanation
Option B is correct: a serverless SQL warehouse automatically scales compute up during peak query bursts and down (including full termination via auto-stop) during idle periods, providing both high performance under load and minimal cost when inactive. This is ideal for unpredictable, bursty workloads. Option A is wrong: disabling auto-stop means the warehouse runs (and incurs cost) 24/7, including overnight when there is low activity — this is not cost-efficient. Option C is wrong: a fixed 4X-Large warehouse is over-provisioned and extremely expensive to run continuously; it does not scale down during off-peak hours. Option D is wrong: a fixed X-Small warehouse will become a bottleneck with 20 concurrent analysts, causing query queuing and poor performance during peak hours regardless of its lower cost.