Google Professional Cloud DevOps Engineer Question 96
Select 3Google Cloud PlatformYour team is responsible for managing a critical e-commerce platform hosted on Google Cloud. A recent customer survey revealed dissatisfaction due to slow checkout processing times. To address this issue, you’ve been tasked with defining an SLI, SLO, and SLA for the checkout service. Which of the following steps would help you correctly define these metrics?
- A
Define an SLI by measuring the 95th percentile of checkout latency over a rolling 30-day window.
- B
Set an SLO that requires 99.9% of checkout requests to complete within 500 milliseconds each calendar month.
- C
Specify an SLA that offers a financial penalty if the checkout service fails to meet the SLO for two consecutive months.
- D
Define an SLI that tracks the number of unique users who visit the checkout page daily.
- E
Set an SLO that requires 90% availability for the checkout service during peak traffic hours.
- F
Specify an SLA that states the platform will target 100% availability at all times.
Show answer and explanation
Correct answers: A, B, C
Explanation
Defining SLIs, SLOs, and SLAs requires meaningful, measurable, and realistic metrics that align with the system's objectives and user expectations. An SLI should focus on a specific indicator of system performance, such as latency or availability. The SLO sets a measurable target for the SLI, while the SLA formalizes expectations and often includes penalties for non-compliance. In this scenario, the correct steps focus on latency as the key indicator and set realistic performance and penalty standards.
- A. Correct.
Correct. Using the 95th percentile of checkout latency is a meaningful SLI for this scenario, as it directly measures the performance of the checkout service.
- B. Correct.
Correct. This SLO appropriately sets a measurable and realistic performance target for the checkout latency.
- C. Correct.
Correct. The SLA includes a concrete consequence (financial penalty) tied to failing the SLO, which is a standard practice for SLAs.
- D. Incorrect.
Incorrect. While user metrics are important, the number of unique users visiting the checkout page is not a valid SLI for checkout performance or latency.
- E. Incorrect.
Incorrect. A 90% availability target during peak hours is too low for a critical e-commerce platform and does not align with typical SLO standards for such services.
- F. Incorrect.
Incorrect. While 100% availability is a desirable goal, it is unrealistic and not an appropriate SLA target since no system can guarantee perfect availability.