Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70track

Free dbt Labs dbt-Analytics-Engineering Practice Exam with Questions & Answers

Questions 1

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

dbt Labs dbt-Analytics-Engineering Premium Access
Questions 2

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.

Options:
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

Questions 3

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

dbt-Analytics-Engineering Question 5

Options:
Questions 6

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 7

Choose a correct command for each statement.

dbt-Analytics-Engineering Question 7

Options:
Questions 8

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 9

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 10

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.

Options:
A.

Yes

B.

No

Certification Provider: dbt Labs
Exam Name: dbt Analytics Engineering Certification Exam
Last Update: Feb 21, 2026
Questions: 65
PDF + Testing Engine
$164.99
$49.5
Testing Engine
$124.99
$37.5
PDF (Q&A)
$104.99
$31.5

dbt Labs Free Exams

dbt Labs Free Exams