How does BigQuery ensure data encryption at rest and in transit?

Quick Overview

Explain how BigQuery protects data at rest and in transit and what control a team has over the keys. The question tests your understanding of default envelope encryption, customer-managed keys, transport encryption, column-level AEAD functions, and how encryption differs from access control.

How does BigQuery ensure data encryption at rest and in transit?

Role: Data Scientist

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Other

How does BigQuery ensure data encryption at rest and in transit? ```hint Default versus control Separate what happens with no configuration at all from the options a team can turn on when it needs to control the keys itself. ``` ### What a Strong Answer Covers - Default encryption at rest and how envelope encryption with data keys and key-encryption keys works - The key-control options (customer-managed keys in Cloud KMS, external keys) and their operational cost - Encryption in transit, both from the client to the service and inside Google's infrastructure - Field-level encryption inside SQL and how it differs from storage encryption - What encryption does not protect against, and which controls cover that gap ### Follow-up Questions - What happens to queries on a CMEK-protected table if someone disables the key? - How would you make one customer's data unreadable for a deletion request without rewriting every table that holds it? - Why does storage encryption not stop a user who has read access through IAM, and what does? - When is deterministic encryption acceptable, and what does it reveal?

Overview: Explain how BigQuery protects data at rest and in transit and what control a team has over the keys. The question tests your understanding of default envelope encryption, customer-managed keys, transport encryption, column-level AEAD functions, and how encryption differs from access control.

General logo
General
Nov 25, 2026
mediumData ScientistOtherSoftware Engineering Fundamentals
0
0

How does BigQuery ensure data encryption at rest and in transit?

What a Strong Answer Covers Guidance

  • Default encryption at rest and how envelope encryption with data keys and key-encryption keys works
  • The key-control options (customer-managed keys in Cloud KMS, external keys) and their operational cost
  • Encryption in transit, both from the client to the service and inside Google's infrastructure
  • Field-level encryption inside SQL and how it differs from storage encryption
  • What encryption does not protect against, and which controls cover that gap

Follow-up Questions Guidance

  • What happens to queries on a CMEK-protected table if someone disables the key?
  • How would you make one customer's data unreadable for a deletion request without rewriting every table that holds it?
  • Why does storage encryption not stop a user who has read access through IAM, and what does?
  • When is deterministic encryption acceptable, and what does it reveal?