Node.js · File System · Senior · Architecture
Lead: design a multi-tenant file storage layer on local disk + S3.
Short Interview Answer
Abstract storage interface, quarantine uploads, virus scan async, signed URLs for S3, path isolation per tenant.
Detailed Explanation
Local disk for temp; durable in object storage. Encrypt at rest. Audit access. Never serve files via unconstrained path joins.