Site Reliability Engineer Interview Question

When would you reach for a distributed trace rather than a metric or a log?

What the interviewer is probing, how to structure your answer, and a spoken example you can adapt.

Quick answer

Metrics tell you something is wrong and roughly where. Logs tell you what happened inside one process. Traces tell you where the time went across services for a single request. Reach for a trace when latency is high but no individual service looks unhealthy, or when a request crosses many hops. Metrics are cheap and aggregate, logs are detailed and expensive, traces are sampled and relational.

Why interviewers ask this

Interviewers want to know you can pick the cheapest tool that answers the question instead of grepping terabytes of logs by reflex. They are also probing cost awareness, since observability bills often rival compute bills, and whether you understand sampling: traces are usually sampled, so they answer where questions well and how often questions badly.

How to structure your answer

  • Give the one line role of each of the three signals.
  • Name the specific symptom that makes a trace the right first move.
  • Mention correlation: trace and span ids stamped into logs.
  • Close on cost and sampling trade offs.

Example answer

Spoken example, first person

I think of it as three questions. Metrics answer is it broken and how badly, logs answer what happened in this one process, and traces answer where did the time go across the whole request. The moment I reach for a trace is when the overall latency is up but every individual service dashboard looks fine, which almost always means the time is in a hop nobody owns. That happened to us with a service mesh sidecar adding retries we did not know about; the trace made it obvious in about a minute because we could see three identical spans nested under one call. The practical glue is putting trace and span ids into every log line, so you can jump from an aggregate metric to a slow exemplar trace to the exact log lines for that request. And I would sample traces head based at a low rate with tail based sampling for errors and slow requests, because keeping everything is not worth the bill.

Walking into this interview soon? GhostPilot listens to your live call, spots the question the moment it is asked, and puts a structured answer on your screen in real time. Try it on your next mock, or grab a $29 Session Pass, no subscription, for the real thing.

See how it works

Follow-up questions to expect

  • How would you decide a sampling strategy for traces?
  • What is an exemplar and how does it link metrics to traces?
  • How do you propagate context through an asynchronous queue?

Related site reliability engineer questions

Your interviewer will ask their own version of this. Paste your actual job description into the free Question Predictor and get the 20 questions that role is most likely to ask, with what each one is really probing.

Predict my questions

Rehearse the hard questions before they are asked

Practise with a live copilot, then walk in ready. A $29 Session Pass gets you through the interview with no subscription and no lock-in.

Get GhostPilot