New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the dbt Labs Analytics Engineers dbt-Analytics-Engineering Questions and answers with CertsForce

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

31. Your entire DAG looks like the image shown.

Question # 11

(Several stg_ models appear upstream, feeding into int_ and fct_ models.)

The question asks:

“Was this modeling rule violated?

Staging models dependent on other staging models”

Options:

A.

Yes


B.

No


Expert Solution
Questions # 12:

Your model has a contract on it.

When renaming a field, you get this error:

This model has an enforced contract that failed.

Please ensure the name, data_type, and number of columns in your contract match

the columns in your model's definition.

| column_name | definition_type | contract_type | mismatch_reason |

|-------------|------------------|----------------|-----------------------|

| ORDER_ID | TEXT | TEXT | missing in definition |

| ORDER_KEY | TEXT | | missing in contract |

Which two will fix the error? Choose 2 options.

Options:

A.

Remove order_id from the contract.


B.

Remove order_key from the contract.


C.

Remove order_id from the model SQL.


D.

Add order_key to the contract.


E.

Add order_key to the model SQL.


Expert Solution
Questions # 13:

You work at an e-commerce company and a vendor provides their inventory data via CSV file uploads to an S3 bucket.

How do you prep the data for dbt transformations?

Choose 1 option.

Options:

A.

Create a dbt model with a view querying the external table directly.


B.

Run a pre-hook to create a temporary table and query from it in a staging model.


C.

Use dbt seed to stage the data in your data platform.


D.

Declare the external table as a source using the external configuration.


Expert Solution
Questions # 14:

28. Consider this DAG:

    model_a → model_c → model_e

    model_b → model_d → model_f

(With model_c and model_d both feeding into the final layer.)

You execute:

dbt run --fail-fast

in production with 2 threads. During the run, model_b and model_c are running in parallel when model_b returns an error.

Assume there are no other errors in the model files, and model_c was still running when model_b failed.

Which model or models will successfully build as part of this dbt run? Choose 1 option.

Options:

A.

model_a, model_c, model_d, model_e, model_f


B.

model_a, model_c


C.

model_a


D.

model_a, model_c, model_e


Expert Solution
Questions # 15:

Given this dbt_project.yml:

name: "jaffle_shop"

version: "1.0.0"

config-version: 2

profile: "snowflake"

model-paths: ["models"]

macro-paths: ["macros"]

snapshot-paths: ["snapshots"]

target-path: "target"

clean-targets:

- "logs"

- "target"

- "dbt_modules"

- "dbt_packages"

models:

jaffle-shop:

+materialized: table

…and this warning when compiling your project:

[WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources.

There are 1 unused configuration paths:

- models.jaffle-shop

What is the root cause?

A run hook in the jaffle_shop project was defined with an incorrect regular expression.

Options:

A.

Yes


B.

No


Expert Solution
Questions # 16:

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.

Options:

A.

source and column


B.

model and column_name


C.

model_name and column_name


D.

model and field


Expert Solution
Questions # 17:

Which two configuration items can be defined under models: in your dbt_project.yml file?

Choose 2 options.

Options:

A.

schema


B.

source


C.

tags


D.

test


E.

target


Expert Solution
Questions # 18:

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:

Options:

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


Expert Solution
Questions # 19:

A dbt run failed with an error message.

Order these steps to fix your pipeline.

Question # 19


Expert Solution
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions