All jobs / Full-stack developer / DevOps Basics
Full-stack developer interview question · 5+ years
API 5xx is 0.1%. Users still report 'save failed' because the SPA cannot reach a new path.
Which errors go in the SLO?
The strongest answer
The ones the user saw fail — including 200 HTML that then cannot load its API, client timeouts, and 499s — not only the API's 5xx rate
Why it works
Exactly. Fullstack reliability is user-perceived. A green API behind a broken bundle is an outage. A health check that never runs the SPA is a night-light.
What a good answer covers
- SLO the journey, not the process.
- Count failed checkouts the user hit.
- Exclude expected 4xx.
- Browser RUM plus API traces, not only `/health`.
Answers that fall short
- Close, but not the strongest: API 5xx only; anything else is a frontend problem
Splitting the SLO by layer is how you page nobody while checkout is dead. - Weak: Every 4xx; the user typed wrong
4xx includes 'email taken'. That is not unreliability. - Red flag: A synthetic ping of `/health` every minute and nothing from the browser
Synthetics help and do not see the CDN serving last week's `index.html`.
Who gets asked this
More DevOps Basics questions
- Platform wants daily UI deploys and weekly API deploys from the same repo. When may UI and API ship on…
- What would you set up so that the next one does not?
- Someone wants to put the API URL and the database password in `.env` for Vite. What can go in the frontend…
- A user says 'save failed'. You have UI logs and API logs and no join. How do you trace one click?
- You are deploying a SPA and its API for the first time on the same domain. How do you host them?
- How do you make it smaller, and what should not be in it at all?
- APM shows fast API spans. Users still wait two seconds after click. How do you see one click in the tracer?
- The pipeline builds the client three times, once per environment, because the API URL is baked in at build…