Can you explain the high-level architecture of BigQuery?

Quick Overview

Asks for a high-level explanation of how BigQuery is built, from its storage layer to its query engine. Tests understanding of separated storage and compute, columnar storage, distributed execution with slots and shuffle, and what that design means for query cost and table layout.

Can you explain the high-level architecture of BigQuery?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

Can you explain the high-level architecture of BigQuery? ```hint Follow one query Trace a single `SELECT` from submission to result: where the bytes live, what reads them, and how partial results from many workers get combined. ``` ```hint What scales on its own Ask which parts of the system can grow or shrink without touching the others, and what has to be fast for that split to work. ``` ### What a Strong Answer Covers - The separation of storage and compute, and why it lets each scale independently - How data is stored: the distributed file system, the columnar format and replication - How a query executes: the execution engine, slots, stages and the shuffle between stages - The network and resource-management pieces that make the separation practical - What the architecture implies for cost and for how you write queries and lay out tables ### Follow-up Questions - Under on-demand pricing, why does `SELECT *` with `LIMIT 10` cost more than selecting three columns from the same table? - How do partitioning and clustering reduce the work a query does in this architecture? - Which workloads is BigQuery a poor fit for, and why? - What is a slot, and what happens when a query needs more slots than are available?

Overview: Asks for a high-level explanation of how BigQuery is built, from its storage layer to its query engine. Tests understanding of separated storage and compute, columnar storage, distributed execution with slots and shuffle, and what that design means for query cost and table layout.

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

Can you explain the high-level architecture of BigQuery?

What a Strong Answer Covers Guidance

  • The separation of storage and compute, and why it lets each scale independently
  • How data is stored: the distributed file system, the columnar format and replication
  • How a query executes: the execution engine, slots, stages and the shuffle between stages
  • The network and resource-management pieces that make the separation practical
  • What the architecture implies for cost and for how you write queries and lay out tables

Follow-up Questions Guidance

  • Under on-demand pricing, why does SELECT * with LIMIT 10 cost more than selecting three columns from the same table?
  • How do partitioning and clustering reduce the work a query does in this architecture?
  • Which workloads is BigQuery a poor fit for, and why?
  • What is a slot, and what happens when a query needs more slots than are available?