Quick revision
The short answer
Both can be true because the dashboard and the customer are measuring different things. The metric is probably measured at the service, so failures at the load balancer, client timeouts and requests that never arrived are not counted; it averages over all traffic, so a 90-minute failure of one region that carries a small share of requests barely moves the global number; and it may count only 5xx responses, ignoring slow responses beyond the client's timeout. We fix it by measuring at the edge and with external synthetic probes, counting timeouts and slow responses as failures, reporting per region and per large customer, and aligning the SLA's contractual definition with what we measure, then checking this customer's claim against their own requests.
What to remember
In this answer, we showed that a 90-minute failure in a region carrying 10 percent of traffic yields about 99.98 percent globally while the affected customer sees about 99.79 percent. The gaps were measuring at the service, averaging globally, and counting only 5xx responses. We redesigned measurement around edge logs and external probes, counted timeouts and slow responses as failures, reported per region and per large customer, and aligned the SLA definition with what we can measure before checking the customer's claim against their own requests.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
Both can be true because the dashboard and the customer are measuring different things. The metric is probably measured at the service, so failures at the load balancer, client timeouts and requests that never arrived are not counted; it averages over all traffic, so a 90-minute failure of one region that carries a small share of requests barely moves the global number; and it may count only 5xx responses, ignoring slow responses beyond the client's timeout. We fix it by measuring at the edge and with external synthetic probes, counting timeouts and slow responses as failures, reporting per region and per large customer, and aligning the SLA's contractual definition with what we measure, then checking this customer's claim against their own requests.
Why this question is asked
A green availability dashboard alongside an angry customer is one of the most common and most damaging situations in operations. It damages trust twice: first the outage, then the impression that the provider does not see it. Interviewers ask this to see whether we understand how availability numbers are produced and where they can hide failure. In this answer, we will see how a 90-minute regional problem can coexist with 99.98 percent, go through the three measurement gaps that usually explain it, and redesign the measurement so the number reflects what customers experience.
1How 99.98 Percent Can Hide a 90-Minute Outage
Let us first check that the numbers can both be true. Suppose the affected region carries 10 percent of global traffic. A 90-minute total failure of that region, in a 30-day month of 43,200 minutes, is 90 / 43,200 = 0.21 percent of the month. Across all traffic, that is 10 percent of 0.21 percent, about 0.02 percent of requests. Global availability: about 99.98 percent.
So the dashboard is arithmetically right and practically misleading. For a customer whose users are all in that region, the service was completely down for 90 minutes, which by itself is 0.21 percent of their month and puts them at about 99.79 percent, well below the 99.9 percent SLA. The customer may simply be correct.
2Gap 1: Where the Metric Is Measured
Many availability metrics are computed from the service's own logs or metrics: requests received and responses sent. That misses every request that failed before reaching the service. If the regional load balancer was unhealthy, DNS pointed to a dead endpoint, a TLS certificate expired at the edge, or the service was so overloaded that connections were refused, those requests appear nowhere in the service's numbers. The service saw fewer requests, all of which succeeded, and reported excellent availability during a total outage.
Requests that the client gave up on also disappear. If the client timed out after 10 seconds but the service finished at 15 and logged a 200, the service counts a success while the user saw a failure.
3Gap 2: Averages Hide Partial Outages
A single global number averages over everything: all regions, all customers, all endpoints. A failure that affects one region, one database shard or one customer's tenant is a small fraction of the total and almost invisible. Yet for those users it is not partial at all. This is why a global availability figure should never be the only one reported; it answers 'how is the service overall?', not 'did anyone have a bad day?'.
4Gap 3: What Counts as a Failure
If the definition counts only 5xx responses as failures, many real failures are excluded. Responses slower than the client's timeout are failures to the client. Wrong data, such as an empty list returned because a dependency failed and the code swallowed the error, is a failure to the user even with a 200 status. Rate-limit responses during an incident (429) may also be failures if the customer did nothing wrong. The definition should match what a customer would reasonably call 'it did not work'.
| Gap | What the dashboard saw | What the customer saw |
|---|---|---|
| Measured at the service | Fewer requests, all succeeded | Connection errors at the load balancer |
| Global average | 0.02 percent failed overall | Their region down for 90 minutes |
| Only 5xx counted | Slow 200 responses counted as success | Client timeouts after 10 seconds |
| Silent errors | 200 with empty data | Missing results in their application |
5Redesigning the Measurement
We move the measurement point outwards. Availability is computed from the edge, the load balancer or CDN logs that see every request that reached our infrastructure, including those the service never saw. In addition, synthetic probes run from outside our network, in several regions, calling key endpoints every 30 to 60 seconds, so we detect failures even when real traffic disappears, such as when DNS is broken.
We change the definition: a request is successful only if it returns a non-error response within a latency threshold, for example 2 seconds for this API. And we report availability per region and per large customer, not only globally, with alerts on each. A 90-minute failure in one region would then show up as a clear dip in that region's availability within minutes.
- External synthetic probesSeveral regions, every 30 to 60 seconds
- Edge and load balancer logsEvery request that reached us, with latency
- Service metricsUseful for debugging, not for the SLA
- ReportsGlobal, per region, per large customer
4 layers, from the top down. Step through them one at a time.
6Aligning the Contract and Checking the Claim
Finally, the SLA's contractual definition should state the measurement point, the window, what counts as failure and the exclusions, such as announced maintenance or failures caused by the customer, and it should match what we can actually measure. A definition we cannot measure invites disputes; one we measure differently from the contract lets us breach it unknowingly.
For this customer, we take their own requests from the edge logs for the 90-minute window, count failures and timeouts under the contractual definition, and compute their availability for the month. If it is below the SLA, we pay the credits promptly and share the analysis. Being transparent costs a credit; arguing with a customer who is right costs the relationship.
7Follow-up questions
Should synthetic probes or real traffic define availability?
Real traffic should be the primary basis, because it reflects what users actually experienced, weighted by how much they used the service. But real traffic has a blind spot: when requests cannot reach us at all, or traffic is very low, there is nothing to measure. Synthetic probes fill that gap and give a steady signal for alerting. A common approach is to define the SLA on real requests measured at the edge, and use probes for detection and as supporting evidence during disputes.
How do you handle a customer whose own network caused the failures?
The contract should exclude failures caused by the customer, and edge logs and probes help prove it: if their requests never reached our edge while probes from the same region succeeded, the problem was likely on their side.
Is per-customer reporting expensive?
Computing availability per tenant from edge logs is a grouping in the metrics or log pipeline. It is usually done only for customers above a size threshold or those with an SLA.
8Conclusion
In this answer, we showed that a 90-minute failure in a region carrying 10 percent of traffic yields about 99.98 percent globally while the affected customer sees about 99.79 percent. The gaps were measuring at the service, averaging globally, and counting only 5xx responses. We redesigned measurement around edge logs and external probes, counted timeouts and slow responses as failures, reported per region and per large customer, and aligned the SLA definition with what we can measure before checking the customer's claim against their own requests.
Open with
Both can be true because we are measuring something different from what the customer experiences. If one region with ten percent of traffic was down for ninety minutes, that is 0.21 percent of the month, but only 0.02 percent of global requests, so the global number stays at 99.98, while a customer whose users are all in that region saw about 99.79, below the SLA.
Then, if they want more
Then there are usually measurement gaps. If availability is computed at the service, requests that failed at the load balancer, were refused, or never arrived are not counted at all. If only 5xx responses count, slow responses that hit the client's timeout look like successes. And a global average hides partial outages of one region, shard or customer.
I would change the measurement: compute availability at the edge from load balancer logs, add external synthetic probes from several regions so we see failures even when traffic disappears, count timeouts and responses over a latency threshold as failures, and report per region and per large customer with alerts.
I would also make sure the SLA's contractual definition, the measurement point, window and exclusions, matches what we measure. For this customer, I would compute their availability from their own requests in the edge logs, and if they are right, pay the credits quickly and share the analysis.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "How can both be true, and how would you change how availability is measured?": https://scrivio-interview-library.netlify.app/architecture/sd-fundamentals/dde2521274/