How does Snowflake handle encryption at rest and in transit, and what is Tri-Secret Secure?

Quick Overview

Asks how a cloud data warehouse encrypts data in transit and at rest, how its hierarchical key model and key rotation work, and what Tri-Secret Secure adds with a customer-managed key. Tests security fundamentals, key management trade-offs, and the operational risk of holding a revocable key.

How does Snowflake handle encryption at rest and in transit, and what is Tri-Secret Secure?

Role: Data Scientist

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Other

How does Snowflake handle encryption at rest and in transit, and what is Tri-Secret Secure? ```hint Follow the keys Start from one stored file. What encrypts it, what encrypts that key, and where does the chain end? ``` ```hint Who can lock the data For the customer-managed option, ask which party can make the data unreadable and what action does it. ``` ### What a Strong Answer Covers - Encryption in transit for client connections. - Encryption at rest by default, the levels of the key hierarchy, and where the top-level key is protected. - Automatic key rotation, the optional periodic rekeying, and how the two differ. - What Tri-Secret Secure combines, where the customer's key lives, and what happens when it is revoked. - The trade-offs of holding your own key, including the edition requirement and the risk of losing access. ### Follow-up Questions - What is the difference between rotating a key and rekeying data, and why does rekeying cost more? - A customer disables its key under Tri-Secret Secure and re-enables it a day later. What happens to the data in between and afterwards? - Who is responsible for encrypting files in an external stage that points at the customer's own cloud storage bucket? - What does private network connectivity to the account protect against that TLS does not?

Overview: Asks how a cloud data warehouse encrypts data in transit and at rest, how its hierarchical key model and key rotation work, and what Tri-Secret Secure adds with a customer-managed key. Tests security fundamentals, key management trade-offs, and the operational risk of holding a revocable key.

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

How does Snowflake handle encryption at rest and in transit, and what is Tri-Secret Secure?

What a Strong Answer Covers Guidance

  • Encryption in transit for client connections.
  • Encryption at rest by default, the levels of the key hierarchy, and where the top-level key is protected.
  • Automatic key rotation, the optional periodic rekeying, and how the two differ.
  • What Tri-Secret Secure combines, where the customer's key lives, and what happens when it is revoked.
  • The trade-offs of holding your own key, including the edition requirement and the risk of losing access.

Follow-up Questions Guidance

  • What is the difference between rotating a key and rekeying data, and why does rekeying cost more?
  • A customer disables its key under Tri-Secret Secure and re-enables it a day later. What happens to the data in between and afterwards?
  • Who is responsible for encrypting files in an external stage that points at the customer's own cloud storage bucket?
  • What does private network connectivity to the account protect against that TLS does not?