| 1 | What is content negotiation in HTTP, and how would a Node.js API implement it to return either JSON or XML based on a client's Accept header? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 2 | How would you implement Server-Sent Events (SSE) in Node.js to push real-time updates to a browser client over a single long-lived HTTP connection? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 3 | How would you create a basic HTTP server in Node.js using only the built-in node:http module, without any framework? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Beginner |
| 4 | What is the difference between an HTTP request header and a query parameter, and when should each be used to pass information to a Node.js server? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Beginner |
| 5 | What is the difference between HTTP/1.1 and HTTP/2, and how does Node.js support HTTP/2 via the node:http2 module? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 6 | What is HTTP keep-alive, and how does it improve performance for a Node.js server handling many requests from the same client? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 7 | What is the difference between HTTP methods GET, POST, PUT, PATCH, and DELETE, and what does 'idempotent' mean in this context? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 8 | What is the purpose of the HTTP OPTIONS method, and how does it relate to CORS preflight requests? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 9 | What is the difference between a 301 and a 302 HTTP redirect, and when should a Node.js application use each? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 10 | How would you implement HTTP/2 server push in Node.js, and why has server push become less commonly recommended over time? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 11 | How would you implement HTTP request timeout and connection management on the server side in Node.js to protect against slow-loris style attacks? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 12 | How would you implement HTTP/2 or HTTP/1.1 connection pooling on the client side in Node.js when making many outgoing requests to the same downstream API? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 13 | How would you implement HTTP response streaming in Node.js to begin sending data to a client before the entire response is ready, such as for a large report? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 14 | How would you implement a simple TCP-level proxy or load balancer in Node.js using the net module, distinct from an HTTP-level reverse proxy? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 15 | What is the purpose of the Content-Length and Transfer-Encoding: chunked headers, and why can't a response use both simultaneously? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 16 | How would you implement caching for a GraphQL API, given that unlike REST, a single endpoint serves widely varying query shapes that don't map cleanly to standard HTTP caching? Node.js › GraphQL | Node.js | GraphQL | Advanced |
| 17 | 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 |
| 18 | What is GraphQL, and how does it differ from a traditional REST API in terms of how clients request data? Node.js › GraphQL | Node.js | GraphQL | Beginner |
| 19 | What is the difference between res.send(), res.json(), and res.end() in Express, and when should each be used? Node.js › Express & Middleware | Node.js | Express & Middleware | Intermediate |
| 20 | 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 |
| 21 | 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 |
| 22 | 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 |
| 23 | What is over-fetching and under-fetching in REST APIs, and how does GraphQL specifically address both? Node.js › GraphQL with Node.js | Node.js | GraphQL with Node.js | Intermediate |
| 24 | How would you handle service discovery in a Node.js microservices architecture, so services can find each other's network locations dynamically? Node.js › Microservices Architecture with Node.js | Node.js | Microservices Architecture with Node.js | Advanced |
| 25 | How would you optimize a Node.js application's JSON serialization performance for API responses with very large or very frequent payloads? Node.js › Performance Optimization & Profiling | Node.js | Performance Optimization & Profiling | Advanced |