Professional Cloud DevOps Engineer free question 5 / 10 · Domain 3: Applying site reliability engineering practices
A team has a metric that reports the 95th percentile of request latency and wants to build an SLO on it. Which type of SLO does this metric support?
- A request-based SLO, which counts the good requests against the total number of requests
- A calendar-based SLO, which removes the need to choose between request and windows
- A rolling-window SLO, which turns the percentile into a count of good requests
- A windows-based SLO, which counts the intervals in which the percentile meets the goal
Show the answer and explanation
Answer: D
Why this is correct
Compliance is the ratio of good events to total events. In a request-based SLO the events are requests, and in a windows-based SLO they are measurement intervals that meet a goodness criterion. If the raw metric available is a latency percentile, a windows-based SLO is required, for example one that asks for a 95th-percentile latency under a threshold in a share of 10-minute windows.
Why the other options are wrong
"A request-based SLO, which counts the good requests against the total number of requests" … A request-based SLO needs a ratio of good requests to total requests. A percentile metric does not provide that count.
"A calendar-based SLO, which removes the need to choose between request and windows" … Calendar is a type of compliance period. The two types of SLOs are request-based and windows-based.
"A rolling-window SLO, which turns the percentile into a count of good requests" … Rolling is also a type of compliance period, and it does not change what the raw metric measures.
Key points
Percentile metrics lead to windows-based SLOs; counts of good and total requests lead to request-based SLOs.