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

Zenith Feature Flag SDK

Design a client-side SDK for a Feature Flag service. The SDK should allow developers to check if a feature is enabled for a specific user (e.g., `if (sdk.isEnabled('new_ui', userContext))`). Requirements: 1) Support local overrides for testing, 2) Support percentage-based rollouts (e.g., 10% of users), 3) Cache flag configurations locally and update them periodically via a background sync, and 4) Provide a fallback value if the service is unreachable.

Key concepts

observer patternsingletonstrategy pattern

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 InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.