Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
FastAPI Production
›
Module 6 · Real-World Patterns
›
File uploads: streaming vs buffered
quiz
90 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** 500MB video upload — right approach? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** 500MB video upload — right approach? 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
UploadFile + read() — buffers the whole 500MB into RAM/disk.
B
request.stream() chunks → S3 multipart, no full buffer.
C
Reject anything over 50MB and tell the client to split.
D
Base64-encode the upload inline in a JSON request body.
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…