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.

EasyTechnical
69 practiced
Explain synthetic monitoring and canary checks. For an e-commerce site, describe a synthetic test plan for login and checkout flows: which checks to run, recommended frequency, how to vary geographic locations, and how to set alerting thresholds differently during high-traffic sale events versus normal traffic.
EasyTechnical
58 practiced
What is metric cardinality and why can high cardinality be harmful for your metrics backend? Describe three strategies to manage cardinality and give examples of when to prefer histograms, exemplars, or labels.
EasyTechnical
66 practiced
Describe how to instrument a Python Flask endpoint to record: request count, request latency histogram (broken down per-stage: auth, handler, database), and error rate. Specify which metric types to use (counter, histogram, gauge), recommended labels (route, status_code, region), and include a concise pseudo-code snippet showing where metrics are recorded in the request lifecycle.
MediumTechnical
63 practiced
Design an alerting policy for a critical API whose SLO is p95 latency < 200ms. Describe how you would derive alert thresholds for SEV1, SEV2 and SEV3, define violation duration that must persist before alerting, and specify an escalation policy mapped to on-call rotations. Explain why p95 is preferred over average for user experience tracking.
MediumTechnical
55 practiced
Describe how you'd measure and alert on backpressure and queue lengths in an event-driven system (for example Kinesis, Kafka, RabbitMQ). Include specific metrics to expose at producers, brokers and consumers, define what constitutes critical thresholds, and outline automatic mitigations such as rate limiting producers or autoscaling consumers.

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.