Day 11: Every Request Says "OK", and the Site Is Still Broken
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer Your monitoring shows 99.9% of requests succeeding. Every request gets the status code 200, and no alert has fired. Yet users say pages will not load, their saved items have vanished and one button spins forever. How would you detect a failure like this?
In plain words
Every answer a web server sends carries a three-digit status code. The code 200 means OK. Most monitoring counts these codes and calls the service healthy when nearly all of them are 200.
Here the count looks perfect while users are plainly stuck. The question asks what that count leaves out, and what you would measure so that you hear about this before users tell you.
Words you need
| Word | What it means |
|---|---|
| Status code | A three-digit number on every web answer. 200 means OK, 404 means not found, 500 means the server failed. |
| API | A way for one program to ask another for something. A phone app asks the server's API for your saved items. |
| Payload | The contents of an answer: the actual data, as opposed to the status code on the outside. |
| Dependency | Another service that this one has to call in order to do its job. |
| Alert | An automatic message to the team when a measurement crosses a line. |
Your answer
2:00
Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.
0 / 20,000 characters · Not saved