Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
dbt Labs · dbt Analytics Engineering · FREE PRACTICE

dbt Analytics Engineering Certification practice questions

Free practice, with shuffled choices and an explanation behind every answer. A little practice, a clearer next step.

Loading your practice…

From the videos

Mock exam questions50
Training questions51
Lesson quick checks51

These questions come from the course videos. Information as of November 2026.

dbt Analytics Engineering sample questions

10 of the 152 questions, as plain text. Start a session above for shuffled choices, a score and the reason behind every choice.

  1. A snapshot must track a cleaned version of the subscriptions table, with renamed columns. What should its relation point to?

    • An ephemeral model that cleans the raw table
    • The snapshot itself, through a ref to its own name
    • A seed that copies the table every night
    • A Jinja loop written inside the snapshot YAML
    Show the answer

    An ephemeral model that cleans the raw table

    An ephemeral model keeps the cleaning logic in dbt, without building an extra object, and the snapshot reads from it. “The snapshot itself, through a ref to its own name” is wrong, since a node that reads itself creates a cycle. “A seed that copies the table every night” is wrong, since seeds are small static files kept in the project. And “A Jinja loop written inside the snapshot YAML” is wrong, since the relation must point to a source or a model.

  2. On most analytical data platforms, which constraint type is actually enforced when a table loads?

    • primary_key
    • not_null
    • unique
    • foreign_key
    Show the answer

    not_null

    Most platforms enforce not null, and keep primary keys, foreign keys, and unique constraints as metadata only. “primary_key” is wrong, since most platforms only keep primary keys as metadata. “unique” is wrong, since most platforms do not check unique constraints. And “foreign_key” is wrong, since most platforms keep foreign keys as metadata only.

  3. A developer pushes a new commit to a pull request that is already open. What does the CI job do?

    • Nothing, since it runs only when the pull request opens
    • It waits for the merge, then runs in production
    • It rebuilds the whole project from scratch
    • It runs again, on the new commit
    Show the answer

    It runs again, on the new commit

    A CI job runs when a pull request is opened, and again for every new commit pushed to it. “Nothing, since it runs only when the pull request opens” is wrong, since every new commit triggers the job again. “It waits for the merge, then runs in production” is wrong, since CI checks changes before they are merged. And “It rebuilds the whole project from scratch” is wrong, since the default command only builds modified models and their children.

  4. On a platform without zero-copy cloning, what does dbt clone create for a production table?

    • A full copy of the production table and all of its data
    • Nothing, since it raises an error
    • A view that points to the production table
    • An empty table with the same columns
    Show the answer

    A view that points to the production table

    Where zero copy cloning is not available, dbt clone creates a pointer view on the production object. “A full copy of the production table and all of its data” is wrong, since dbt clone never copies the data itself. “Nothing, since it raises an error” is wrong, since dbt falls back to a pointer view. And “An empty table with the same columns” is wrong, since a pointer view returns the production rows.

  5. How can the team turn on store_failures for every test of the marts folder at once?

    • In dbt_project.yml, under data_tests, with +store_failures
    • In a config block at the top of each mart
    • In packages.yml, next to the packages
    • With --store-failures, which applies only to marts
    Show the answer

    In dbt_project.yml, under data_tests, with +store_failures

    Test configs can be set for many tests at once in the project file, under the data tests key and a path. “In a config block at the top of each mart” is wrong, since a model config does not configure its tests. “In packages.yml, next to the packages” is wrong, since the packages file only lists packages. And “With --store-failures, which applies only to marts” is wrong, since the flag applies to every test of the run.

  6. The freshness query on a huge events source is slow and costly. What helps?

    • A larger error_after count
    • A not_null test on the timestamp column
    • Running dbt source freshness less often
    • A filter on the rows the query scans
    Show the answer

    A filter on the rows the query scans

    The filter config adds a condition to the freshness query, so it scans fewer rows. “A larger error_after count” would only change when the check errors, not what it scans. “A not_null test on the timestamp column” is wrong, since a data test adds a query, and does not change this one. And “Running dbt source freshness less often” would only run the same costly query less often.

  7. CI should rebuild only the models whose SQL changed, not those whose configs changed. Which selector?

    • state:modified.configs
    • state:modified.body
    • state:modified.relation
    • state:new
    Show the answer

    state:modified.body

    The body subselector only keeps changes to the code of a node, like model SQL. “state:modified.configs” is wrong, since configs selects config changes, the opposite. “state:modified.relation” is wrong, since relation tracks database, schema, and alias changes. And “state:new” is wrong, since state new ignores changes to existing models.

  8. Which command builds the staging and intermediate folders, except the models tagged deprecated?

    • dbt build -s "staging,intermediate" --exclude "tag:deprecated"
    • dbt build -s "staging intermediate tag:deprecated"
    • dbt build -s "staging intermediate" --exclude "tag:deprecated"
    • dbt build -s "staging intermediate" --exclude "tag:deprecated+"
    Show the answer

    dbt build -s "staging intermediate" --exclude "tag:deprecated"

    A space between two arguments forms a union, and the exclude flag then removes the tagged models. “dbt build -s "staging,intermediate" --exclude "tag:deprecated"” is wrong, since a comma keeps only the models found in both folders. “dbt build -s "staging intermediate tag:deprecated"” would only add the tagged models to the selection. And “dbt build -s "staging intermediate" --exclude "tag:deprecated+"” would also exclude every model downstream of the tagged models.

  9. dbt warns that a primary key constraint is not enforced by the platform. The team knows, and tests the key instead. How can it turn the warning off?

    • contract: {enforced: false}
    • warn_unenforced: false
    • severity: warn
    • --warn-error
    Show the answer

    warn_unenforced: false

    Warn unenforced set to false turns off the warning about constraints that the platform does not enforce. “contract: {enforced: false}” would turn off the whole contract. “severity: warn” is wrong, since severity is a data test config. And “--warn-error” would turn the warning into an error.

  10. A new dbt release introduces a behavior change flag. What is its default at first?

    • Enabled, so the new behavior applies at once
    • Removed, so only the new behavior exists
    • Disabled, so the old behavior is kept
    • Unset, so dbt asks at the next run
    Show the answer

    Disabled, so the old behavior is kept

    A new behavior change flag is introduced as disabled, until it matures and becomes the default. “Enabled, so the new behavior applies at once” is wrong, since the new behavior becomes the default only later. “Removed, so only the new behavior exists” is wrong, since removal is the last phase, not the first. And “Unset, so dbt asks at the next run” is wrong, since dbt never asks for flag values at run time.

Original practice questions written for Cert Espresso, not real exam questions.