Google Cloud Professional Cloud DevOps Engineer — Question 177
You manage a critical API running on Cloud Run that serves an average of 10,000 requests per minute. You need to define service level objectives (SLOs) for availability and latency to ensure that the API meets user expectations, which include 99.9% availability and a maximum latency of 200 milliseconds for 95% of requests. You also need to ensure these SLOs are actively monitored and measured. What should you do?
Answer options
- A. Configure Cloud Monitoring to send alerts when average API latency exceeds 150 ms or the error rate surpasses 0.1%.
- B. Prioritize latency as the only SLO, targeting 100 ms for 99% of requests.
- C. Set SLOs for 99% availability at 99% and 500 ms latency for 90% of requests. Use Cloud Monitoring to track SLOs and alert on violations.
- D. Set SLOs for the API by using availability and latency service level indicators. Use Cloud Monitoring to track SLOs and alert on violations.
Correct answer: D
Explanation
The correct answer is D because it addresses both availability and latency with appropriate service level indicators, meeting the specified user expectations. Option A only monitors latency and error rates without establishing clear SLOs. Option B focuses solely on latency, ignoring the critical availability aspect. Option C sets inadequate SLO targets that do not align with the requirements of 99.9% availability and 200 ms latency.