Interview practice question
Accepting file uploads
Backend Engineering · API Design · Beginner
Your API needs to accept profile picture uploads. How would you implement it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Pre-signed URL to object storage, or multipart upload.
- Validate type and size.
- Scan/resize asynchronously.
- Store URL/key in DB.
- Never trust file extension.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.