PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #125
You support a high-traffic web application and want to ensure that the home page loads in a timely manner. As a first step, you decide to implement a Service Level Indicator (SLI) to represent home pa
The correct answer is C. Count the number of home page requests that load in under 100 ms, and then divide by the total. Google recommends defining SLIs as a ratio of 'good events' to total events. For latency, a 'good event' is a request that completes within the acceptable threshold (100 ms). The SLI is therefore: (number of requests completing under 100 ms) / (total number of requests). This pro
Question
Options
- ABucketize the request latencies into ranges, and then compute the percentile at 100 ms.
- BBucketize the request latencies into ranges, and then compute the median and 90th percentiles.
- CCount the number of home page requests that load in under 100 ms, and then divide by the total
- DCount the number of home page request that load in under 100 ms, and then divide by the total
How the community answered
(53 responses)- A6% (3)
- B9% (5)
- C83% (44)
- D2% (1)
Explanation
Google recommends defining SLIs as a ratio of 'good events' to total events. For latency, a 'good event' is a request that completes within the acceptable threshold (100 ms). The SLI is therefore: (number of requests completing under 100 ms) / (total number of requests). This produces a proportion between 0 and 1 that is easy to track against an SLO. Options A and B describe distribution/percentile analysis, which are useful for investigation but not the recommended SLI formula. Option D is a duplicate of C with a typo and is the distractor - C is the correctly worded answer.
Topics
Community Discussion
No community discussion yet for this question.