1. Which Node.js function is used to add a callback to the "next tick queue" for execution in the next iteration of the event loop?
2. In Node.js, what is the primary purpose of load balancing for performance optimization?
3. What is the purpose of profiling in Node.js debugging tools?
4. What is the WebSocket protocol identifier in a URL, often used for WebSocket connections in Node.js?
5. What is an Object-Relational Mapping (ORM) library used for in Node.js and database connectivity?
6. In Node.js, which method is used to write data to a file asynchronously?
7. Which command is used to install Express.js in a Node.js project?
8. What is the primary benefit of using a library like "inquirer.js" in Node.js CLI development?
9. What is a common technique for managing session data and maintaining user state in horizontally scaled Node.js applications?
10. Which core module allows Node.js applications to perform network operations and create network servers or clients?
11. Which Node.js module is commonly used for handling asynchronous operations and avoiding callback hell?
12. In an HTTP server created with Node.js, what is the primary purpose of a request handler function?
13. In Node.js, which method is used to check if a file exists?
14. What is middleware in Express.js?
15. In Express.js, what is the purpose of the app.all method when defining middleware?
16. In Node.js, why is asynchronous programming important for handling I/O operations?
17. What is the purpose of the ws module in Node.js?
18. Which HTTP status code is typically returned in a Node.js RESTful API response to indicate a successful resource creation (POST request)?
19. What is the primary purpose of middleware in a Node.js application?
20. What is "SQL injection," and how can it be prevented in a Node.js application?