Leadership & behavioural · Design
"How would you scale a website?" / design a hypothetical app front to back
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voiceThe interviewer asks
"How would you scale a website?" (Razorpay HM). Flipkart variant: "Design a hypothetical app, front end plus back end: GET/POST/PUT choices, request and response shapes, frontend architecture and libraries, scalability."
Then
Follow-ups the interviewer asks next
- CDN and caching headers for HTML vs hashed assets.
- What happens at 10× traffic: which layer fails first?
- API design choices: REST vs GraphQL vs BFF, pagination, idempotency.
- How do you roll out safely (feature flags, canaries)?
The answer
What a strong answer covers
- Frontend: static and edge-cacheable shells, hashed immutable assets, code splitting, image CDN, perf budgets, RUM.
- Network: HTTP/2/3, compression (Brotli), preconnect and preload,
stale-while-revalidate. - Backend touchpoints: horizontal scaling behind a load balancer, caching layers (Redis), rate limiting, queueing, DB read replicas or sharding at a high level.
- Reliability: graceful degradation, feature flags, canary deploys, observability.
The red pen
Common traps
Avoid:frontend-only answers in an HM round that wants breadth; buzzwords without trade-offs.
Practise this out loud
Say your answer out loud to an AI interviewer that follows up, and get a score for it.
Practise by voicePractise questions like this out loud
Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.