Users upload profile photos and, occasionally, 2 GB videos. Design the upload path.
Answer it out loud before you open anything. The value of the flags below is in comparing them to what you actually said.
The situation behind the question
Today the file is posted to your API, buffered in memory, and written to object storage from the handler. Memory spikes during video uploads have caused restarts.
What it is really testing
Whether the candidate takes bytes out of the application process where that is appropriate, and remembers that a file landing in a bucket is not the end of the operation.