
32. You are creating a fct_tasks model with this CTE:
with tasks as (
select * from {{ ref('stg_tasks') }}
)
You receive this compilation error in dbt:
Compilation Error in model fct_tasks (models/marts/fct_tasks.sql)
Model 'model.dbt_project.fct_tasks' (models/marts/fct_tasks.sql) depends on a node named 'stg_tasks' which was not found
Which is correct? Choose 1 option.
Options:
Which two statements about Exposures are true?
Choose 2 options.
Examine how freshness is defined at the database level:
- name: raw
database: raw
freshness: # default freshness
warn_after: {count: 12, period: hour}
error_after: {count: 24, period: hour}
loaded_at_field: _etl_loaded_at
How can one table from the source raw be excluded from source freshness?
16. Your tests folder looks like:
tests
└── generic
└── furniture_customers_test.sql
macro_stg_tpch_orders_assert_pos_price.sql
macro_stg_tpch_suppliers_assert_pos_acct_bal.sql
stg_tpch_orders_assert_positive_price.sql
You run the command:
dbt test --select 'test_type:singular'
What will the command run?
Options from screenshot:
Which explanation describes how dbt infers dependencies between models?
Choose 1 option.
What must happen before you can build models in dbt?
Choose 1 option.
You wrote this test against your fct_orders model to confirm status filters were properly applied by a parent model:
{{
config(
enabled=true,
severity='error'
)
}}
select *
from {{ ref('fct_orders') }}
where status_code = 13
Which statement about this test is true?
Examine this query:
select *
from {{ ref('stg_orders') }}
where amount_usd < 0
You want to make this a generic test across multiple models.
Which set of two standard arguments should be used to replace {{ ref('stg_orders') }} and amount_usd? Choose 1 option.
You are building an incremental model.
Identify the circumstances in which is_incremental() would evaluate to True or False.

Examine the configuration for the source:
sources:
- name: jaffle_shop
schema: jaffle_shop_raw_current
tables:
- name: orders
identifier: customer_orders
Which reference to the source is correct?
13. An analyst on your team has informed you that the business logic creating the is_active column of your stg_users model is incorrect.
You update the column logic to:
case
when state = 'Active'
then true
else false
end as is_active
Which test can you add on the state column to support your expectations of the source data? Choose 1 option.
You are working on a complex dbt model with many Common Table Expressions (CTEs) and decide to move some of those CTEs into their own model to make your code more modular.
Is this a benefit of this approach?
The new model can be documented to explain its purpose and the logic it contains.
You are working with git to version control the dbt logic.
Order these steps to add or modify transformations to your dbt project.

Which two are true for a dbt clone command?
Choose 2 options.
Match the macro to the appropriate hook so that the correct execution steps comply with these rules:
macro_1() needs to be executed after every dbt run.
macro_2() needs to be executed after a model runs.
macro_3() needs to execute before every dbt run.
macro_4() needs to be executed before a model runs.

Consider these SQL and YAML files for the model model_a:
models/staging/model_a.sql
{{ config(
materialized = "view"
) }}
with customers as (
...
)
dbt_project.yml
models:
my_new_project:
+materialized: table
staging:
+materialized: ephemeral
Which is true about model_a? Choose 1 option.
Options:
Choose a correct command for each statement.

The dbt_project.yml file contains this configuration:
models:
+grants:
select: ['reporter']
How can you grant access to the object in the data warehouse to both reporter and bi?