CrackOps
Interview PrepTracksLinuxAWS LabSoonInterview RoomSoon
Sign inStart free
CrackOps

Interview prep for the people who keep production up.

[email protected]
ProductInterview PrepTracksDashboardInterview Room
RolesDevOpsSREPlatformCloud
CompanyAboutContactPrivacyTerms
© CrackOps
Tracks/SRE & Observability
Advanced 4 minSystem design

Build a capacity plan for festival peaks you can predict and flash spikes you can't. Show me the math.

Scenario

An Indian UPI payments app peaked at 22,000 payments per second for one minute on last year's biggest festival evening, against a normal daily peak of about 3,500. Transaction volume has grown roughly 35 percent year on year, and this year a large e-commerce sale overlaps the festival. In March a viral cashback campaign took traffic from 4,000 to 15,000 per second in under three minutes with no warning, and the HPA-driven services fell over before new nodes were ready.

The interviewer asks

“Walk me through how you'd build the capacity plan for the festival season, including the spikes nobody puts on the calendar. I want to see the actual numbers, not just 'we'll autoscale'.”

The 30-second answer

I forecast the one-minute peak from history, growth and the overlapping sale, then turn it into a design target with explicit headroom and an AZ-failure margin. Load tests give me the knee of every component, and the plan is simply forecast divided by safe per-unit throughput, pre-scaled on a schedule and backed by reserved capacity and raised quotas. The real ceiling is usually the sponsor banks and issuer banks, so those limits are negotiated in advance and admission control is set below them. For spikes nobody predicts, standing headroom absorbs the first minutes, and a pre-agreed degradation ladder plus load shedding protects payments while autoscaling catches up.

Sign in to finish this question

A free account unlocks the rest of it, and saves your progress across every track.

  • The voiced mock interview (4 min)
  • The full senior answer, step by step
  • Animated architecture diagrams
  • The whole conversation, 14 turns
  • Deep dive: how it works, mistakes, risks and trade-offs
  • 3 copy-ready command snippets
  • 5 follow-up questions they'll ask next
  • A self-check of 8 things interviewers listen for
Create a free accountSign in

More SRE & Observability interview questions

  • Order latency spikes every trading day at 09:15. How do you find the cause and prove it?
  • How would you monitor HPA scaling decisions in real time and catch metrics-server or adapter lag before it hurts?
  • How would you run chaos experiments on a live streaming pipeline without viewers ever noticing?
  • How would you roll out ownership, SLOs and error budgets across thousands of microservices?
All SRE & Observability questions

Linux commands for this track

  • sar Collect and replay system activity history
  • mpstat Per-CPU utilisation: find the hot core
  • pidstat Per-process CPU, memory, disk and context switches over time
  • sysctl Read and tune kernel parameters at runtime
  • ulimit Show and set per-process resource limits
  • numactl Control NUMA CPU and memory placement
  • strace Trace the system calls a process makes
  • ltrace Trace the library calls a program makes