CS FundamentalsVery hardProduct-company SRE interview
A service has a 99.9% success SLO over 30 days. An incident causes a steady 0.5% error rate. If it continues, how soon will the whole monthly error budget be used up?
- A. In 30 days
- B. In about 1.2 days
- C. In 6 days
- D. In about 3 days
Correct answer: C. In 6 days
The budget allows 0.1% errors; 0.5% burns it 5 times faster than allowed (burn rate 5), so 30/5 = 6 days. Burn-rate alerts page people when the rate would exhaust the budget long before the window ends.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A Kubernetes HorizontalPodAutoscaler targets 60% average CPU. There are 4 pods averaging 90% CPU. The HPA uses desired = ceil(current…
- A VM costs ₹10 an hour on demand. A one-year reserved commitment for the same VM costs ₹52,560, payable whatever the usage. Above what…
- A client calls a payment API with exponential backoff: wait 100 ms before the first retry and double the wait each time, for up to 4…
- A mobile client sends POST /payments, the server charges the card, but the response is lost on a flaky network, so the client retries. How…
- A feed API uses ?offset=20&limit=20 pagination. While a user reads page 1, 5 new items are inserted at the top. What goes wrong on page 2…
- During a network partition between two data centres, a replicated database must either reject some writes or accept writes on both sides…