Hint: Always use a list for owners, even if one group [OK]
Common Mistakes:
Using a string instead of a list
Misspelling owners field
Ignoring YAML syntax rules
5. You want to assign ownership of a dbt model to two groups: 'data_science' and 'qa_team'. Which configuration correctly sets this up and ensures both groups are notified on model changes?
hard
A. owners: ['data_science', 'qa_team']
B. owners: 'data_science, qa_team'
C. owner: ['data_science', 'qa_team']
D. groups: ['data_science', 'qa_team']
Solution
Step 1: Confirm correct field name and type
The field must be owners and a list of group names.
Step 2: Check options for correct syntax
owners: ['data_science', 'qa_team'] uses owners: ['data_science', 'qa_team'], which is correct.
Step 3: Understand notification implication
Assigning multiple owners ensures both groups are responsible and notified.
Final Answer:
owners: ['data_science', 'qa_team'] -> Option A
Quick Check:
Multiple owners list = multiple groups notified [OK]
Hint: Use owners list with all groups to notify them [OK]
Common Mistakes:
Using a string with commas instead of a list
Using owner instead of owners
Using groups field which is invalid
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.