Behavioral & Leadership (50 Qs)•Part 3: Engineering Leadership, Code Quality & Collaboration (26 - 36)
How do you foster a blameless post-mortem culture after production incidents?
In Simple Words: Assume that all engineers act with good intentions based on the information they had at the time. Post-mortems investigate system vulnerabilities, missing automated safety nets, and communication gaps—never punishing human operators.
The Post-Mortem Process:
- Timeline Construction: Establish an objective second-by-second timeline of what happened, how it was detected, and how it was mitigated.
- The 5 Whys (Root Cause Analysis): Drill past human error into systemic root causes.
- Bad: "Engineer X deployed bad code."
- Good: "Why was invalid syntax able to pass CI without being caught by our automated test suite?"
- Action Items with Owners: Every post-mortem must produce actionable engineering improvements with assigned owners and due dates.
Practical Script & Summary Template
markdown
### Blameless Incident Post-Mortem Template:
- **Incident Summary**: P1 - Checkout Service 500 Errors
- **Duration**: 24 minutes (10:14 UTC - 10:38 UTC)
- **User Impact**: 1,240 checkout transactions failed.
- **Root Cause**: Database connection pool exhausted due to an unindexed query introduced in PR #812.
- **Trigger**: Morning marketing flash sale increased query volume by 500%.
- **Action Items**:
1. [P0 - Owner: Alex M.] Add composite index on `(user_id, status)` - Completed.
2. [P0 - Owner: Jordan K.] Enforce connection pool limits via PgBouncer - Due: Friday.
3. [P1 - Owner: Sam R.] Add automated query latency alert in Datadog (>200ms) - Due: Next Sprint.