โ† All DBT Flashcard Decks

DBT Core Concepts & Architecture 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 DBT Core Concepts & Architecture flashcards as text
  1. What is the purpose of the `target` key in a dbt profile?

    Answer: Defines the default environment (e.g., dev or prod) to use when running dbt

    The `target` key in `profiles.yml` specifies which named environment configuration (such as dev or prod) dbt uses by default when executing commands.

  2. What does the node selection syntax `dbt run --select +my_model` do?

    Answer: Runs my_model and all its upstream parent models

    The `+` prefix in the selector syntax means 'include all upstream parents,' so `+my_model` runs my_model and every model it depends on.

  3. Which command is used to install dbt packages listed in `packages.yml`?

    Answer: dbt deps

    `dbt deps` reads `packages.yml` and downloads all listed dbt packages into the `dbt_packages/` directory.

  4. What does `dbt docs generate` produce?

    Answer: A catalog.json and manifest.json used to serve the documentation site

    `dbt docs generate` creates `catalog.json` (column metadata from the warehouse) and `manifest.json` (project graph), which are used by `dbt docs serve` to render the documentation site.

  5. In dbt, what is an 'ephemeral' materialization?

    Answer: A model that is never written to the database and exists only as a CTE in downstream models

    Ephemeral models are not materialized in the database at all; dbt inlines them as CTEs in any downstream model that references them.

  6. What does `dbt debug` do?

    Answer: Validates the project configuration and database connection

    `dbt debug` checks that the project configuration is valid and that dbt can successfully connect to the target data warehouse using the current profile.

  7. Which dbt selector syntax runs a model and all models downstream of it?

    Answer: my_model+

    The trailing `+` syntax (`my_model+`) selects the specified model and all models downstream of it in the DAG.

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