Bird
0
0

Which of the following is the correct way to name a staging model for customer data in dbt?

easy📝 Syntax Q12 of 15
dbt - Project Organization
Which of the following is the correct way to name a staging model for customer data in dbt?
AstgCustomerData
BStgCustomerData
CSTG_CUSTOMER_DATA
Dstg_customer_data
Step-by-Step Solution
Solution:
  1. Step 1: Recall dbt naming style guidelines

    dbt recommends lowercase letters and underscores to separate words for readability.
  2. Step 2: Evaluate each option

    stg_customer_data uses lowercase and underscores, matching the recommended style.
  3. Final Answer:

    stg_customer_data -> Option D
  4. Quick Check:

    Lowercase + underscores = correct naming [OK]
Quick Trick: Use lowercase and underscores for dbt model names [OK]
Common Mistakes:
MISTAKES
  • Using uppercase letters
  • Using camelCase instead of underscores
  • Starting with uppercase letters

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes