Code RoomMulti-tenant CDN cache isolation
HardPrep Room Coding #3447

Multi-tenant CDN cache isolation

System designSecurityStorage & CDNSenior–Staff~40 min

Design the cache-key normalization and isolation strategy for a multi-tenant CDN to prevent cache poisoning and cross-tenant cache leakage. Threats include: an attacker crafting a request that gets a malicious response cached and served to other users (poisoning via unkeyed headers), one tenant's content served from another's cache, and cache deception (tricking the cache into storing a sensitive authenticated page). Design what goes into the cache key, what must be normalized or stripped, and the rules that keep the cache safe.

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.

Clarify4:30 left
Estimate4:30 planned
Design13:30 planned
Deep dive10:30 planned
Failure7:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.