• 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 11 pages
Exam (elaborations)

Dbt Exam Questions & Answers

Document preview thumbnail
Preview 2 out of 11 pages

DBT EXAM QUESTIONS & ANSWERS

Content preview

DBT EXAM QUESTIONS & ANSWERS

Which files support source properties? - Answer -.yml files

What directory do source properties need to be? - Answer -models/
(or directory defined by the model-paths config)

What source property needs to be provided to configure freshness checks? - Answer -
loaded_at_field

The __________ property allows you to configure resources at the same time you're
defining properties in yaml files. - Answer -config

What built-in Jinja function references an environment variable? - Answer -{{
var('var_name') }}

Variables can be passed from your dbt_project.yml file into models during compilation. -
Answer -True

To define a variable in your project, add the ______ config to your dbt_project.yml -
Answer -vars:

Sources only support one configuration: ____________. - Answer -enabled

To apply a configuration to all models, do not use a - Answer -<resource-path>

_______________ represents the nested dictionary keys that provide the path to either
a directory of models, or a single model - Answer -resource-path

What is the resource-path in this example?

name: jaffle_shop
models:
jaffle_shop:
+enabled: false - Answer -jaffle_shop

To apply a configuration to one jaffle_shop model, nest the full path under the project
name. For a model at /staging/stripe/payments.sql, this would look like: - Answer -
name: jaffle_shop
models:
jaffle_shop:
staging:
stripe:
payments:
+enabled: false

, Define a source that is stored in the raw database - Answer -version: 2
sources:
- name: jaffle_shop
database: raw
tables:
- name: orders
- name: customers

What source property is defined as an extensible dictionary of metadata properties
specific to sources that point to external tables? - Answer -external

In the freshness block, one or both of _________ and ________ can be provided. If
neither is provided, then dbt will not calculate freshness snapshots for the tables in this
source. - Answer -warn_after and error_after

What is the source property used to define the acceptable amount of time between a
table's most recent record and the current time? - Answer -freshness

A column name (or expression) that returns a timestamp indicating freshness. - Answer
-loaded_at_field

True or False, loaded_at_field needs to be a date field - Answer -False, loaded_at_field
needs to be of type timestamp

Fill in the blanks below to error_after 24 hours and warn_after 12 hours for all
jaffle_shop sources

version: 2
sources:
- name: jaffle_shop
database: raw
freshness: # default freshness
warn_after: __________________________________
error_after: __________________________________
loaded_at_field: _etl_loaded_at - Answer -version: 2
sources:
- name: jaffle_shop
database: raw
freshness: # default freshness
warn_after: {count: 12, period: hour}
error_after: {count: 24, period: hour}
loaded_at_field: _etl_loaded_at

Given this source configuration:

Document information

Uploaded on
October 15, 2025
Number of pages
11
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