Beginner Level (Basic Concepts)
1. What is MERN Stack?
MongoDB, Express.js, React.js, Node.js – a fullstack JavaScript tech stack.
2. Explain the role of each component in MERN.
3. What is JSX in React?
4. What are components in React?
5. Difference between Functional and Class Components?
6. What is useState and useEffect?
7. What is props in React? How is it different from state?
8. What is Express.js and why is it used?
9. How to define a simple route in Express.js?
10. What is Node.js? How is it different from JavaScript in the browser?
11. How to connect MongoDB using Mongoose?
12. What is a schema in MongoDB/Mongoose?
13. Explain the flow of data in a MERN application.
14. What is package.json and why is it important?
15. What is npm install vs npm install --save?
Intermediate Level (Practical Development)
16. How do you create a REST API using Express.js?
17. What is CORS and how do you enable it in Express?
18. What is middleware in Express?
19. Explain MVC pattern in Node/Express.
20. What is MongoDB Atlas?
21. How to structure a MERN project?
22. How do you manage routes in React? (React Router)
23. How do you fetch data in React?
24. What is lifting state up in React?
25. What are controlled vs uncontrolled components?
26. Explain authentication and authorization.
27. How to implement JWT-based auth in MERN?
28. What is bcrypt and why is it used?
29. How do you deploy a MERN app on Render/Netlify/Vercel?
30. What is the purpose of useContext and Redux?
Advanced Level (Architecture + Performance +
Scaling)
31. How to handle error globally in Express.js?
32. How to create a custom React hook?
33. Explain Redux Thunk vs Redux Saga.
34. What is memoization in React? (React.memo, useMemo)
35. Explain the difference between useEffect and useLayoutEffect.
36. How to protect routes in React?
37. Explain lazy loading and code splitting in React.
38. How do you design a scalable backend with Node.js?
39. What is the event loop in Node.js?
40. How to optimize performance in a MERN application?
41. Explain aggregation in MongoDB.
42. What is indexing in MongoDB?
43. How do you handle large data sets in MongoDB?
44. What is rate limiting and how to implement it in Express?
45. Explain file upload using Multer in Express.
46. How to send emails using Node.js?
47. How to implement role-based access in a MERN app?
48. How to handle concurrent requests in Node.js?
49. What is SSR (Server-Side Rendering) in React?
50. CI/CD pipeline for a MERN app using GitHub Actions or Jenkins?