BigQuery on-demand vs. capacity (slot) pricing: how they differ and when to choose each

Quick Overview

Asks how BigQuery's on-demand pricing and capacity-based (slot) pricing differ and when an organization should choose each. It tests reasoning about query cost, workload volume and predictability, concurrency, and how to compare the two bills using job history.

BigQuery on-demand vs. capacity (slot) pricing: how they differ and when to choose each

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

Explain the difference between BigQuery's on-demand pricing and capacity-based (slot) pricing models. When would an organization choose one over the other? ```hint What gets metered Ask what quantity each model bills for. Then picture a query that reads a lot of data but does little work with it, and one that reads little but computes a lot. ``` ```hint Peaks and forecasts Think about how predictable the workload is, and what happens to cost and to query speed under each model when demand spikes. ``` ### What a Strong Answer Covers - What each model bills for, and how the bill responds to more queries or larger scans - How capacity is bought and shared under slot pricing (editions, autoscaling reservations, commitments, assignments) - How concurrency and query speed behave under each model at peak demand - A data-driven way to decide, such as comparing bytes billed and slot usage from job history - The common mixed setup, and the cost controls available on on-demand ### Follow-up Questions - Using `INFORMATION_SCHEMA.JOBS`, how would you estimate whether moving a project to a reservation saves money? - A reservation is sized well on average, but the morning dashboard refresh is slow. What would you change? - Which query habits make on-demand bills spike, and which settings can cap the damage? - Why can a query that is cheap on demand be expensive under slot pricing, and the reverse?

Overview: Asks how BigQuery's on-demand pricing and capacity-based (slot) pricing differ and when an organization should choose each. It tests reasoning about query cost, workload volume and predictability, concurrency, and how to compare the two bills using job history.

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

Explain the difference between BigQuery's on-demand pricing and capacity-based (slot) pricing models. When would an organization choose one over the other?

What a Strong Answer Covers Guidance

  • What each model bills for, and how the bill responds to more queries or larger scans
  • How capacity is bought and shared under slot pricing (editions, autoscaling reservations, commitments, assignments)
  • How concurrency and query speed behave under each model at peak demand
  • A data-driven way to decide, such as comparing bytes billed and slot usage from job history
  • The common mixed setup, and the cost controls available on on-demand

Follow-up Questions Guidance

  • Using INFORMATION_SCHEMA.JOBS , how would you estimate whether moving a project to a reservation saves money?
  • A reservation is sized well on average, but the morning dashboard refresh is slow. What would you change?
  • Which query habits make on-demand bills spike, and which settings can cap the damage?
  • Why can a query that is cheap on demand be expensive under slot pricing, and the reverse?