Bird
0
0

You want to exclude the deprecated folder from being built in your dbt project. How can you configure dbt_project.yml to ignore it?

hard📝 Application Q9 of 15
dbt - Project Organization
You want to exclude the deprecated folder from being built in your dbt project. How can you configure dbt_project.yml to ignore it?
Amodels: my_project: deprecated: enabled: false
Bmodels: my_project: deprecated: disabled: true
Cmodels: my_project: deprecated: materialized: ephemeral
Dmodels: my_project: deprecated: +enabled: false
Step-by-Step Solution
Solution:
  1. Step 1: Understand how to disable models in dbt_project.yml

    Use +enabled: false under the folder to disable building models there.
  2. Step 2: Check syntax correctness

    models: my_project: deprecated: +enabled: false uses the correct override syntax with plus sign and boolean false.
  3. Final Answer:

    models: my_project: deprecated: +enabled: false -> Option D
  4. Quick Check:

    Use '+enabled: false' to disable models [OK]
Quick Trick: Disable models with '+enabled: false' in folder config [OK]
Common Mistakes:
MISTAKES
  • Using 'enabled: false' without plus sign
  • Using 'disabled: true' which is invalid
  • Setting materialized to ephemeral instead of disabling

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes