What are Dynamic Tables in Snowflake, and how do they compare with Streams and Tasks?

Quick Overview

Asks what Snowflake Dynamic Tables are and how they compare with Streams and Tasks for building incremental data pipelines. Tests understanding of declarative and imperative transformation, change tracking, refresh scheduling and when each approach fits.

What are Dynamic Tables in Snowflake, and how do they compare with Streams and Tasks?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What are Dynamic Tables in Snowflake, and how do they compare with Streams and Tasks? ```hint Who decides what and when Compare who writes the change-handling logic and who decides when it runs in each approach. ``` ### What a Strong Answer Covers - What a Dynamic Table is and how its freshness is specified - How Streams capture changes and how Tasks schedule the SQL that consumes them - The declarative versus imperative split: who owns refresh logic, ordering, scheduling and error handling - When each approach fits, including what the declarative model cannot express - Operational concerns such as refresh mode, the compute cost of a short lag, and monitoring ### Follow-up Questions - How would you choose `TARGET_LAG` for a table behind a dashboard, and what does a lower lag cost? - What happens to a stream that nobody consumes for a few weeks? - How would you build a type 2 slowly changing dimension, and which approach fits it better? - How do Dynamic Tables differ from Snowflake materialized views?

Overview: Asks what Snowflake Dynamic Tables are and how they compare with Streams and Tasks for building incremental data pipelines. Tests understanding of declarative and imperative transformation, change tracking, refresh scheduling and when each approach fits.

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

What are Dynamic Tables in Snowflake, and how do they compare with Streams and Tasks?

What a Strong Answer Covers Guidance

  • What a Dynamic Table is and how its freshness is specified
  • How Streams capture changes and how Tasks schedule the SQL that consumes them
  • The declarative versus imperative split: who owns refresh logic, ordering, scheduling and error handling
  • When each approach fits, including what the declarative model cannot express
  • Operational concerns such as refresh mode, the compute cost of a short lag, and monitoring

Follow-up Questions Guidance

  • How would you choose TARGET_LAG for a table behind a dashboard, and what does a lower lag cost?
  • What happens to a stream that nobody consumes for a few weeks?
  • How would you build a type 2 slowly changing dimension, and which approach fits it better?
  • How do Dynamic Tables differ from Snowflake materialized views?