Node.js Intermediate

🏷️ Intermediate
🆓 100% Free Certificate 15 Questions 450s 45 Views

This test evaluates your intermediate-level knowledge of Node.js, including Express.js, REST APIs, middleware, routing, and working with databases like MongoDB. To boost your skills, follow the Express.js Documentation, learn from the MDN Express Guide, and practice via this Express + MongoDB Project Tutorial.

1 What is the purpose of the Node.js event loop?
2 Which module would you use to handle file uploads in Node.js?
3 What is the purpose of the next parameter in Express middleware?
4 Which of the following is NOT a valid stream in Node.js?
5 What is the purpose of the cluster module?
6 How do you handle uncaught exceptions in Node.js?
7 What is the purpose of the Buffer class in Node.js?
8 Which method is used to parse incoming request bodies in Express?
9 What is the purpose of the util.promisify function?
10 Which of the following is NOT a valid HTTP method in Express?
11 What is the purpose of the cors middleware?
12 Which method is used to create a new router in Express?
13 What is the purpose of the process.nextTick() function?
14 Which module would you use to work with file paths in a cross-platform way?
15 What is the purpose of the __dirname variable?