INTERVIEW PREP
Interview questions
570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.
Showing 271–285 of 314 questions
271.Why should a burn-rate alert use two windows?SeniorMonitoring with Prometheus, Grafana & Datadog
A long window (for example 1 hour) shows the problem is real and not a blip. A short window (for example 5 minutes) shows it is still happening, so the alert clears soon after a fix. Both must be true to fire.
272.How do you handle a sudden jump in series count?SeniorMonitoring with Prometheus, Grafana & Datadog
Find the metric and label that grew with topk and count by (__name__), find the deploy that added it, remove or limit the high-cardinality label, and drop the series with metric_relabel_configs. Add an alert on series growth so it is caught early next time.
273.What replaces Promtail for shipping logs to Loki?SeniorMonitoring with Prometheus, Grafana & Datadog
Grafana Alloy. Promtail has reached end of life, so new setups should use Alloy, which can also collect metrics and traces.
274.Prometheus and Grafana or Datadog: how would you choose?SeniorMonitoring with Prometheus, Grafana & Datadog
Prometheus/Grafana is open source and cheap in licenses but needs people to run, scale and upgrade it. Datadog is quick to set up with many integrations but costs grow with hosts, logs and custom metrics, and dashboards live in a vendor. Choose on team size, budget, scale and lock-in; OpenTelemetry keeps you portable.
275.What does eBPF add to observability?SeniorMonitoring with Prometheus, Grafana & Datadog
It watches the Linux kernel without changing applications, so you get network flows, DNS, profiles and security events at low cost. It cannot know business meaning, so it complements metrics, logs and traces.
276.Why add synthetic monitoring?SeniorMonitoring with Prometheus, Grafana & Datadog
Internal metrics can look fine while users cannot reach you (DNS, certificate, load balancer). Probes from outside, such as blackbox_exporter, test what users see and can alert on certificate expiry.
277.How do you design observability for a platform with many teams?SeniorMonitoring with Prometheus, Grafana & Datadog
Give each team a label or tenant, set quotas and retention per team, provide shared libraries and dashboards as code, standardise on OpenTelemetry for instrumentation, use a central store such as Mimir, Loki and Tempo, and show cost per team so they manage their own data.
278.What is SRE?BeginnerSRE Practices
Site reliability engineering applies software engineering to operations. SREs set reliability targets, automate manual work, and use data to balance new features with stability.
279.How is SRE different from DevOps?BeginnerSRE Practices
DevOps is a set of ideas about cooperation, automation and learning. SRE is a concrete way to do it, with SLOs, error budgets, a cap on toil and defined practices for incidents and postmortems.
280.What is toil?BeginnerSRE Practices
Manual, repetitive work that could be automated, is reactive, gives no lasting improvement, and grows with the service. SREs aim to keep it under about half of their time.
281.What are the four golden signals?BeginnerSRE Practices
Latency, traffic, errors and saturation. Together they show how a user-facing service is behaving.
282.What are SLI, SLO and SLA?BeginnerSRE Practices
An SLI is a measurement, an SLO is the internal target for it, and an SLA is a contract with customers that has consequences. The SLO should be stricter than the SLA.
283.Why not aim for 100% availability?BeginnerSRE Practices
It is extremely costly, nearly impossible, and slows all change. Users cannot tell the difference beyond the reliability of their own devices and networks, so choose a realistic target.
284.What is an error budget and how is it used?MidSRE Practices
It is the failure the SLO allows, which is 100% minus the SLO. If budget remains, the team can release and take risks. When it is spent, risky changes stop and the team works on reliability, as set out in a written policy.
285.How much downtime does 99.9% allow over 30 days?MidSRE Practices
43.2 minutes. 30 days is 43,200 minutes, and 0.1% of that is 43.2.