Interview practice question
Regional managers seeing only their data
Data Engineering · Redshift · Intermediate
Regional sales managers should only see rows for their region in a shared sales table. How do you implement this in Redshift?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Create a row-level security policy using a mapping of user or role to region.
- Attach the policy to the table for relevant roles.
- Managers query the same table.
- Global roles bypass or see all.
- Test with different users.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.