SRE for the Professional Cloud DevOps Engineer exam: SLIs, SLOs, error budgets, burn rate and incidents

5 min read

Section 3 of the Professional Cloud DevOps Engineer exam (SRE practices, ~18%) sounds small, but SRE thinking also runs through the CI/CD and observability sections: which SLI to choose, what SLO to set, what to do when the error budget runs out, who does what in an incident, and how to write a postmortem. Many questions come straight from the spirit of Google's SRE books. This article covers the concepts, error budget math, burn-rate alerting and incident handling, with practice questions.

Key takeaways

  • The SRE section is about 18% of the PCDOE exam, but SRE thinking also shows up in the CI/CD and observability sections.
  • SLI, SLO and SLA are three different things; an SLA has contractual consequences, and choosing a 100% SLO or "as high as possible" is a trap.
  • Alerts should follow user-visible symptoms (burn rate), not CPU or memory.
  • During an incident, reduce user impact before investigating the cause; postmortems don't blame individuals.

SLI, SLO, SLA: three different things

ConceptDefinitionExample
SLI (Service Level Indicator)A measurable aspect of the service, usually good events over total eventsShare of HTTP requests not returning 5xx
SLO (Service Level Objective)An internal target for an SLI over a window99.9% successful requests over 30 days
SLA (Service Level Agreement)A customer commitment with consequences (credits) if missedRefunds if monthly availability drops below 99.5%

SLOs should be tighter than SLAs so you get warning before breaching a customer commitment.

Common SLI types

  • Availability: share of successful requests.
  • Latency: share of requests faster than a threshold (e.g. under 300 ms).
  • Quality: share of non-degraded responses (e.g. not served from fallback data), such as when a page returns partial results because one microservice failed (practice question #29).
  • Freshness: share of data updated within the required time (data pipelines).
  • Correctness, coverage, throughput: for data processing systems.

Where to measure SLIs

The closer to the user, the more accurately it reflects experience. Load balancer logs are easy to get but miss client-side failures. Client instrumentation and a synthetic client sending periodic simulated requests give the most user-centric view (question #30).

Error budgets: math and use

Error budget = 100% − SLO. Over a 30-day window (43,200 minutes):

SLOError budgetMaximum downtime in 30 days
99%1%432 minutes (7.2 hours)
99.5%0.5%216 minutes (3.6 hours)
99.9%0.1%43.2 minutes
99.95%0.05%21.6 minutes
99.99%0.01%about 4.3 minutes

Each extra nine cuts allowed downtime tenfold and raises cost sharply. The exam guide calls this the "opportunity cost of risk and reliability": more reliability than users need wastes money and release velocity.

Error budget policy

  • Budget left: the team ships features and experiments.
  • Budget exhausted: freeze feature releases (except fixes and reliability work) until the SLI recovers.
  • The budget is an agreement tool between development and operations, not a punishment.

Burn-rate alerting

Burn rate is how fast you consume the error budget relative to the rate that would use it up exactly at the end of the window. A burn rate of 1 exhausts the budget at the end of the window; 10 exhausts it in a tenth of the window. Cloud Monitoring lets you define SLOs on services and create burn-rate alert policies. A common combination:

  • Short window, high burn-rate threshold: catches severe incidents fast and pages on-call.
  • Long window, low threshold: catches slow degradation and opens a ticket.

Alerts should be based on user-visible symptoms (SLOs), not every cause metric such as high CPU.

SRE incident handling

Roles

RoleResponsibility
Incident CommanderOverall coordination, delegation, the big picture
Operations LeadHands-on changes to mitigate impact
Communications LeadRegular stakeholder updates (question #45)
Planning LeadTracks longer-term work, records, prepares handoffs

Communication: update regularly and always commit to a next-update time (question #34); set up a shared channel for responders (question #22).

Mitigate first, find the cause later

  1. Roll back the just-deployed release or turn off the feature flag (question #27).
  2. Drain or redirect traffic away from the failing region, zone or backend.
  3. Add capacity if overload is the cause.
  4. Investigate the root cause once stable.

Incident metrics

MTTD (time to detect), MTTR (time to recover), MTBF (time between failures) and impact scope are numbers a question may ask you to compute from a scenario (question #15). Reduce incident impact by lowering MTTD (better alerts), lowering MTTR (fast rollback, runbooks) and shrinking scope (canaries, regional isolation).

Blameless postmortems

  • Write one after a major incident, even once it's fixed (question #12).
  • Include a summary, impact, timeline, root causes, resolution, lessons learned and action items with owners and priorities; share widely (question #3).
  • Focus on systems and processes, not naming people; preventive actions such as tests that catch that class of error before release (question #40).

Service lifecycle and toil

  • Taking over a service: SRE reviews it and asks for reliability improvements before handover (question #26).
  • Self-healing: even a single VM belongs in a managed instance group of size 1 with health checks so it's recreated on failure (question #32).
  • Toil: manual, repetitive, automatable work; SRE caps toil time and automates the rest.
  • Capacity planning: quotas, limits, reservations, autoscaling, load tests.

Common traps

  • Choosing a 100% SLO or "as high as possible".
  • Alerting on CPU and memory instead of user symptoms.
  • Investigating while users are still affected.
  • Postmortems naming the person who caused the issue.
  • Confusing SLAs and SLOs: SLAs carry contractual consequences.

Start practicing

Try the 60 free Professional Cloud DevOps Engineer questions, then a timed exam (Pro). For the exam overview, see the Professional Cloud DevOps Engineer study guide.

Official sources