Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
dbt - Practice Tests
32 students

dbt - Practice Tests

Models, incremental builds, tests, contracts, node selection and state in dbt v2, with every answer explained
Created byTech Coach
Last updated 11/2026
English

What you'll learn

  • Understand how dbt fits into the modern data stack and confidently navigate project structure, models, materialisations, sources, seeds, and tests.
  • Implement advanced dbt patterns including incremental models, snapshots for SCD Type 2, macros, Jinja templating, packages, hooks, and exposures.
  • Design production-grade dbt projects with CI/CD, slim CI, environment management, dbt Cloud vs Core trade-offs, and artifact-based deployment.
  • Apply expert-level dbt architecture: model layering, performance optimisation, adapter-specific configs, dbt Mesh, and ecosystem integrations.

Included in This Course

198 questions
  • Projects, Sources and Models28 questions
  • Materializations, Incremental Models and Snapshots32 questions
  • Data Tests, Unit Tests and Checks31 questions
  • Governance, dbt Mesh and the Semantic Layer31 questions
  • Commands, Selection & State38 questions
  • State, Freshness and Deployment38 questions

Description

Practice dbt v2 one topic at a time.

This course contains practice tests on dbt (data build tool) that follow the official dbt documentation, from project structure and materializations to data tests, model governance, node selection and state-based deployment. Each test covers one area, so you can work through dbt step by step and see exactly where you need to study more. The questions are short, realistic analytics engineering scenarios. Every question explains why the correct answer fits, what each of the other options really does and when you would use it instead, and links to the dbt docs page it's based on. So a single question teaches you four features, not one. Some questions show real dbt SQL and YAML from the docs and ask what it does.

Up to date with dbt v2

dbt v2, the Rust-based engine, became generally available in September 2026. The questions describe how dbt v2 works today, and where v2 differs from dbt v1, for example its stricter parse-time validation, removed flags or project macros in YAML, the explanation says so.

· Practice Test 1 - Projects, Sources and Models: sources, quoting, seeds, seed configs and external tables; project configs, the + prefix, variables and environment variables; custom schemas, databases and aliases; SQL and Python models, analyses and unique names; Jinja, macros, {{ this }}, target, execute and adapter.dispatch; hooks, grants, packages and user-defined functions

· Practice Test 2 - Materializations, Incremental Models and Snapshots: choosing materializations, ephemeral models, Snowflake dynamic tables and on_configuration_change; incremental strategies, unique keys, on_schema_change, full_refresh, incremental predicates and merge_exclude_columns; microbatch filtering, lookback and backfills; YAML snapshots with strategies, meta columns and hard deletes; platform configs such as BigQuery partitioning, Snowflake transient tables, copy_grants and secure views, and Databricks replace_where; incremental Python models; Iceberg tables on Databricks

· Practice Test 3 - Data Tests, Unit Tests and Checks: singular, generic and custom generic tests, tests on sources and the arguments property in dbt v2; severity, where, store_failures and batch tests; test configs by path, tags and singular test configs; unit tests with formats, fixtures and overrides, and their limits; dbt v2 checks, static analysis, dbt lint and dbt format; docs blocks, persist_docs and dbt Docs v2

· Practice Test 4 - Governance, dbt Mesh and the Semantic Layer: model contracts, type checks and constraints; access levels, groups, restrict-access, model versions, defined_in, column overrides and deprecation dates; project dependencies and cross-project refs in dbt Mesh; exposures; semantic models, entities and dimensions; simple, derived, cumulative, ratio and conversion metrics, time spines and saved queries

· Practice Test 5 - Commands, Node Selection and Debugging: dbt build, show (limits and inline safety), retry, ls, compile, debug, deps, clean and run-operation; graph and set operators, selector methods, wildcards, YAML selectors and indirect selection; behavior change flags and flags removed in dbt v2; --empty, --sample, --fail-fast, warnings and log levels; artifacts, exit codes and the dbt Information Schema

· Practice Test 6 - State, Freshness and Deployment: state:modified, deferral, --favor-state, dbt clone and dbt retry; source and model freshness and source_status selection; dbt platform deploy, CI and merge jobs, environments, release tracks, notifications and webhooks; dbt State and lag_tolerance; Advanced CI compare changes; Catalog and column-level lineage; profiles.yml and targets; the VS Code extension, the Studio IDE Git workflow and deferral, and threads in dbt v2

Checked against the dbt docs

Every fact is checked in the current dbt documentation, and questions are updated when dbt changes. Removed or renamed features appear only as wrong answers, with an explanation of what replaced them.

Who it's for

Analytics engineers, data engineers and analysts who work with dbt and want to test and deepen their knowledge, including dbt v1 users moving to v2.

How to use it

Take one test at a time and review every explanation, including those for the answers you got right. Open the linked dbt docs page for the topics you missed. Retake a test until you score above 80%.

Please note

These are original practice questions for learning; this course doesn't prepare for a specific certification exam. It isn't affiliated with or endorsed by dbt Labs or Fivetran. dbt is a trademark of dbt Labs, Inc.

Who this course is for:

  • Analytics engineers who use dbt daily and suspect their mental model has gaps. If you have configured an incremental model by copying a block from another model, or have never been certain whether a snapshot should point at a source or a model, this is aimed at you. Data engineers who have inherited a dbt project and need to understand decisions someone else made: why this model is incremental, why that test was downgraded to a warning, why the nightly job rebuilds a table that never changes. Teams standardising their practice. The questions cover the arguments a team actually has, contracts against tests, intermediate models against bigger marts, strictness against pragmatism, so a group can disagree with the answer and have a reason.