Frontend CoachResourcesQuestions
Sign inGet started
All interview questions

Question Bank

Frontend System Design Interview Questions

Design-round questions for frontend engineers: news feeds, autocomplete, real-time collaboration, design systems, feature flags, A/B infrastructure, offline-first sync, and more — structured around requirements, data flow, and the trade-offs interviewers want articulated.

80 questions — free to read, with quizzes and AI-scored practice for members.

Frontend System Design80 questions

How do you decide between using local state, context, state management libraries, or server state in a frontend application?midCompare the trade-offs between Operational Transform (OT) and Conflict-free Replicated Data Types (CRDT) in collaborative editing systems.seniorHow would you design a scalable news feed system like Facebook or Twitter?seniorHow would you decide between a CP and an AP system for a distributed application?seniorHow would you design a frontend system to efficiently handle real-time updates?seniorHow does Storybook improve component development and documentation?seniorHow does V8 optimize JavaScript execution using its compilation pipeline?seniorHow would you design a scalable component library for a growing team?seniorWhy is requirements clarification crucial in frontend system design?seniorHow would you design a frontend system to handle network request failures gracefully?seniorHow would you decide which state management tool to use for different types of state in a frontend application?seniorHow would you design a props API for a reusable Modal component?seniorHow do design tokens contribute to a design system?seniorHow would you design a frontend system to load remote modules at runtime?seniorHow would you implement distributed tracing to identify slow components in a frontend to API gateway to multiple services architecture?seniorHow do you manage a large frontend codebase with hundreds of developers to avoid conflicts and ensure efficiency?seniorHow would you design an infinite data table for large datasets?seniorHow would you design a frontend system to handle displaying and interacting with over 1 million rows efficiently?seniorHow would you design a video player to ensure smooth playback on varying network speeds?seniorHow would you design a collaborative text editor to handle real-time edits and offline syncing?seniorHow can you prevent data conflicts when two users edit a document simultaneously?seniorHow would you design an infinite scroll feature for a mobile feed application?seniorHow does Kafka ensure message ordering and what are the trade-offs?seniorHow would you design a typeahead search system for real-time suggestions?seniorHow does Uber use geospatial indexing to efficiently match drivers with riders?seniorHow would you design an optimistic update system for a social feed — handling rollback, conflict resolution, and partial failures without jarring UX?seniorHow would you design a code splitting strategy for a large React SPA to minimise initial bundle, optimise chunk reuse, and avoid waterfall loading on navigation?seniorHow do React Server Components change the client/server boundary, data-fetching architecture, and bundle size compared to traditional SSR and client-side rendering?seniorHow would you design a frontend system to support both accessibility and internationalization?seniorHow would you design a real-time presence system showing live user cursors, active selections, and avatar indicators in a collaborative editor at scale?seniorHow would you apply the RADIO framework to design a frontend system for a real-time chat application?seniorWhat are the trade-offs between using REST and GraphQL for API design?seniorHow does HTTP/3 improve over HTTP/2 in terms of connection handling?seniorHow does frontend trace context propagation help in debugging performance issues?seniorWhat are the trade-offs between using a monorepo and a polyrepo in frontend system design?seniorHow would you design a real-time chat application focusing on scalability and performance?seniorHow would you design an infinite scrolling image gallery for optimal performance?seniorExplain the benefits of normalizing state and how optimistic updates work.seniorHow does YouTube handle video uploads and transcoding to support multiple resolutions?seniorHow do you classify frontend requirements into functional, non-functional, and constraints?seniorHow would you design a feature flag system supporting gradual rollouts, kill switches, and targeting rules — without re-deployment or page refresh?seniorHow would you design a caching strategy for a web application to handle offline access and cache invalidation?seniorHow would you ensure keyboard accessibility in a web application?seniorHow can frontend engineers mitigate XSS and CSRF vulnerabilities?seniorHow would you design a system to monitor and observe frontend performance and errors post-deployment?seniorHow do bundlers optimize frontend code for faster loading and safer deployment?seniorHow do Webpack, Vite, esbuild, and Rollup differ in their approach to bundling?seniorHow do logs, metrics, and traces contribute to observability in frontend systems?seniorHow would you design a chat application to handle both 1-1 and group messaging with low latency?seniorHow would you design an autocomplete component to handle debounce and race conditions?seniorHow would you design a frontend system to handle user input efficiently with debounce and caching?seniorHow do you handle race conditions in a search autocomplete feature?seniorHow does an Adaptive Bitrate Streaming (ABR) player decide which video quality to stream?seniorHow would you design a collaborative editing feature to handle real-time conflict resolution?seniorHow would you design a scalable frontend architecture for a large e-commerce platform?seniorHow would you design a scalable frontend system for a social media platform with 100 million daily tweets?seniorHow would you design the frontend infrastructure for an A/B testing platform that ensures consistent variant assignment, avoids flickering, and tracks statistical significance?seniorHow would you use edge functions (Cloudflare Workers, Vercel Edge) to handle authentication, personalisation, and A/B testing without a full origin server round-trip?seniorHow would you manage versioning, breaking changes, and cross-team migration in a shared design system consumed by 20+ product teams in a monorepo?seniorHow would you design an internationalisation system for a React app supporting RTL languages, ICU plural rules, and locale-aware date/number/currency formatting?seniorHow do you decide between Polling, Long-polling, WebSocket, and SSE for real-time data updates in a frontend application?seniorHow do you decide between using REST and GraphQL for a frontend application?seniorWhat are the trade-offs between offset and cursor-based pagination?seniorHow do you design a component API that adheres to the principle of single responsibility?seniorHow would you design a video player to meet both functional and non-functional requirements?seniorHow does React 18 streaming SSR differ from traditional SSR, and how do you decide which content to stream vs block on — including the impact on FCP and TTFB?seniorHow would you design a normalized data model for a social media feed?seniorWhen should you choose SQL over NoSQL for a database design?seniorHow would you design a GraphQL subscription system for live dashboard data, including connection management, cache integration, and fallback to polling?seniorHow would you design a PWA with reliable offline support, app installability, and push notifications — covering the service worker lifecycle and iOS/Android platform differences?seniorHow do you ensure separation of concerns in frontend architecture?seniorHow do you decide which image format to use in a frontend project?seniorHow do different rendering patterns affect SEO and performance?seniorHow does HTTP/3 improve over HTTP/1.1 and HTTP/2 in terms of performance and reliability?seniorHow does Module Federation enable micro-frontends to share code and render each other at runtime?seniorHow can alert fatigue be minimized in a frontend system design?seniorHow would you structure a 60-minute frontend system design interview?seniorHow would you design a system for storing and observing user-uploaded media files?seniorHow would you design a news feed system for a social media platform to handle both regular users and celebrities efficiently?seniorHow does tRPC achieve end-to-end type safety without a schema file, and when is it preferable to REST+OpenAPI or GraphQL?senior

Practice these with AI feedback and track what you've mastered.

Sign up free

Browse other topics

JavaScriptReactWeb PerformanceBrowser & Web APIsTestingBehavioral