Bird
0
0

Given this snippet in dbt_project.yml:

medium📝 Predict Output Q13 of 15
dbt - Project Organization
Given this snippet in dbt_project.yml:
models:
  my_project:
    materialized: table
    schema: analytics
What will be the materialization type and schema for models in the my_project namespace?
AMaterialized as views, schema is default
BMaterialized as tables, schema is analytics
CMaterialized as incremental, schema is analytics
DMaterialized as tables, schema is default
Step-by-Step Solution
Solution:
  1. Step 1: Read the materialized setting under models.my_project

    The setting materialized: table means models will be built as tables.
  2. Step 2: Check the schema setting

    The schema is explicitly set to analytics, so models will be created in that schema.
  3. Final Answer:

    Materialized as tables, schema is analytics -> Option B
  4. Quick Check:

    Materialized = table, schema = analytics [OK]
Quick Trick: Look for materialized and schema keys under models [OK]
Common Mistakes:
MISTAKES
  • Assuming default schema when schema is set
  • Confusing materialized types like view vs table
  • Ignoring indentation that defines scope

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes