Google Cloud Professional Cloud DevOps Engineer — Question 8
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 page request latency with an acceptable page load time set to 100 ms. What is the Google-recommended way of calculating this SLI?
Answer options
- A. Bucketize the request latencies into ranges, and then compute the percentile at 100 ms.
- B. Bucketize the request latencies into ranges, and then compute the median and 90th percentiles.
- C. Count the number of home page requests that load in under 100 ms, and then divide by the total number of home page requests.
- D. Count the number of home page request that load in under 100 ms, and then divide by the total number of all web application requests.
Correct answer: C
Explanation
The correct answer is C, as it accurately reflects the method of calculating the SLI by focusing specifically on home page requests. Options A and B involve using percentiles or medians, which do not directly measure the proportion of requests meeting the 100 ms target. Option D incorrectly includes all web application requests instead of just those for the home page, which dilutes the accuracy of the SLI for that specific metric.