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.
More on On-call, burnout, toil & automation
Tell me about a time you automated a repetitive manual task.BeginnerHow have you dealt with on-call burnout, yours or your team's?IntermediateTell me about a time you reduced alert noise.IntermediateTell me about the most valuable piece of automation you've built.AdvancedDescribe a time you wrote or improved a runbook.BeginnerTell me about a time you eliminated toil for your team rather than yourself.Intermediate