Behavioral & Leadership (50 Qs)•Part 4: Production Incident Management & Post-Mortems (37 - 44)
How do you structure on-call rotations to prevent engineer burnout and alert fatigue?
senior LevelCode Examplebehavioral-hr
In Simple Words: Every page should be actionable, urgent, and customer-impacting. If an alert fires at 3 AM and the engineer just hits "acknowledge" and goes back to sleep, it should be a Jira ticket, not a pager alarm.
Best Practices:
- Primary + Secondary Rotation: Weekly shifts where the primary handles alerts and small operational tasks, while the secondary acts as backup.
- On-Call Compensation & Time Off: Offer on-call stipends and compensatory time off after nights with severe escalations.
- Alert Hygiene & Pager Tuning: Review all pages weekly during team standups; any alert that fired without requiring immediate action must be tuned or deleted.
- Comprehensive Runbooks: Every alert in PagerDuty must link directly to an up-to-date Markdown runbook with explicit remediation steps.
Practical Production Runbook Template: HighDatabaseConnectionPoolSaturation
- Severity: P1 - Critical (Risk of service-wide 504 gateway timeouts)
- Trigger: Active PostgreSQL connections exceed 85% of
max_connectionsfor >3 minutes. - Step-by-Step Remediation:
- Open Datadog Database Dashboard:
https://app.datadoghq.com/db/postgres-prod - Identify top connection-consuming services:
sqlSELECT client_addr, usename, count(*) FROM pg_stat_activity GROUP BY 1, 2 ORDER BY 3 DESC;- If PgBouncer pool is saturated, restart PgBouncer pods in Kubernetes:
bashkubectl rollout restart deployment/pgbouncer -n production- If problem persists, escalate to Database Administrator (DBA) on-call.
- Open Datadog Database Dashboard: