Code RoomAuthorization policy safe rollout
HardPrep Room Coding #3593

Authorization policy safe rollout

System designDistributed systemsSenior–Staff~45 min

Design the change-management / safe-rollout pipeline for an authorization policy system used company-wide, where a single bad policy edit can either lock everyone out (over-restrictive) or open a hole (over-permissive), and policies change dozens of times a day across many teams. Beyond the runtime decision engine, design how a policy change is validated, dry-run, and rolled out safely. Discuss policy versioning, shadow/dual evaluation against real traffic, automated impact analysis ('this change would newly DENY 4,200 requests/day'), staged rollout, and instant rollback — all while the engine answers millions of decisions/sec.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify5:00 left
Estimate5:00 planned
Design15:00 planned
Deep dive12:00 planned
Failure8:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.