Exam dbt-Analytics-Engineering Topic 1 Question 155 Discussion

Actual exam question for dbt Labs's dbt-Analytics-Engineering exam
Question #: 155
Topic #: 1

Suggested Answer:


Explanation:
(new_project)
(models:)
(grants)
(require-dbt-version: '>= 1.0.0' )
The dbt_project.yml file acts as the configuration backbone for every dbt project. dbt requires that project names follow a strict naming convention, allowing only lowercase letters, numbers, and underscores.
Therefore, new_project is the only valid name among the choices. Names with spaces or hyphens, such as new project or new-project, violate dbt's project naming rules.
To configure how models behave-materializations, schemas, tags, or per-directory overrides-dbt uses the models: block inside dbt_project.yml. This block defines configuration inheritance rules and is different from the config() function, which is used inside SQL models, not in YAML files.
When granting permissions on database objects created by dbt, you use the grants configuration. This allows you to define access roles at the model level or project level for downstream BI or analytics tools, ensuring proper data governance and controlled data exposure.
Finally, compatibility with specific dbt versions is set using require-dbt-version. The correct YAML formatting uses quotes, such as '>= 1.0.0', ensuring dbt interprets the value as a string. This prevents accidental mis-parsing and enforces version requirements during dbt run or dbt build.

by Natalie at Feb 13, 2026, 02:21 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