How do permanent, transient and temporary tables in Snowflake differ in Time Travel, Fail-safe and storage cost?

Quick Overview

Asks how Snowflake's permanent, transient and temporary tables differ in lifetime, Time Travel retention and Fail-safe coverage. It tests whether you understand what retained history costs in storage and which table type fits production, staging and scratch workloads.

How do permanent, transient and temporary tables in Snowflake differ in Time Travel, Fail-safe and storage cost?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

Differentiate between permanent, transient and temporary tables in Snowflake, focusing on their implications for Time Travel, Fail-safe and storage costs. ```hint Count the days of history Time Travel and Fail-safe both keep old versions of your data, and you pay to store them. For each table type, ask how long the table lives, who can see it, and how many days of old data Snowflake keeps after a change. ``` ### What a Strong Answer Covers - The lifetime and visibility of each type: which ones persist until dropped and which one ends with the session - The Time Travel retention allowed for each type, including how the Snowflake edition limits it for permanent tables - Which types get Fail-safe, how long it lasts, and who can recover data from it - How retained history drives the storage bill, and which workloads suit each table type ### Follow-up Questions - A nightly job fully reloads a 5 TB permanent table. What does that do to the storage bill, and what would you change? - What happens when a temporary table has the same name as a permanent table in the same schema? - How would you recover a transient table that was dropped by mistake two days ago? - How do transient databases and schemas affect the tables created inside them?

Overview: Asks how Snowflake's permanent, transient and temporary tables differ in lifetime, Time Travel retention and Fail-safe coverage. It tests whether you understand what retained history costs in storage and which table type fits production, staging and scratch workloads.

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

Differentiate between permanent, transient and temporary tables in Snowflake, focusing on their implications for Time Travel, Fail-safe and storage costs.

What a Strong Answer Covers Guidance

  • The lifetime and visibility of each type: which ones persist until dropped and which one ends with the session
  • The Time Travel retention allowed for each type, including how the Snowflake edition limits it for permanent tables
  • Which types get Fail-safe, how long it lasts, and who can recover data from it
  • How retained history drives the storage bill, and which workloads suit each table type

Follow-up Questions Guidance

  • A nightly job fully reloads a 5 TB permanent table. What does that do to the storage bill, and what would you change?
  • What happens when a temporary table has the same name as a permanent table in the same schema?
  • How would you recover a transient table that was dropped by mistake two days ago?
  • How do transient databases and schemas affect the tables created inside them?