Question bank › Low-Level Design
Lld Low-Level Design Medium

Distributed Feature Flag & Targeting Evaluator

Design the client-side logic for a Feature Flag system. The system receives a 'ToggleConfiguration' from a remote server. It must evaluate whether a feature is 'ON' for a specific 'UserContext' based on attributes like 'region', 'email_hash' (for percentage rollouts), and 'beta_group'. Evaluation must be near-instant and happen locally in memory. The system must support 'OverrideRules' for internal testing and 'DefaultFallbacks' if the configuration is missing.

Key concepts

strategy patternsingleton patterncaching

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of Praxari's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.