All jobs / Full-stack developer / DevOps Basics
Full-stack developer interview question · 5+ years
Prod: 'submit does nothing'. API dashboards look calm. The SPA error rate ticked up after a mixed deploy.
Where do you start?
The strongest answer
Reproduce with the request id, then ask whether the HTML, the JS version, the BFF and the service agree on the same contract — do not start by blaming 'the frontend' or 'the backend'
Why it works
Exactly. Staff debugging is locating the join that broke. Version of the bundle, payload, status, span — then a team. Layer-blame is how you lose the first hour.
What a good answer covers
- Get the id, the bundle, the payload.
- Compare what each layer thought the contract was.
- Blame the join, then the owner.
- Do not reboot your way past evidence.
Answers that fall short
- Close, but not the strongest: Revert the last frontend deploy; it is usually the UI
Last UI deploy is a hypothesis, not a method. Old JS plus new API is a third hypothesis. - Weak: Restart the API pods; it is usually state
Restarts feel like action and destroy the crime scene. - Red flag: Ask the user to record a 20-minute video before we look at logs
A video without a request id is a tour of a spinner.
Who gets asked this
More DevOps Basics questions
- API 5xx is 0.1%. Users still report 'save failed' because the SPA cannot reach a new path. Which errors go in…
- 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?