InterviewStack.io LogoInterviewStack.io

Monitoring and Alerting Questions

Designing monitoring, observability, and alerting for systems with real-time or near real-time requirements. Candidates should demonstrate how to select and instrument key metrics (latency end to end and per-stage, throughput, error rates, processing lag, queue lengths, resource usage), logging and distributed tracing strategies, and business and data quality metrics. Cover alerting approaches including threshold based, baseline and trend based, and anomaly detection; designing alert thresholds to balance sensitivity and false positives; severity classification and escalation policies; incident response integration and runbook design; dashboards for different audiences and real time BI considerations; SLOs and SLAs, error budgets, and cost trade offs when collecting telemetry. For streaming systems include strategies for detecting consumer lag, event loss, and late data, and approaches to enable rapid debugging and root cause analysis while avoiding alert fatigue.

MediumTechnical
64 practiced
Write a Prometheus alerting rule in YAML that fires an alert named HighP99Latency when the 99th percentile request latency for metric http_request_duration_seconds exceeds 0.5 seconds for any service and region for 5 minutes. In your answer include grouping by service and region and label severity=page and team=platform, and explain any assumptions about the metric type and cardinality.
MediumTechnical
52 practiced
Design an escalation and paging policy for a production service that defines SEV1 service down, SEV2 severe degradation, and SEV3 minor incidents. Specify detection thresholds for each severity, initial responders, escalation timelines in minutes, communication channels, burn-in rules for who gets paged, and how to test and maintain the policy.
EasyTechnical
56 practiced
Compare threshold-based alerting, baseline or trend-based alerting, and anomaly-detection-based alerting. For each approach describe its strengths, weaknesses, typical use cases, and one example scenario where that approach is preferable.
MediumTechnical
60 practiced
Write a Python script that reads newline-delimited JSON logs from stdin. Each JSON object contains fields timestamp, path, status_code, and duration_ms. The script should accept a parameter N and output the top 10 endpoints by average duration over the last N lines. Mention how your solution handles malformed JSON and memory constraints and explain time and space complexity.
MediumTechnical
69 practiced
Define an SLI for data freshness for a streaming ETL pipeline that ingest events every minute. Explain how you would measure data freshness, propose a reasonable SLO and an alerting strategy when freshness degrades beyond acceptable thresholds, including how to account for late-arriving events.

Unlock Full Question Bank

Get access to hundreds of Monitoring and Alerting interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.