• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Start selling Create your account
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

Dbt Certification (Prep) Questions & Answers

Document preview thumbnail
Preview 2 out of 10 pages

DBT CERTIFICATION (PREP) QUESTIONS & ANSWERS

Content preview

DBT CERTIFICATION (PREP) QUESTIONS &
ANSWERS

pre-hook - Answer -executed before a model, seed or snapshot is built.

post-hook - Answer -executed after a model, seed or snapshot is built

on-run-start - Answer -executed at the start of dbt run, dbt seed or dbt snapshot

on-run-end - Answer -executed at the end of dbt run, dbt seed or dbt snapshot

T|F Operations are a separate resource in a dbt project. - Answer -False. Operations
are macros that you can run using the run-operation command command.

What are the required properties in defining an exposure? - Answer -Name, Type &
Owner (email)

What are the different values of 'type' property of an exposure? - Answer -dashboard,
notebook, analysis, ml, application

T|F Exposures appear as orange-y nodes in the DAG - Answer -True.

What will command "dbt run -s +exposure:weekly_jaffle_metrics" execute? - Answer -
This will execute all models upstream of the exposure.

On the first run of the "dbt snapshot" command, what is the value of dbt_valid_to for all
records? - Answer -Null

What are the different strategies used in creating a snapshot? - Answer -Timestamp &
Check

What is the required config when a 'check' strategy is used in creating a snapshot? -
Answer -check_cols

When should a check strategy be used when creating a snapshot? - Answer -The
check strategy is useful for tables which do not have a reliable updated_at column.

What is the required config when a 'timestamp' strategy is used in creating a snapshot?
- Answer -updated_at

What are the different snapshot meta fields? - Answer -dbt_valid_from, dbt_valid_to,
dbt_scd_id, dbt_updated_at

, What happens when the 'invalidate_hard_deletes' config is set to 'true' while defining a
snapshot? - Answer -Finds hard deleted records in source, and set dbt_valid_to current
time if no longer exists

T|F Seeds can be configured in the .csv file - Answer -False. Seeds are configured in
your dbt_project.yml

T|F Sources are declared in the dbt_project.yml file. - Answer -False. Sources are
defined in .yml files nested under a sources: key.

How can the landing page of the generated documentation website be customized? -
Answer -By supplying your own docs block called __overview__. i.e. {{ % docs
_overview_ % }} ....... {{ % enddocs % }}

What happens when command 'dbt test --store-failures' is invoked? - Answer -This will
store failures, the location of which can be configured in the dbt_project.yml file.

What is the name of the default schema to store the results of a test failure? - Answer -
dbt_test__audit

The is_incremental() macro will return True if: - Answer -- the destination table already
exists in the database
- dbt is not running in full-refresh mode
- the running model is configured with materialized='incremental'

T|F If a new column is added to an existing incremental model and dbt run is executed,
the column gets added to the target table. - Answer -False. If you add a column to your
incremental model, and execute a dbt run, this column will not appear in your target
table.

{{ config( materialized='incremental', unique_key='date_day', on_schema_change='fail'
)}}

Based on the above config, what happens when a new column is added to the
incremental model? - Answer -Triggers an error message when the source and target
schemas diverge

{{ config( materialized='incremental', unique_key='date_day',
on_schema_change='append_new_columns' )}}

Based on the above config, what happens when a new column is added to the
incremental model? - Answer -Append new columns to the existing table. Note that this
setting does not remove columns from the existing table that are not present in the new
data.

Document information

Uploaded on
October 15, 2025
Number of pages
10
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
£11.66

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA
3.8
(369)
Sold
2195
Followers
1450
Items
61850
Last sold
12 hours ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions