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 61–75 of 84 questions
61.A ServiceMonitor exists, but the target never appears. What do you check?SeniorMonitoring with Prometheus, Grafana & Datadog
First the label the operator selects on (such as release), then that the monitor's selector matches the Service labels, then that the port name in the monitor matches the Service port name, and finally the Status -> Targets page in Prometheus for the error.
62.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.
63.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.
64.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.
65.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.
66.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.
67.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.
68.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.
69.Explain data-parallel training and the role of NCCL.SeniorAI Infrastructure & GPUs
Each GPU holds a full copy of the model and trains on a different slice of data. They then average their gradients with an all-reduce, which NCCL performs, so every copy stays identical. Network speed decides how well it scales.
70.Training on 16 GPUs is only 4x faster than on one. What do you check?SeniorAI Infrastructure & GPUs
Look at communication and data loading. Check NCCL uses InfiniBand or RDMA (NET/IB, not NET/Socket), run nccl-tests, check GPU topology and slow nodes, and make sure data loaders keep up.
71.Why do multi-GPU jobs need gang scheduling?SeniorAI Infrastructure & GPUs
If only some pods start, they hold GPUs while waiting for the rest, wasting capacity and possibly deadlocking. Gang scheduling starts all pods together or none. Kueue, Volcano and Slurm provide it.
72.How do you autoscale an LLM service?SeniorAI Infrastructure & GPUs
Scale on queue length or latency, not CPU. Scale up quickly and down slowly, keep a warm minimum, pre-pull images and cache the model on fast storage. Remember that node start plus model load can take many minutes, and plan GPU quota.
73.What is the KV cache and why does it matter?SeniorAI Infrastructure & GPUs
The model keeps notes about earlier tokens to avoid recomputing them. This cache grows with prompt length, answer length and user count and sits in GPU memory, so it limits concurrency. Paged caches, cache quantization, prefix caching and a lower max length help.
74.What does an LLM gateway give you?SeniorAI Infrastructure & GPUs
One stable API in front of many models, with per-team keys and token budgets, rate limits, routing, fallbacks, caching and cost tracking. It also gives a place to add guardrails and logging.
75.How do you secure a RAG application?SeniorAI Infrastructure & GPUs
Treat retrieved text and user input as untrusted, filter retrieval by the user's permissions, limit tools and require approval for risky actions, validate outputs, use safe model formats such as safetensors, and set token and budget limits.