Node.js
The runtime and its architecture, the event loop, streams, modules, processes and performance.
0/160
- 1What is the Node.js runtime made of?Junior
- 2V8 and its roleJunior
- 3libuv and its roleMiddle
- 4Event loop in Node.jsJunior
- 5What are native modules in Node.js?Junior
- 7Garbage collection in V8Middle
- 8What phases does the Event Loop consist of?Junior
- 9Heap and stack in Node.jsMiddle
- 10CommonJS vs ES ModulesJunior
- 11What is process?Middle
- 12Environment variablesJunior
- 13The global object globalJunior
- 1Why is Node.js called a single-threaded environment?Junior
- 3Parallelism vs asynchronyJunior
- 4Blocking and non-blocking codeJunior
- 5The importance of parallelism for scalingMiddle
- 6worker_threads in Node.jsJunior
- 7How are threads different from processes?Middle
- 8How do you pass data between threads?Middle
- 10What is SharedArrayBuffer?Middle
- 11What does the message event do in a worker?Middle
- 12What does the child_process module do?Junior
- 13Parent and child processJunior
- 14What is the cluster module?Junior
- 15How does cluster help scale an application?Middle
- 16What is IPC (inter-process communication)?Senior
- 17Vertical vs horizontal scalingJunior
- 18What does PM2 do for scaling?Junior
- 19What does round-robin scheduling do?Junior
- 1What is a module in Node.js?Junior
- 2What does the term "CommonJS" mean?Junior
- 3What does require() do?Junior
- 4What does the module object do?Junior
- 5What is a "circular dependency"?Junior
- 6module resolutionJunior
- 8ESM vs CommonJSJunior
- 9Named vs default exportJunior
- 10Dynamic import import()Junior
- 11What is a "core module" in Node.js?Junior
- 1What does the fs module do in Node.js?Junior
- 2How do you read a file in Node.js?Junior
- 3readFileSync and its dangerJunior
- 4How do you write data to a file?Junior
- 6How do you create a directory in Node.js?Junior
- 7What does "I/O" mean in the context of Node.js?Junior
- 8Why are I/O operations considered slow?Junior
- 9Why does Node.js implement "non-blocking I/O"?Junior
- 10Streams and I/O operationsJunior
- 11What is Buffer in Node.js?Junior
- 12Buffer vs arrayJunior
- 13What does fs.watch() do?Junior
- 14Why is chunked I/O more efficient?Junior
- 15Combining streams and buffers for performanceSenior
- 2Why are streams the foundation of I/O?Junior
- 3Stream typesJunior
- 4What is a Readable stream?Junior
- 5What is a Writable stream?Junior
- 6What is a Duplex stream?Middle
- 7What is a Transform stream?Middle
- 8What does pipeline() do in the stream module?Middle
- 9How do you chain several streams together?Middle
- 10What is backpressure?Senior
- 11How does backpressure arise?Senior
- 13How does Node.js support the Web Streams API?Senior
- 1What is an event in the context of Node.js?Junior
- 2What does the event model look like?Junior
- 3What is the events module?Junior
- 4How do you subscribe to an event?Junior
- 5What does the emit() method do?Junior
- 6What does the on() method do?Junior
- 7Why are events asynchronous in Node.js?Junior
- 8What does once() do?Junior
- 1An HTTP server without frameworksJunior
- 2How do you handle a request inside createServer()?Junior
- 3How do you send an HTTP request from Node.js?Junior
- 4How does HTTPS differ from HTTP?Junior
- 5What is CORS?Junior
- 6What is a preflight request?Junior
- 7WebSocket's bidirectionalityMiddle
- 9What is HTTP/2?Junior
- 1What is Express.js?Junior
- 2What is middleware in Express.js?Junior
- 3request and responseJunior
- 4What is a route in Express?Junior
- 5What does express.Router() do?Junior
- 6Middleware orderJunior
- 7What are controllers in Express applications?Junior
- 8Business logic and controllersJunior
- 10Express's place in the modern worldMiddle
- 1What is NestJS?Junior
- 2What is a module in NestJS?Junior
- 3What is a controller in NestJS?Junior
- 4What is a provider?Junior
- 5The main parts of an applicationJunior
- 6What does the IoC container do in NestJS?Junior
- 7Where should you move business logic out of controllers?Junior
- 8What are Singleton providers?Junior
- 9Circular dependency between modulesJunior
- 10What are global providers?Junior
- 12What is Middleware in NestJS?Junior
- 13What is a Guard?Junior
- 14What is a Pipe?Junior
- 15What is a DTO?Junior
- 16DTO validationJunior
- 17What is an Exception Filter?Junior
- 18What is an Interceptor?Junior
- 19What are microservices in NestJS?Junior
- 2What are the pros and cons of Node.js being single-threaded?Junior
- 3What is package.json and how does npm work?Junior
- 4What is package-lock.json?Junior
- 5What is libuv and how does it enable async i/o in Node.js?Senior
- 6How the Event Loop works in Node.jsJunior
- 7How to work with environment variables in Node.js?Junior
- 8How do Timers and scheduling work in Node.js?Middle
- 9What is the difference between process.nextTick() and setImmediate()?Senior
- 11Synchronous vs asynchronous code in Node.jsJunior
- 12What is error-first callback pattern?Junior
- 13What is promisification?Junior
- 14What is the difference between promise.all and promise.allsettled?Junior
- 15Error handling patterns in Node.jsMiddle
- 16module resolutionJunior
- 17ESM vs CommonJSJunior
- 18What is eventemitter in Node.js?Middle
- 20What is a buffer in Node.js?Junior
- 21What are streams in Node.js?Middle
- 22How does the HTTP module work in Node.js?Middle
- 23What is middleware in Express.js and how does it work?Middle
- 24What are child processes in Node.js?Senior
- 25What is the cluster module in Node.js?Middle
- 26What are worker threads in Node.js?Senior
- 27What is PM2 and how to manage Node.js processes in production?Middle
- 29How to detect and prevent memory leaks in Node.js?Senior
- 30What are the key security best practices in Node.js?Senior
- 31How to use the Crypto module in Node.js for hashing and encryption?Middle
- 32What are the most common design patterns in Node.js?Senior