Lld
Low-Level Design
Medium
Scenario-Based Incident Handler
Design a system that automates responses to infrastructure alerts. When an alert (e.g., High CPU) is received, the system triggers a 'Playbook'. A Playbook is a sequence of actions: 1. Snapshot the instance, 2. Notify Slack, 3. Restart Service. If any step fails, it should attempt a 'Rollback' or 'Escalate' depending on the configuration. Actions can be synchronous or require an external human approval (asynchronous).
Key concepts
command patternstate patternworkflow engine
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now