0% found this document useful (0 votes)
4 views3 pages

Question Bank Backend

The document consists of a comprehensive list of questions related to Full-Stack Development, specifically focusing on Node.js, Express.js, Mongoose, and MongoDB. It includes 15 questions on Node.js, 10 on Express.js, 10 on Mongoose, and 15 on MongoDB, covering various concepts such as status codes, event-driven architecture, middleware, schemas, and CRUD operations. This serves as a guide for assessing knowledge in these technologies.

Uploaded by

rsaif9015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Question Bank Backend

The document consists of a comprehensive list of questions related to Full-Stack Development, specifically focusing on Node.js, Express.js, Mongoose, and MongoDB. It includes 15 questions on Node.js, 10 on Express.js, 10 on Mongoose, and 15 on MongoDB, covering various concepts such as status codes, event-driven architecture, middleware, schemas, and CRUD operations. This serves as a guide for assessing knowledge in these technologies.

Uploaded by

rsaif9015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Full-Stack Development Backend Question

Bank
Node.js Questions (15 Questions)

1. What is 200 status code stands for?

2. What is Node.js, and how does it work?

3. Explain the event-driven architecture of Node.js.

4. What is the difference between synchronous and asynchronous programming in


Node.js?

5. What is the purpose of the Node.js event loop?

6. What is a callback function in Node.js?

7. How do you handle errors in Node.js?

8. What is the difference between setImmediate() and process.nextTick()?

9. What are streams in Node.js, and what are their types?

10. What is the role of the package.json file in a Node.js project?

11. How can you create a child process in Node.js?

12. What are modules in Node.js?

13. How does the require module work in Node.js?

14. What is the difference between import and require in Node.js?

15. How do you manage environment variables in a Node.js application?

16. What is clustering in Node.js, and why is it useful?

Express.js Questions (10 Questions)

16. What is Express.js, and why is it used?

17. How do you create a basic Express server?

18. What is middleware in Express.js? Explain with an example.

19. What is the difference between app.use() and app.get() in Express?

20. How do you handle errors in Express.js?

21. How do you define route parameters in Express.js?


22. What are the different HTTP methods used in Express.js?

23. How do you enable CORS in an Express.js application?

24. What is the difference between res.send() and res.json()?

25. How do you handle file uploads in Express.js?

Mongoose Questions (10 Questions)

26. What is Mongoose, and why is it used with MongoDB?

27. How do you define a schema in Mongoose?

28. What is the difference between a schema and a model in Mongoose?

29. How do you establish a connection to MongoDB using Mongoose?

30. What are Mongoose validation rules?

31. How do you perform CRUD operations using Mongoose?

32. What is the difference between find(), findOne(), and findById()?

33. How do you implement virtual properties in Mongoose?

34. How to connect database mongoDB to server?

35. How do you populate references between collections in Mongoose?

MongoDB Questions (15 Questions)

36. What is MongoDB, and how does it differ from SQL databases?

37. What are the advantages of using MongoDB?

38. What are the different types of indexes in MongoDB?

39. How do you insert a document in a MongoDB collection?

40. How do you update a document in MongoDB?

41. What is the difference between updateOne() and updateMany() in MongoDB?

42. How do you perform an aggregation query in MongoDB?

43. What is the purpose of the $lookup stage in an aggregation pipeline?

44. What is the difference between findOne() and find() in MongoDB?

45. What is sharding in MongoDB?

46. What is the difference between embedded documents and referenced documents?

47. How do you create a compound index in MongoDB?


48. What is the ObjectId in MongoDB, and how is it generated?

49. How does MongoDB handle transactions?

50. How do you create a replica set in MongoDB?

51. Explain CRUD operations in MongoDB with suitable examples.


52. What is the fs module. Explain it.

You might also like