Bird
0
0

This dbt config snippet causes an error:

medium📝 Debug Q7 of 15
dbt - Governance and Collaboration
This dbt config snippet causes an error:
owners:
  - group:finance_team
  - user:bob

What is the problem?
AMissing quotes around 'group:finance_team' and 'user:bob'
BThe dash '-' is invalid in YAML lists
CKeys 'group' and 'user' should not be used inside the list
DOwners must be a comma-separated string
Step-by-Step Solution
Solution:
  1. Step 1: Review YAML list syntax

    List items must be strings enclosed in quotes if they contain special characters like ':'.
  2. Step 2: Identify error cause

    Missing quotes cause YAML parsing errors for 'group:finance_team' and 'user:bob'.
  3. Final Answer:

    Missing quotes around 'group:finance_team' and 'user:bob' -> Option A
  4. Quick Check:

    Quotes needed for strings with colons in YAML [OK]
Quick Trick: Quote strings with colons in YAML lists [OK]
Common Mistakes:
MISTAKES
  • Not quoting strings with ':'
  • Misunderstanding YAML list syntax
  • Using commas instead of dashes for lists

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes