Exam dbt-Analytics-Engineering Topic 1 Question 191 Discussion

Actual exam question for dbt Labs's dbt-Analytics-Engineering exam
Question #: 191
Topic #: 1
How can you overwrite configurations for models within a package?
Choose 1 option.

Suggested Answer: B Vote an answer

The correct answer is B: By adding the configurations in dbt_project.yml within the package's namespace.
dbt packages are installed as read-only code, meaning you should never modify files inside /dbt_packages, nor should you attempt to overwrite generated artifacts inside /target. Instead, dbt provides a clean and officially supported method for overriding or extending configurations on models from packages: using the dbt_project.yml file.
Each package comes with its own namespace, and users can override model-level configurations by referencing that namespace inside the models: section of dbt_project.yml. dbt merges project-level configurations with package-level defaults, and configurations defined in dbt_project.yml take precedence.
This is the only correct and recommended way to override settings such as materializations, tags, schema, or custom config blocks on models imported through a package.
Option A is incorrect because packages.yml is used only to declare package dependencies-not to configure package models. Option C is incorrect because the ./target folder contains compiled and ephemeral artifacts that should never be edited. Option D is incorrect because modifying code in /dbt_packages violates dbt best practices and will be overwritten each time packages are reinstalled.
Therefore, overriding configurations must be done exclusively through dbt_project.yml.

by Kirk at Sep 08, 2026, 01:52 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10