What is the difference between a standard view and a materialized view in BigQuery, and when would you use each?

Quick Overview

Asks how a standard view differs from a materialized view in BigQuery and when to choose each. Tests knowledge of what each view stores, how reads are billed, freshness and SQL restrictions, and how views support cost control and access control.

What is the difference between a standard view and a materialized view in BigQuery, and when would you use each?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What is the difference between a standard view and a materialized view in BigQuery, and when would you use each? ```hint Follow the bytes For each kind of view, ask what is stored, what gets scanned when someone queries it, and what you pay for besides the query itself. ``` ### What a Strong Answer Covers - What each kind of view stores and what happens when it is queried. - How cost and latency compare for repeated queries over a large table. - The SQL restrictions on materialized views and the freshness behavior of each. - Concrete situations where each one is the right choice, including access control. ### Follow-up Questions - A dashboard runs the same daily aggregate over a multi-terabyte events table every few minutes. How would you cut its cost, and what would you check before creating a materialized view? - How can a standard view be used to give an analyst access to a subset of a table they cannot read directly? - What happens to a materialized view when rows in its base table are updated or deleted, as opposed to appended? - When would you choose a scheduled query writing to a table over a materialized view?

Overview: Asks how a standard view differs from a materialized view in BigQuery and when to choose each. Tests knowledge of what each view stores, how reads are billed, freshness and SQL restrictions, and how views support cost control and access control.

Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What is the difference between a standard view and a materialized view in BigQuery, and when would you use each?

What a Strong Answer Covers Guidance

  • What each kind of view stores and what happens when it is queried.
  • How cost and latency compare for repeated queries over a large table.
  • The SQL restrictions on materialized views and the freshness behavior of each.
  • Concrete situations where each one is the right choice, including access control.

Follow-up Questions Guidance

  • A dashboard runs the same daily aggregate over a multi-terabyte events table every few minutes. How would you cut its cost, and what would you check before creating a materialized view?
  • How can a standard view be used to give an analyst access to a subset of a table they cannot read directly?
  • What happens to a materialized view when rows in its base table are updated or deleted, as opposed to appended?
  • When would you choose a scheduled query writing to a table over a materialized view?