Interview Prep/Real-World Interview/On-call, burnout, toil & automation

Tell me about a time you built self-healing into a system.

IntermediateBehavioralOn-call, burnout, toil & automation
Answer

What they're really testing → Designing for automatic recovery.

Sample STAR answer →

  • Situation: A legacy worker on EC2 got stuck about twice a week, and someone had to SSH in and restart it.
  • Task: Remove the manual restart.
  • Action: I added a health endpoint to the worker that reported the time of the last processed job, ran it as a systemd service with Restart=on-failure, and put it in an Auto Scaling group with an ELB health check so a stuck instance would be replaced.
  • Result: Manual restarts went from 8 a month to zero. Recovery time dropped from up to an hour (waiting for someone to notice) to under 5 minutes.

Avoid → Self-healing that hides a real bug forever; mention you tracked the restarts too.

All Real-World Interview questions Roadmap: Interview readiness

More on On-call, burnout, toil & automation