Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Which of the following is true about restricting the usage of models in dbt?

Choose 1 option.

A.

Restrictions are set by defining the models and Git user groups approved for usage.

B.

You must map your data platform roles to groups by specifying the role name in the configurations.

C.

Model groups can limit references by other models which aren’t in the same group.

D.

Data platform user emails can be used to determine who can reference a model.

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:

A.

stg_tasks is configured as ephemeral.

B.

There is no dbt model called stg_tasks.

C.

There is no stg_tasks in the data warehouse.

D.

A stg_tasks has not been defined in schema.yml.

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:

A.

furniture_customers_test

B.

furniture_customers_test

macro_stg_tpch_orders_assert_pos_price

macro_stg_tpch_suppliers_assert_pos_acct_bal

stg_tpch_orders_assert_positive_price

C.

macro_stg_tpch_orders_assert_pos_price

macro_stg_tpch_suppliers_assert_pos_acct_bal

stg_tpch_orders_assert_positive_price

Which two code snippets result in a lineage line being shown in the DAG? Choose 2 options.

A.

{{ source('source', 'table') }}

B.

{{ ref('stg_jaffle_shop__customers') }}

C.

dbt_jsmith.stg_jaffle_shop__customers

D.

{{ target.schema }}

E.

{{ source('jaffle_shop.customers') }}

Which is true about writing generic tests?

Choose 1 option.

A.

They should accept one or both of these arguments: model and column_name.

B.

They must contain a {{ ref() }} snippet to a model.

C.

They do not need to be specified under a model's YAML configurations.

D.

They should always accept a column_name.

E.

They are written using the {% macro %} wrapper.

Which two mechanisms allow dbt to write DRY code by reusing logic, preventing writing the same code multiple times?

Choose 2 options.

A.

Copy/pasting folders containing multiple models

B.

Writing and using dbt macros

C.

Creating singular tests

D.

Using dbt packages

E.

Changing a model materialization from view to ephemeral

You want to restrict which models can refer to a specific model.

How can this be done?

Choose 1 option.

A.

Add model groups and set access to private.

B.

Modify your data warehouse's permissions to restrict usage of the object.

C.

Set access to protected for that specific model.

D.

Create another version with a _v2 suffix and set the latest version to 2 in the model’s configuration.