Google Professional Cloud DevOps Engineer Question 227
Single answerGoogle Cloud PlatformYour team is responsible for managing a critical e-commerce application hosted on Google Cloud. You need to define an SLO for the application's checkout service. The service must maintain an availability of 99.9% per month. Which of the following represents a valid Service Level Indicator (SLI) to track this SLO?
- A
The percentage of successful checkout requests over total requests per month
- B
The average latency of the checkout service per request
- C
The percentage of time the checkout service is operational in a month
- D
The total number of errors encountered during the checkout process
Show answer and explanation
Correct answer: C
Explanation
To define an SLO for availability, you need to track an SLI that quantifies the percentage of time the service is operational and accessible. The percentage of time the checkout service is operational in a month is the most appropriate SLI for the defined SLO. Other options, like success rate or latency, measure different aspects of service performance but do not directly correspond to availability.
- A. Incorrect.
This is not correct because it measures success rate, which is more suited for reliability or correctness metrics, not availability.
- B. Incorrect.
This is not correct because it measures latency, which is unrelated to the availability of the service.
- C. Correct.
This is correct because availability is typically measured as the percentage of time a service is operational and meets its intended functionality.
- D. Incorrect.
This is not correct because the total number of errors does not provide a ratio or percentage tied to availability.