InterviewStack.io LogoInterviewStack.io

Observability and Monitoring Architecture Questions

Building visibility into infrastructure and services: metrics, logs, and traces, dashboards and alerting, SLIs/SLOs, and the design of an observability stack. Covers instrumenting systems for actionable signal, reducing alert noise, and diagnosing production issues from telemetry. Infrastructure-wide observability, distinct from network-specific monitoring.

HardSystem Design
32 practiced

Design a set of guardrails, at the instrumentation, ingestion, and query layers, that prevent cardinality explosions before they happen rather than reacting to one after the fact. How would you automatically detect a metric that's about to blow up cardinality, and decide whether to throttle it, reject it, or aggregate it away?

MediumSystem Design
30 practiced

Design the telemetry data model for a long-running batch job or data pipeline: job-level SLIs (throughput, success rate, lag), task-level metrics, and asset-level lineage. How would you use correlation IDs and idempotency so that retries and partial failures get attributed to the right job run instead of double-counted or lost?

HardTechnical
51 practiced

Time-series databases lean on a handful of compression techniques: block-chunking, delta-of-delta timestamp encoding, XOR-based float compression (as in Facebook's Gorilla), and dictionary encoding for labels. Explain how each works and how it affects write throughput and query performance, and contrast a dense, monotonically-increasing counter against a sparse gauge: which techniques help most for each, and why?

HardSystem Design
27 practiced

Dashboards are timing out because they run heavy aggregations over recent, high-cardinality metrics. Design a query-engine strategy to fix this at the architecture level: materialized views, pre-aggregation windows, query rewriting, and caching the most common top-K queries. What criteria would you use to decide which aggregates are worth precomputing, given the trade-off between data freshness and query speed?

MediumTechnical
29 practiced

Telemetry pipelines have to make a consistency trade-off: eventual consistency, at-least-once, at-most-once, or exactly-once delivery. For each model, explain what it means for the correctness of a metric aggregation, and describe concrete techniques (idempotent writes, deduplication IDs, write-ahead logs) you'd use to keep a high-throughput pipeline correct under one of the weaker guarantees.

Unlock Full Question Bank

Get access to all 23 Observability and Monitoring Architecture interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.