โ† All DBT Flashcard Decks

Data Modeling & Transformation Flashcards

7 cards from real DBT practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Data Modeling & Transformation flashcards as text
  1. What is the purpose of a dbt snapshot?

    Answer: To record changes to mutable source rows over time (type-2 SCD)

    Snapshots capture historical versions of rows with valid-from and valid-to columns.

  2. Which snapshot strategy compares an updated_at column to detect changed rows?

    Answer: timestamp

    The timestamp strategy relies on an updated_at column and is the recommended one.

  3. Which columns does dbt add to snapshot tables to track validity?

    Answer: dbt_valid_from and dbt_valid_to

    Snapshots add dbt_valid_from, dbt_valid_to, dbt_scd_id, and dbt_updated_at.

  4. Which command loads CSV files from the seeds directory into the warehouse?

    Answer: dbt seed

    dbt seed loads CSV files as tables, suited to small static reference data.

  5. Which is the best use case for a seed file?

    Answer: A small, rarely changing mapping such as country codes

    Seeds are for small static lookups version-controlled with the project.

  6. What does `dbt build` do compared with `dbt run`?

    Answer: Runs models, seeds, snapshots, and tests in DAG order

    build executes seeds, models, snapshots, and tests together, in dependency order.

  7. A model's tests fail during `dbt build`. What happens to its downstream models by default?

    Answer: They are skipped

    By default, downstream nodes are skipped when an upstream test or model fails.

How this page was made: written with AI tools. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy

Data Modeling & Transformation Flashcards โ€” DBT Study Cards with Answers