What are Snowflake Tasks, how do you chain them into DAGs, and how do serverless and warehouse-backed tasks differ?

Quick Overview

Explain what Snowflake Tasks are, how to chain them into task graphs with dependencies, and how serverless tasks differ from tasks that run on a named warehouse. Tests your knowledge of scheduling, stream-triggered runs, resume order and compute billing for in-warehouse pipelines.

What are Snowflake Tasks, how do you chain them into DAGs, and how do serverless and warehouse-backed tasks differ?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What are Tasks in Snowflake, how can you orchestrate sequences of tasks (task trees or DAGs), and what is the difference between serverless and warehouse-backed tasks? ```hint Start from the trigger Separate what starts a task (a schedule, a predecessor, a condition on new data) from what the task runs. ``` ```hint Price a short job Picture a task that does 20 seconds of work every five minutes, and ask what you pay for under each compute option. ``` ### What a Strong Answer Covers - What a task is: what it can run, what triggers it, and how a condition on stream data skips empty runs - How to build a task graph with a scheduled root, `AFTER` dependencies, multiple predecessors and a finalizer task - The operational rules: tasks start suspended, the order to resume them in, and suspending the root before changing the graph - How serverless and warehouse-backed tasks differ in who sizes the compute and how it is billed - When each compute option fits ### Follow-up Questions - A child task fails in the middle of a graph. What happens to the rest of that run, and how do you find out? - How do you stop a slow run from overlapping with the next scheduled run? - How would you make the load step safe to rerun after a partial failure? - When would you run the pipeline from an external orchestrator such as Airflow in place of Snowflake tasks?

Overview: Explain what Snowflake Tasks are, how to chain them into task graphs with dependencies, and how serverless tasks differ from tasks that run on a named warehouse. Tests your knowledge of scheduling, stream-triggered runs, resume order and compute billing for in-warehouse pipelines.

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

What are Tasks in Snowflake, how can you orchestrate sequences of tasks (task trees or DAGs), and what is the difference between serverless and warehouse-backed tasks?

What a Strong Answer Covers Guidance

  • What a task is: what it can run, what triggers it, and how a condition on stream data skips empty runs
  • How to build a task graph with a scheduled root, AFTER dependencies, multiple predecessors and a finalizer task
  • The operational rules: tasks start suspended, the order to resume them in, and suspending the root before changing the graph
  • How serverless and warehouse-backed tasks differ in who sizes the compute and how it is billed
  • When each compute option fits

Follow-up Questions Guidance

  • A child task fails in the middle of a graph. What happens to the rest of that run, and how do you find out?
  • How do you stop a slow run from overlapping with the next scheduled run?
  • How would you make the load step safe to rerun after a partial failure?
  • When would you run the pipeline from an external orchestrator such as Airflow in place of Snowflake tasks?