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

dbt Labs dbt-Analytics-Engineering - dbt Analytics Engineering Certification Exam

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.

A.

Yes

B.

No

Choose a correct command for each statement.

You want to configure dbt to prevent tests from running if one or more of their parent models is unselected.

Which test command should you execute?

Choose 1 option.

A.

dbt test --select "orders" --indirect-selection=empty

B.

dbt test --select "orders"

C.

dbt test --select "orders" --indirect-selection=buildable

D.

dbt test --select "orders" --indirect-selection=cautious

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.

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.

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

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.

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:

orders:

materialized: table

When executing a dbt run your models build as views instead of tables:

19:36:14 Found 1 model, 0 tests, 0 snapshots, 0 analyses, 179 macros, 0 operations, 0 seed files, 0 sources, 0 exposures, 0 metrics

19:36:16 Concurrency: 1 threads (target='default')

19:36:17 Finished running 1 view model in 3.35s.

19:36:17 Completed successfully

19:36:17 Done. PASS=1 WARN=0 ERROR=0 SKIP=0 TOTAL=1

Which could be a root cause of why the model was not materialized as a table?

The target-path is incorrectly configured.

A.

Yes

B.

No

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?

A.

You must attach the test to the model in orders.yml for it to run.

B.

This test will warn instead of erroring when you use the --warn-error flag.

C.

The file must be saved in the tests/generic directory.

D.

Records with status_code = 13 will cause this test to fail.

Ignoring indentation, arrange these YAML code snippets in the correct order to generate descriptions on the source, table, and column: