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

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 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which is true about writing generic tests?

Choose 1 option.

Options:

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.

Questions # 2:

Which two dbt commands work with dbt retry?

Choose 2 options.

Options:

A.

run-operation

B.

parse

C.

debug

D.

deps

E.

snapshot

Questions # 3:

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

Choose 2 options.

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

Questions # 4:

Which two statements about Exposures are true?

Choose 2 options.

Options:

A.

Models, sources, and metrics are downstream from Exposures.

B.

Exposures are materialized in the database.

C.

Exposures describe a downstream use of your dbt project.

D.

Exposures are defined in .sql files.

E.

You can run, test, and list resources that feed into your Exposure.

Questions # 5:

Consider this DAG for a dbt project. You have configured your environment to use one thread.

When running dbt run, you determine that model_d fails to materialize.

Question # 5

How will changing the command from dbt run to dbt run --fail-fast impact the execution of dbt run when model_d fails to materialize? Choose 1 option.

Options:

Options:

A.

dbt will attempt to materialize the rest of the models.

B.

dbt will drop the existing version of model_d in the data platform.

C.

dbt will attempt to materialize everything else except for model_f.

D.

dbt will stop building any additional nodes in the DAG.

Questions # 6:

Choose a correct command for each statement.

Question # 6

Options:

Questions # 7:

Which explanation describes how dbt infers dependencies between models?

Choose 1 option.

Options:

A.

Information is gathered from the use of source and ref macros.

B.

All source and ref macros are resolved to database objects and dbt queries them for dependencies.

C.

The underlying SQL code is parsed and relationships are created from explicit table references.

D.

.yml configurations for sources and refs are parsed for dependency information.

Questions # 8:

You define a new generic test on model customers in a YAML file:

version: 2

models:

- name: customers

columns:

- name: customer_id

tests:

- unique

- not_null

The next time your project compiles you get this error:

Raw Error:

mapping values are not allowed in this context

in "", line 7, column 21

What is the cause of this error?

Options:

A.

tests should be a dictionary key, not a list

B.

tests should be wrapped in double quotes (")

C.

unique and not_null should not be elements in a list

D.

unique and not_null should be indented at the same level as tests

Questions # 9:

Question # 9

Options:

Questions # 10:

You have just executed dbt run on this model:

select * from {{ source("{{ env_var('input') }}", 'table_name') }}

and received this error:

Compilation Error in model my_model

expected token ':', got '}'

line 14

{{ source({{ env_var('input') }}, 'table_name') }}

How can you debug this?

Options:

A.

Incorporate a log function into your macro.

B.

Check your SQL to see if you quoted something incorrectly.

C.

Check your Jinja and see if you nested your curly brackets.

D.

Take a look at the compiled code.

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions