Explain it in 60 seconds
Hooks in dbt
Data Engineering · dbt · Intermediate
What are hooks in dbt and give examples of how you use them?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- pre-hook and post-hook run SQL before or after a model.
- on-run-start and on-run-end run at the start and end of a dbt invocation.
- Used for grants, audit logging, query tags or session settings.
- The grants config is now preferred for permissions.
- Keep hooks light, they run every time.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.