| 1 | What is multipart/form-data, and why does a Node.js server need special middleware (like multer) to handle file uploads? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 2 | How would you validate and restrict uploaded file types and sizes using multer to prevent malicious or oversized uploads? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 3 | How would you stream a large file upload directly to processing (like virus scanning or transcoding) without first saving the entire file to disk? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 4 | Why should CPU-intensive media processing like image resizing or video transcoding typically not run directly inside an Express request handler? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 5 | How would you implement direct-to-S3 file uploads from a client, avoiding routing large file uploads through your Node.js server entirely? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 6 | How would you implement resumable/chunked file uploads in Node.js to handle very large files over unreliable network connections? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 7 | What is the security risk of trusting a client-supplied filename for an uploaded file, and how do you mitigate it? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 8 | Why should an application typically avoid storing uploaded files directly on the same server instance that runs the web application? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 9 | How would you implement a progress indicator for a large file upload from the client's perspective, given the Node.js server side? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 10 | How would you scan uploaded files for malware before accepting them into permanent storage in a Node.js application? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 11 | How would you validate an uploaded image's actual dimensions and reject ones that don't meet minimum or maximum size requirements? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 12 | What is the difference between multer's diskStorage and memoryStorage engines? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 13 | What is the difference between upload.single(), upload.array(), and upload.fields() in multer? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 14 | How would you process and resize an uploaded image in Node.js using the sharp library, and why is sharp generally preferred over pure-JavaScript alternatives? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 15 | How would you generate a video thumbnail in Node.js using ffmpeg via a library like fluent-ffmpeg? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 16 | What is the difference between fs.rename() and manually copying then deleting a file, particularly across different filesystems or drives? Node.js › File System (fs) Module | Node.js | File System (fs) Module | Intermediate |
| 17 | How would you handle file uploads in a GraphQL API, given GraphQL's standard JSON-based transport doesn't naturally support binary file data? Node.js › GraphQL | Node.js | GraphQL | Intermediate |
| 18 | How do you pass data between the main thread and a worker thread using postMessage(), and what are the limits on what can be sent? Node.js › Clustering & Worker Threads | Node.js | Clustering & Worker Threads | Intermediate |
| 19 | What is path traversal, and how does the path module (specifically path.normalize() and careful path.join() usage) help prevent it as a security vulnerability? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Advanced |