Sample questions
Question 1Easy
What does a distributed trace show?
- The build history of a service
- A request's path across services, with per-span timing
- Total CPU used by a cluster
- Every log line from every host in the cluster for the last hour
Answer: B. A request's path across services, with per-span timing
Explanation
Each hop is a span sharing a trace ID, so you can see which service added latency.
Step-by-step solution
- A distributed trace follows one request as it passes through several services.
- Each hop is recorded as a span with its own start time and duration, all sharing one trace ID.
- That shows the path the request took and where the time was spent.
- So the answer is option B.
Why the other options are wrong
- A. A build history is CI/CD data, not request tracing.
- C. Total CPU use is a resource metric, not a trace.
- D. Every log line for an hour is a log search, not a trace.
Tip: A trace shows one request's path with timing per hop, so look for the slowest span first.
Question 2Easy
The three pillars of observability are usually listed as:
- CPU, memory and disk
- Unit, integration and system tests
- Logs, metrics and traces
- Dev, staging and production
Answer: C. Logs, metrics and traces
Explanation
Together they show what happened, how much, and where time went across services.
Step-by-step solution
- Observability is usually described through three kinds of telemetry.
- Logs record discrete events with details.
- Metrics record numbers over time, and traces follow one request across services.
- So the three pillars are logs, metrics and traces. The answer is option C.
Why the other options are wrong
- A. CPU, memory and disk are resources, not the three pillars.
- B. Test types are not telemetry signals.
- D. Dev, staging and production are deployment stages, not telemetry types.
Tip: Logs, metrics and traces answer what happened, how much, and where the time went.
Question 3Easy
- A container runtime that collects traces from each running process automatically
- A database for storing logs
- A vendor-neutral standard and SDKs for telemetry
- A load balancer
Answer: C. A vendor-neutral standard and SDKs for telemetry
Explanation
It standardises instrumentation so data can be sent to any compatible backend.
Step-by-step solution
- OpenTelemetry is an open, vendor-neutral project.
- It provides a standard and SDKs for producing traces, metrics and logs.
- The data can be sent to any compatible backend.
- So the answer is option C.
Why the other options are wrong
- A. OpenTelemetry is not a container runtime.
- B. It is not a database; backends store the data.
- D. It is not a load balancer.
Tip: OpenTelemetry is the instrumentation standard; choosing where the data is stored is a separate decision.
Question 4Easy
Structured logging means writing logs as:
- Long free-text paragraphs written for humans to read
- Machine-parseable key-value data such as JSON
- Images of the console
- Comments in source code
Answer: B. Machine-parseable key-value data such as JSON
Explanation
Structured fields like user_id and latency_ms can be filtered and aggregated easily.
Step-by-step solution
- Structured logging writes each event in a fixed format, such as JSON with named fields.
- Fields such as user_id and latency_ms can be filtered and aggregated by tools.
- Long free text is hard to query reliably.
- So the answer is option B, machine-parseable key-value data such as JSON.
Why the other options are wrong
- A. Long paragraphs are written for humans and are hard to parse and aggregate.
- C. Screenshots of the console cannot be queried by a log tool.
- D. Comments in source code are not runtime logs.
Tip: Log events as key-value JSON, not as sentences.
Question 5Medium
Why do tracing systems often sample traces?
- Sampling removes the need to propagate trace IDs between services
- Recording every request at high traffic is costly
- Sampling makes traces more accurate
- Traces cannot be stored
Answer: B. Recording every request at high traffic is costly
Explanation
Keeping a fraction (plus all errors or slow requests) gives insight at manageable cost.
Step-by-step solution
- Recording every request at high traffic creates a large amount of data and cost.
- Sampling keeps only a fraction of the traces.
- Keeping all errors and slow requests as well still gives useful insight.
- So the answer is option B: recording every request at high traffic is costly.
Why the other options are wrong
- A. Sampled services still need to pass trace IDs between them.
- C. Sampling reduces the data kept; it does not make traces more accurate.
- D. Traces can be stored; sampling is about cost, not storage being impossible.
Tip: Sample to control cost, but always keep errors and slow traces.
Question 6Medium
Monitoring vs observability: which is the common distinction?
- Monitoring needs no metrics
- Observability is only for logs
- They are unrelated
- Monitoring watches known issues; observability probes unknown ones
Answer: D. Monitoring watches known issues; observability probes unknown ones
Explanation
Rich telemetry lets you ask new questions about system behaviour without shipping new code.
Step-by-step solution
- Monitoring checks known things, such as error rate or disk usage, against set thresholds.
- Observability means the telemetry lets you ask new questions about problems you did not predict.
- So monitoring watches known issues and observability probes unknown ones.
- The answer is option D.
Why the other options are wrong
- A. Monitoring relies on metrics, so it does need them.
- B. Observability uses logs, metrics and traces, not logs alone.
- C. The two are related: monitoring is part of the wider practice of observability.
Tip: Monitoring answers the questions you planned for; observability lets you answer new ones.
Question 7Medium
The RED method for request-driven services tracks:
- Requests, Encryption, DNS
- Reads, Executions, Deletes
- Replicas, Events, Disks
- Rate, Errors, Duration
Answer: D. Rate, Errors, Duration
Explanation
These three per-service metrics capture user-facing health.
Step-by-step solution
- RED is a method for request-driven services.
- R is Rate (requests per second), E is Errors and D is Duration (latency).
- These three per-service metrics show how healthy the service looks to users.
- So the answer is option D: Rate, Errors, Duration.
Why the other options are wrong
- A. Encryption and DNS are not RED metrics.
- B. Reads, executions and deletes are not the RED terms.
- C. Replicas, events and disks are not the RED terms.
Tip: RED is for services: Rate, Errors, Duration. USE is for resources: Utilisation, Saturation, Errors.
Question 8Medium
The USE method for resources (CPU, disk, network) tracks:
- Updates, Scans, Evictions
- Users, Sessions, Events
- Utilisation, Saturation, Errors
- Uptime, Speed, Efficiency
Answer: C. Utilisation, Saturation, Errors
Explanation
Brendan Gregg's method checks how busy each resource is, whether work is queuing, and error counts.
Step-by-step solution
- USE is a method for resources such as CPU, disk and network.
- U is utilisation: how busy the resource is.
- S is saturation: whether work is queuing up, and E is errors.
- So the answer is option C: Utilisation, Saturation, Errors.
Why the other options are wrong
- A. Updates, scans and evictions are not USE terms.
- B. Users and sessions describe demand, not the health of a resource.
- D. Uptime, speed and efficiency are not the USE terms.
Tip: For each resource, check utilisation, saturation and errors.
Question 9Hard
A histogram metric for latency is preferred over a simple average gauge because:
- Histograms remove outliers automatically, which makes the dashboard cleaner
- Percentiles can be estimated and aggregated
- Histograms use no memory
- Averages cannot be graphed
Answer: B. Percentiles can be estimated and aggregated
Explanation
Bucketed histograms allow p95/p99 estimates over many instances; averages cannot be combined into percentiles.
Step-by-step solution
- An average hides how slow the slowest requests are.
- A histogram counts requests into latency buckets.
- From the buckets you can estimate p95 or p99 and combine them across instances.
- So percentiles can be estimated and aggregated. The answer is option B.
Why the other options are wrong
- A. Histograms keep the outliers; they do not remove them.
- C. Histograms use memory for their buckets, so they are not free.
- D. Averages can be graphed; the problem is that they hide the slow tail.
Tip: Use histograms for latency so you can compute p95 and p99 across many instances.
Question 10Hard
Why is putting user_id as a label on a Prometheus-style metric usually a bad idea?
- Unbounded cardinality creates millions of series
- Metrics cannot have labels; only logs can carry key-value pairs
- Labels cannot hold numbers
- It hides errors
Answer: A. Unbounded cardinality creates millions of series
Explanation
Each unique label combination is a separate series; per-user labels explode storage and query cost.
Step-by-step solution
- Each unique combination of label values creates a separate time series.
- A user_id label has one value per user, so it has millions of values.
- The number of series then grows with the user count, which costs storage and query time.
- The problem is unbounded cardinality, so the answer is option A.
Why the other options are wrong
- B. Metrics can have labels; the problem is only with labels that have too many values.
- C. Labels are strings; holding numbers is not the problem.
- D. Labels do not hide errors.
Tip: Keep metric labels to a small fixed set, and put per-user detail in logs or traces.
Practise all 14 questions free
The full question bank with timed practice, progress tracking and Vidya, your AI tutor. Free, no ads.
Open this topic in the app →