BigQuery slot commitments vs autoscaling reservations, and how idle slots are shared across reservations

Quick Overview

Asks how BigQuery slot commitments differ from autoscaling reservations and how idle slots move between reservations. Tests understanding of capacity billing, baseline and autoscaled slots, idle slot sharing settings and how workload isolation affects query performance.

BigQuery slot commitments vs autoscaling reservations, and how idle slots are shared across reservations

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

In BigQuery's capacity-based pricing, what is the difference between slot commitments and autoscaling reservations, and how are idle slots shared across reservations? ```hint Two different things Separate the thing you pay for from the thing that decides which queries get which slots. ``` ```hint Which side decides For idle slots, be precise about what a reservation's setting controls: lending its own unused slots, or running on unused slots that belong to others. ``` ### What a Strong Answer Covers - What a capacity commitment is: the term, the discount and how it is billed - What a reservation is, what its baseline means, and how autoscaling adds and bills slots above it - How commitments and reservations combine in a typical setup - Where idle slots come from, which reservations can use them, and the setting that controls it - What happens when lent slots are reclaimed, and the trade-off of isolating a reservation ### Follow-up Questions - How would you size the baseline and the autoscaling maximum for a nightly ETL peak plus daytime dashboards? - A dashboard reservation is fast at night and slow at noon with no code change. What explains it, and what would you change? - How would you decide between buying a larger commitment and relying on autoscaling? - How would you measure how many slots each reservation actually used?

Overview: Asks how BigQuery slot commitments differ from autoscaling reservations and how idle slots move between reservations. Tests understanding of capacity billing, baseline and autoscaled slots, idle slot sharing settings and how workload isolation affects query performance.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

In BigQuery's capacity-based pricing, what is the difference between slot commitments and autoscaling reservations, and how are idle slots shared across reservations?

What a Strong Answer Covers Guidance

  • What a capacity commitment is: the term, the discount and how it is billed
  • What a reservation is, what its baseline means, and how autoscaling adds and bills slots above it
  • How commitments and reservations combine in a typical setup
  • Where idle slots come from, which reservations can use them, and the setting that controls it
  • What happens when lent slots are reclaimed, and the trade-off of isolating a reservation

Follow-up Questions Guidance

  • How would you size the baseline and the autoscaling maximum for a nightly ETL peak plus daytime dashboards?
  • A dashboard reservation is fast at night and slow at noon with no code change. What explains it, and what would you change?
  • How would you decide between buying a larger commitment and relying on autoscaling?
  • How would you measure how many slots each reservation actually used?