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

Which two are true for a dbt clone command?

Choose 2 options.

A.

It requires the reference to a manifest from a previous dbt invocation.

B.

It allows comparison between manifests of source and target dbt runs, but does not create any objects itself.

C.

It allows testing your code changes on downstream dependencies outside of dbt (such as a BI tool).

D.

It can be used to replicate data across different data warehouses.

E.

It creates new versions of your dbt models suffixed with _v#.

A developer has updated multiple models in their dbt project, materialized as tables and views.

They want to run and test all models upstream and downstream from the modified models that are materialized as views.

What command will achieve this? Choose 1 option.

A.

dbt build --select +state:modified, config.materialized:view+

B.

dbt build --select +state:modified+

C.

dbt build --select @state:modified+, @config.materialized:view+

D.

dbt build --select +state:modified +materialized:view+

E.

dbt build --select +state:modified, +config.materialized:view+

What must happen before you can build models in dbt?

Choose 1 option.

A.

Sources must have been defined in your dbt project.

B.

You must have created a service account in your data platform.

C.

Underlying data must be accessible on your data platform.

D.

Raw data must be cleaned.

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.

In development, you want to avoid having to re-run all upstream models when refactoring part of your project.

What could you do to save time rebuilding models without spending warehouse credits in your next command?

A.

Replace your {{ ref() }} functions with hard-coded references.

B.

Refer to a manifest and utilize the --defer and --state flags.

C.

Clone your upstream models from the production schema to the development schema.

D.

Leverage artifacts from a prior invocation by passing only the --state flag.

Choose a correct command for each statement.

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

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.

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

Choose 2 options.

A.

schema

B.

source

C.

tags

D.

test

E.

target