0% found this document useful (0 votes)
45 views

MERN stack interview questions?

Uploaded by

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

MERN stack interview questions?

Uploaded by

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

100

100
MERN Stack Interview
Questions
1
MongoDB Interview
Questions

1. What are Indexes in MongoDB?


2. How many indexes does MongoDB create by
3. default for a new collection?
4. What is "Namespace" in MongoDB?
5. What is Replication in MongoDB?
6. How can you achieve primary key - foreign key
relationships in MongoDB?
7. When should we embed one document within
another in MongoDB?
8. Explain the limitations of MongoDB
Transactions.
9. Is there an "upsert" option in the MongoDB
insert command?
10. What are some of the advantages of
MongoDB?
11. What is a Document in MongoDB?
2
MongoDB Interview Continue....

Questions

11. How to add data in MongoDB?


12. How do you Update a Document?
13. What are the data types in MongoDB?
14. When to use MongoDB?
15. How is Querying done in MongoDB?
16. How to perform queries in MongoDB?
17. How do you Delete a Document?
18. What are Geospatial Indexes in MongoDB?
19. Explain the SET Modifier in MongoDB?
20. Explain the process of Sharding.
21. What do you mean by Transactions?
22. What are MongoDB Charts?
23. What is the Aggregation Framework in
MongoDB?
24. Explain the concept of pipeline in the MongoDB
aggregation framework.
25. What is a Replica Set in MongoDB?
3
Express Interview
Questions

1. What is Express.js?
2. What are some distinctive features of
Express?
3. Is Express.js front-end or backend framework?
4. Why do we use Express.js?
5. What is the difference between Express.js and
Node.js?
6. Write a code to get post a query in Express.js.
7. How does an Express code look like?
8. What do you understand by Scaffolding in
Express.js?
9. Do Other MVC frameworks also support
scaffolding?
10. Which are the arguments available to an
Express JS route handler function?
4
Express Interview Continue....

Questions

11. What is the difference between Express and


Django?
12. How can you enable debugging in Express.js
app?
13. How can you allow CORS in Express.js?
14. How can you deal with error handling in
Express.js? Explain with an example.
15. Write the code to start serving static files in
Express.js.
16. What is Middleware in Express.js? What are
the different types of Middleware?
17. Which template engines do Express support?
18. How can we render a pain HTML?
19. What is Scaffolding in Express.js?
20. How to enable debugging in the express
app?
5
Express Interview Continue....

Questions

21. Serving static files in Express.js?


22. Database integration in express.js?
23. Error handling in Express.js?
24. How dynamic routing works in
express.js?
25. What is routing and how routing works in
Express.js?
6
React js Interview
Questions

1. What is React?
2. What are the advantages of using React?
3. What are the limitations of React?
4. What is useState() in React?
5. What are keys in React?
6. What is JSX?
7. What are the differences between functional
and class components?
8. What is the virtual DOM? How does react use
the virtual DOM to render the UI?
9. What are the differences between controlled
and uncontrolled components?
10. What are props in React?
7
React js Interview Continue....

Questions

11. Explain React state and props.


12. Explain about types of side effects in React
component.
13. What is prop drilling in React?
14. What are error boundaries?
15. What is React Hooks?
16. What are the rules that must be followed
while using React Hooks?
17. What is the use of useEffect React Hooks?
18. What are Custom Hooks?
19. Explain Strict Mode in React.
20. How to prevent re-renders in React?
8
React js Interview Continue....

Questions

21. What are the different ways to style a React


component?
22. Name a few techniques to optimize React
app performance.
23. How to pass data between react
components?
24. What are Higher Order Components?
25. What are the different phases of the
component lifecycle?
9
Node js Interview
Questions

1. What is a first class function in Javascript?


2. What is Node.js and how it works?
3. How do you manage packages in your node.js
project?
4. How is Node.js better than other frameworks
most popularly used?
5. Explain the steps how “Control Flow” controls
the functions calls?
6. What are some commonly used timing
features of Node.js?
7. What are the advantages of using promises
instead of callbacks?
8. Why is Node.js single-threaded?
9. How do you create a simple server in Node.js
that returns Hello World?
10. What is fork in node JS?
10
Node js Interview Continue....

Questions

11. How many types of API functions are there in


Node.js?
12. What is REPL?
13. List down the two arguments that
async.queue takes as input?
14. What is the purpose of module.exports?
15. What tools can be used to assure consistent
code style?
16. What do you understand by callback hell?
17. What is an event-loop in Node JS?
18. If Node.js is single threaded then how does it
handle concurrency?
19. Differentiate between process.nextTick() and
setImmediate()?
20. How does Node.js overcome the problem of
blocking of I/O operations?
11
Node js Interview Continue....

Questions

21. How can we use async await in node.js?


22. What is node.js streams?
23. What are node.js buffers?
24. What is middleware?
25. Explain what a Reactor Pattern in Node.js?
WHY CHOOSE
AlgoTutor ?
100 % placement Assistance

1:1 personal mentorship from Industry Experts

200+ Successful alumni

147%(avg.) Salary hike

100 % Success rate

23 LPA(avg.) CTC

CONTACT
INFORMATION
+91-7260058093
[email protected]
www.algotutor.io

You might also like