Skip to content
$ lynuxpro

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.

1.What are the three pillars of observability?Beginner

Metrics, logs and traces. Metrics are numbers over time, logs are text records of events, and traces follow one request through many services.

2.What are the four golden signals?Beginner

Latency, traffic, errors and saturation. Watching these four tells you most of what users feel.

3.How does Prometheus collect data?Beginner

It pulls. Every scrape interval it visits each target's /metrics page and stores the numbers. If a scrape fails, the up metric becomes 0.

4.What is the difference between a counter and a gauge?Beginner

A counter only goes up (until a restart), like total requests. A gauge goes up and down, like memory in use. You usually take the rate of a counter.

5.What is a label, and why can too many be a problem?Beginner

A label splits a metric into separate series, for example by status code. Every unique label combination is a new series, so labels with many values (like user id) use huge memory. This is high cardinality.