Interview practice question
Works in dev, fails in prod
Data Engineering · dbt · Beginner
Your new model runs fine in dev, but the prod job fails with "object does not exist or not authorized". What do you check?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check if the model hard-codes a dev table name instead of using ref or source.
- Confirm the upstream model actually exists in prod (maybe never deployed).
- Check the prod role has privileges on the source schema.
- Compare compiled SQL for dev and prod targets.
- Fix permissions in code, not by hand.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.