All jobs / Full-stack developer / End-to-End Architecture
Full-stack developer interview question · 1–3 years
You are launching 'scheduled send'. The API route is new; the button is new.
How do you ship the flag?
The strongest answer
The same flag key on API and UI, default off, with the server rejecting the new payload while it is off — the UI being hidden is not enough
Why it works
Exactly. A hidden button with a live endpoint is a launch you cannot stop. One key, server-enforced.
What a good answer covers
- One flag, two readers, server is law.
- Default off; reject new payloads while off.
- Hide the UI as UX, not as the kill switch.
- Do not give each layer its own name for the same launch.
Answers that fall short
- Close, but not the strongest: Only the React flag; the API can start accepting the new body today
Accepting a payload the UI 'is not using yet' means anyone can. - Weak: Only the API flag; the button can stay visible
A visible button that 404s is a support ticket. - Red flag: Two different flag names so each team can toggle independently
Two names is how you get the UI on and the API off during the demo.
Who gets asked this
More End-to-End Architecture questions
- The web app must accept a large training video. How should a 200MB video get to storage?
- The page needs a user, their last three invoices and a permission set. Those live on three internal services…
- The same `/projects` powers the website and a native app that ships through an app store. How do you keep one…
- The server needs to push status updates to the browser, and the client never sends anything back on that…
- You deploy API and UI. Support still sees errors from a field you renamed. What do you assume after a deploy?
- You need to change `amount` from a string to a number. How do you version without stranding the UI?
- You want to rename `title` to `headline` on a resource the SPA already ships. How do you roll the rename?
- What do you say, and when should the prompt appear?