Ultimate access to all questions.
The data analyst team at your company uses BigQuery for both ad-hoc queries and scheduled SQL pipelines in a Google Cloud project with a slot reservation of 2000 slots. Recently, the addition of many non time-sensitive SQL pipelines has led to frequent quota errors, with logs showing around 1500 queries running concurrently during peak hours. What is the best approach to alleviate these quota errors?
Explanation:
The correct answer is B: Update SQL pipelines to run as batch queries, and run ad-hoc queries as interactive query jobs. This approach effectively manages concurrency by scheduling non time-sensitive batch queries during off-peak hours, thus reducing peak-time concurrency. Interactive query jobs are better suited for ad-hoc queries, allowing for optimized resource allocation.