Spring 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 Dumpstech

Exam dbt-Analytics-Engineering Premium Access

View all detail and faqs for the dbt-Analytics-Engineering exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

Which two are true about dbt tests?

Choose 2 options.

Options:

A.

Tests for unique and not_null are automatically applied on the primary key of the table.

B.

The full list of tests that can be applied natively can be found on dbt’s package hub.

C.

Tests can be built as .sql files within the /tests/ folder.

D.

dbt ships natively with unique, not_null, relationships, and accepted_values tests.

E.

You can apply dbt’s native tests using the constraints configuration in the model’s YAML.

Questions # 12:

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

Questions # 13:

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.

Options:

A.

- name: state

tests:

- accepted_values:

values: ['active', 'churned', 'trial']

- not_null

B.

- name: is_active

tests:

- accepted_values:

values: ['active', 'churned', 'trial']

- not_null

C.

- name: state

tests:

- not_null

- unique

D.

- name: is_active

tests:

- not_null

- unique

Questions # 14:

Consider this DAG:

app_data.detail_categories -> stg_detail_categories -> skills_with_details

app_data.details -> stg_details -> lessons_with_details

What will support making this DAG more modular? Choose 1 option.

Options:

A.

Union stg_detail_categories and stg_details in the staging layer to reduce the need for downstream joins.

B.

Join stg_detail_categories and stg_details in the staging layer to reduce the need for downstream joins.

C.

Consolidate the two staging models into one model and then use this downstream for both skills_with_details and curriculum_with_details.

D.

Combine lessons_with_details and skills_with_details into one wide table called curriculum_with_details.

E.

Examine the SQL of lessons_with_details and skills_with_details to see if there is a candidate for an intermediate model.

Questions # 15:

You run this command:

dbt build --select "source_status:fresher+" --state path/to/prod/artifacts

Which two need to happen before it can be executed successfully?

Choose 2 options.

Options:

A.

Invoke the command: dbt source freshness.

B.

Invoke either dbt run or dbt build.

C.

Add generic tests to your sources.

D.

Define a freshness block on your source(s).

E.

Test your sources with dbt test.

Questions # 16:

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:

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.

Questions # 17:

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?

Options:

A.

Add freshness: null to the table configuration.

B.

Since freshness is defined at the source level, all tables in the source must adhere to the freshness parameters.

C.

Add loaded_at_field: null to the table configuration.

D.

Add error_after: null to the table configuration.

Questions # 18:

Which two are true for a dbt retry command?

Choose 2 options.

Options:

A.

It reruns all nodes in your previous invocation statement.

B.

It retries the previous command if it is not a syntax error in a model.

C.

It picks up from the error without running all of the upstream dependencies.

D.

It reuses selectors from the previous command.

E.

It reads a manifest.json file to identify the models and tests that failed in the last run.

Questions # 19:

Which command materializes my_model and only its first-degree parent model(s) in the data platform?

Choose 1 option.

Options:

A.

dbt run --select +my_model

B.

dbt compile --select +my_model

C.

dbt run --select 1+my_model

D.

dbt run --select +1 my_model

E.

dbt compile --select +1 my_model

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