What happens to the data if a BigQuery node fails?

Quick Overview

Asks what happens to stored tables and running queries when a machine behind BigQuery fails. Tests knowledge of storage and compute separation, task retries on other slots, replicated storage, atomic writes, and the cases that redundancy does not protect against.

What happens to the data if a BigQuery node fails?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What happens to the data if a BigQuery node fails? Assume a query is running when one of the machines working on it goes down. Explain what happens to the query and to the data already stored in BigQuery. ```hint Where the data lives Ask whether the machine that runs the query is also the machine that stores the table. ``` ```hint Intermediate results Think about where one query stage writes its output before the next stage reads it, and what that means for retrying a single failed task. ``` ### What a Strong Answer Covers - The separation of storage and compute, and which side a node failure actually hits - What happens to an in-flight query and what the user observes - How the storage layer keeps committed data safe when a machine is lost - What happens to a write that a node failure interrupts - What redundancy does not protect against, and what covers those cases ### Follow-up Questions - If a load job fails halfway through, can the table end up with only some of the rows? - How does the shuffle tier make retrying one failed worker cheaper than rerunning the whole query? - Replication copies a bad DELETE as faithfully as good data. What protects you from that? - What changes if an entire region becomes unavailable?

Overview: Asks what happens to stored tables and running queries when a machine behind BigQuery fails. Tests knowledge of storage and compute separation, task retries on other slots, replicated storage, atomic writes, and the cases that redundancy does not protect against.

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

What happens to the data if a BigQuery node fails?

Assume a query is running when one of the machines working on it goes down. Explain what happens to the query and to the data already stored in BigQuery.

What a Strong Answer Covers Guidance

  • The separation of storage and compute, and which side a node failure actually hits
  • What happens to an in-flight query and what the user observes
  • How the storage layer keeps committed data safe when a machine is lost
  • What happens to a write that a node failure interrupts
  • What redundancy does not protect against, and what covers those cases

Follow-up Questions Guidance

  • If a load job fails halfway through, can the table end up with only some of the rows?
  • How does the shuffle tier make retrying one failed worker cheaper than rerunning the whole query?
  • Replication copies a bad DELETE as faithfully as good data. What protects you from that?
  • What changes if an entire region becomes unavailable?