Your question is Storing Documents. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Why did you store documents in a database?
Asked in the technical interview stage. Explain the architectural rationale for storing documents in a database rather than only in a filesystem or object store. Address how document metadata, access patterns, filtering, retrieval, embeddings, consistency, cost, and operational requirements influenced the decision. Treat this as a practical system design discussion and state what information you would clarify before making the choice.