
Answer-first summary for fast verification
Answer: Create a SLO. Create an Alert Policy on select_slo_burn_rate.
The question focuses on detecting consumption of an error budget to protect customers and define release policies for microservices in GKE. An error budget is derived from a Service Level Objective (SLO) and represents the allowable amount of unreliability before impacting users. To monitor and alert on error budget consumption effectively: - **Option A** mentions creating SLIs (Service Level Indicators) and alerting if services fail but does not explicitly address error budgets or burn rates, making it incomplete. - **Option B** suggests using Anthos Service Mesh metrics for health monitoring but doesn't tie to SLOs, error budgets, or release policies, so it misses the core requirement. - **Option C** directly addresses the need: Creating an SLO defines the reliability target and error budget. An Alert Policy on `select_slo_burn_rate` specifically monitors how quickly the error budget is being consumed, enabling rapid detection of issues (e.g., high burn rates) to protect customers and inform release decisions (e.g., halting deployments). This aligns with Google Cloud's best practices for SLO-based alerting. - **Option D** involves creating an SLO and uptime checks but uses generic alerting for service failures, which doesn't focus on burn rate or error budget consumption, making it less precise. Thus, Option C is correct because it leverages burn rate monitoring—a key DevOps practice—to proactively manage error budgets and enforce release policies.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can you monitor error budget consumption and establish release policies for microservices running on Google Kubernetes Engine (GKE) to ensure customer protection?
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 a SLO. Create an Alert Policy on select_slo_burn_rate.
D
Create a SLO and configure uptime checks for your services. Enable Alert Policies if the services do not pass.
No comments yet.