โ† All DBT Flashcard Decks

DBT Sources & Seeds Flashcards

6 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 6 DBT Sources & Seeds flashcards as text
  1. How do you reference a seed table inside a dbt model?

    Answer: {{ ref('seed_name') }}

    Seeds are treated like models in the DAG, so you reference them with `{{ ref('seed_name') }}` just like any model.

  2. Where are source definitions typically stored in a dbt project?

    Answer: In YAML files within the models/ directory

    Sources are declared in any YAML file inside the models/ directory tree (e.g., sources.yml or staging/sources.yml).

  3. What does the `loaded_at_field` property on a source table specify?

    Answer: The column that holds the row's creation timestamp for freshness checks

    `loaded_at_field` points to a timestamp column that dbt checks to determine how recently data was loaded.

  4. Which config key in dbt_project.yml sets the schema for all seed tables?

    Answer: seeds > +schema

    Under the `seeds:` block in dbt_project.yml, `+schema` overrides the default schema for seed output tables.

  5. What happens when you run `dbt seed --full-refresh`?

    Answer: The seed table is dropped and recreated from scratch

    `--full-refresh` causes dbt to drop the existing seed table before recreating it, ensuring a clean load.

  6. Which dbt source property lets you override the actual database table name that a source points to?

    Answer: identifier

    The `identifier:` property under a source table lets you specify the real table name in the warehouse when it differs from the dbt source name.

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