โ† All DBT Flashcard Decks

DBT Testing & Data Quality 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 Testing & Data Quality flashcards as text
  1. What does the `store_failures` config on a dbt test do?

    Answer: Persists failing rows to a table in the database

    When `store_failures: true`, dbt creates a table containing the rows that caused the test to fail, useful for debugging.

  2. Which severity level causes dbt test to exit with a non-zero code but continue running remaining tests?

    Answer: warn

    Setting `severity: warn` makes dbt report the failure as a warning and continue without stopping the run.

  3. Where are singular (bespoke) dbt tests stored in a standard project layout?

    Answer: tests/

    Singular tests are plain SQL SELECT files placed in the `tests/` directory; a non-empty result means the test fails.

  4. What does a singular dbt test return to indicate a failure?

    Answer: Any non-empty result set

    dbt runs the SQL and considers any rows returned as failures; zero rows means the test passes.

  5. Which config allows you to set a threshold so a test only fails if MORE than N rows are returned?

    Answer: error_if

    `error_if` accepts a numeric expression (e.g., `>100`) so a test only errors when the failure count exceeds that limit.

  6. Which dbt-utils test checks that a numeric column never decreases over time within a partition?

    Answer: monotonic_increase

    `dbt_utils.monotonic_increase` asserts that values in a column are always greater than or equal to the previous row's value.

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