All jobs / Full-stack developer / End-to-End Architecture
Full-stack developer interview question · 1–3 years
The web app must accept a large training video.
How should a 200MB video get to storage?
The strongest answer
The API mints a short-lived signed URL; the browser uploads to object storage; the API then accepts the object key after checks
Why it works
Exactly. Your API is a bad CDN. Sign, upload, confirm — then scan and process. The UI shows progress against storage, not against a 30s gateway.
What a good answer covers
- Large files bypass the app server.
- Short-lived signed URL, then a confirm callback.
- Scan and process after the object exists.
- Never ship a public writeable bucket.
Answers that fall short
- Close, but not the strongest: Stream the file through our API so we 'see' every byte
Proxying 200MB ties up app servers and still needs a size limit you will regret. - Weak: Put the bucket public and let the UI POST there with a hard-coded key
A public bucket with a static key is a write-anyone-read-anyone incident. - Red flag: Ask the user to use an FTP client we document in the help centre
FTP is not a product. It is a support queue.
Who gets asked this
More End-to-End Architecture questions
- 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?
- Every click on a table of 40 rows fires OPTIONS then GET, and it shows on slow networks. How do you stop the…