Scenario-Based · Section 29
Scenarios: Scalability, Bundles & Metrics
11 questions. Scalability, high traffic, bundle optimization, lazy loading, tree shaking, rendering costs, Core Web Vitals and caching.
These questions check whether you can talk about frontend performance in numbers: bundle sizes, LCP, INP, CLS and cache hit rates. Pair every concept with a tool you would use to measure it and a change you would make.
01What does "scalable web applications" mean in your experience?02What challenges have you faced when building for large user traffic?03How do you optimize performance of an application?04What is lazy loading?05How do you optimize large bundle size in a React application?06What is Tree Shaking?07What is a memory leak?08What is the difference between repaint and reflow?09What are Core Web Vitals?10Explain the performance metrics, classified into categories11How do you handle caching in React?