Interview practice question
Handling PII in dbt models
Data Engineering · dbt · Intermediate
Your dbt models process customer emails and phone numbers. How do you make sure PII is handled safely?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Identify PII columns early and tag them with meta in YAML.
- Hash or remove PII in staging when downstream doesn't need it.
- Apply warehouse masking policies through dbt post-hooks or tags.
- Keep PII out of dev with masked or sampled data.
- Restrict who can access raw schemas.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.