special code - Ends in 0d 00h 00m 00s - Coupon code = discmirror

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

Practice at least 50% of the questions to maximize your chances of passing.
Exam dbt-Analytics-Engineering Premium Access

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


519 Students Passed

86% Average Score

93% Same Questions
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

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?

Options:

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.

Questions # 2:

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 # 3:

The dbt_project.yml file contains this configuration:

models:

+grants:

select: ['reporter']

How can you grant access to the object in the data warehouse to both reporter and bi?

Options:

A.

{{ config(grants = { '+select': ['bi'] }) }}

B.

{{ config(grants = { 'select': ['+bi'] }) }}

C.

{{ config(grants = { 'select': ['bi'], 'inherits': true }) }}

D.

{{ config(grants = { 'select': ['bi'], 'include': ['dbt_project.yml'] }) }}

Questions # 4:

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 # 5:

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 # 6:

Which of the following is true about restricting the usage of models in dbt?

Choose 1 option.

Options:

A.

Restrictions are set by defining the models and Git user groups approved for usage.

B.

You must map your data platform roles to groups by specifying the role name in the configurations.

C.

Model groups can limit references by other models which aren’t in the same group.

D.

Data platform user emails can be used to determine who can reference a model.

Questions # 7:

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 # 8:

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?

Options:

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.

Questions # 9:

You have created a model called stg_tasks and now you need to implement tests.

You provide this in schema.yml:

version: 2

models:

- name: stg_tasks

columns:

- name: completed_at

tests:

- not_null:

- config:

where: "state = 'completed'"

You receive this compilation error:

[WARNING]: Did not find matching node for patch with name 'stg_tasks' in the 'models' section of file 'models/example/schema.yml'

How can you change the configuration on the not_null test to fix this compiler error?

Options:

A.

tests:

- not_null:

- config:

where: "state = 'completed'"

B.

tests:

- not_null:

config:

where: "state = 'completed'"

C.

tests:

- not_null:

config:

where: "state = 'completed'"

D.

tests:

- not_null:

- config:

where: "state = 'completed'"

Choose 1 option.

Questions # 10:

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

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

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.