Your team is running microservices in Google Kubernetes Engine (GKE). You want to detect consumption of an error budget to protect customers and define release policies. What should you do?
A. Create SLIs from metrics. Enable Alert Policies if the services do not pass.
B. Use the metrics from Anthos Service Mesh to measure the health of the microservices.
C. Create an SLO. Create an Alert Policy on select_slo_burn_rate.
D. Create an SLO and configure uptime checks for your services. Enable Alert Policies if the services do not pass.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
C
Explanation
A. Create SLIs from metrics. Enable Alert Policies if the services do not pass.
(SLI is not sufficient, and can’t create alert policies from SLI. We need SLO.)
B. Use the metrics from Anthos Service Mesh to measure the health of the microservices.
(Just measure, will not give you error budget consumption.)
C. Create an SLO. Create an Alert Policy on select_slo_burn_rate.
(This approach involves defining specific SLOs for your services, which are quantitative measures of the desired reliability of a service. Once you have these SLOs, you can set up Alert Policies based on the rate at which your error budget is consumed [burn rate].
https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/alerting-on-budget-burn-rate#burn-rate)
D. Create an SLO and configure uptime checks for your services. Enable Alert Policies if the services do not pass.
(This will not give you exact consumption of error budget.)