MERN Stack Interview Questions in Kolkata
36 practice questions with answers for MERN Stack interviews in Kolkata.
MERN Stack jobs in Kolkata
Kolkata has a steady IT-services and BFSI technology job market around Salt Lake Sector V and New Town. Many openings are with service companies and their delivery centres, with a focus on strong fundamentals.
Below are 36 questions that match the mix of service, product and domain employers hiring mern stack developers in Kolkata.
How does routing work in a React single-page app using React Router?
Show answer
After deploying a React app, refreshing on a page like /dashboard shows a 404 error. Why, and how do you fix it?
Show answer
Show the use of $push, $addToSet, $inc and $pull update operators.
Show answer
Tell me about a time you had to learn a new JavaScript concept quickly to finish a task.
Show answer
A developer accidentally pushed the .env file with the MongoDB password and JWT secret to a public repository. What do you do?
Show answer
What is the difference between CommonJS and ES modules in Node.js?
Show answer
Tell me about a time you had to deliver a frontend feature under a tight deadline.
Show answer
Why do you want to work as a MERN stack developer?
Show answer
Tell me about a time you found and fixed a security issue in an application.
Show answer
Compress a large file with gzip using streams in Node.js.
Show answer
How is Nginx used in front of a MERN application?
Show answer
Show how to create and use a custom EventEmitter.
Show answer
You need to call an external API 500 times but it allows only 5 concurrent requests. How would you implement this?
Show answer
Your Node.js API runs on an 8-core server but CPU monitoring shows only one core busy. What do you do?
Show answer
Write an asyncHandler wrapper for Express 4 route handlers.
Show answer
What is the difference between package.json and package-lock.json, and what do ^ and ~ mean?
Show answer
Why do applications use both access tokens and refresh tokens?
Show answer
Write a central error-handling middleware with a custom AppError class.
Show answer
How do you add a timeout to a fetch call in Node.js?
Show answer
How do you implement code splitting in a React app?
Show answer
Some tests pass locally but fail randomly in CI. How do you handle flaky tests?
Show answer
What are React fragments and portals?
Show answer
Build a simple todo list in React with add and delete.
Show answer
Group an array of order objects by their status using reduce.
Show answer
What is MongoDB and how is it different from a relational database?
Show answer
What is the difference between useMemo and useCallback?
Show answer
What is the difference between controlled and uncontrolled components?
Show answer
Should you store a JWT in localStorage or in an httpOnly cookie?
Show answer
What is PM2 and why is it used to run Node.js in production?
Show answer
What is a closure and where is it useful?
Show answer
Two sibling components need to share data. How do you handle it?
Show answer
Set up React Router with a layout, a list page and a detail page using useParams.
Show answer
What are a Mongoose schema and model, and how does validation work?
Show answer
Props are being passed through five levels of components that do not use them. How would you refactor?
Show answer
Write a reusable useFetch custom hook.
Show answer
Companies with offices in Kolkata (2)
Frequently asked questions
Which companies hire MERN Stack professionals in Kolkata?
Companies with large offices in Kolkata include Wipro, Cognizant. Use their company pages below to practise employer-specific sets.
Are MERN Stack interviews in Kolkata different from other cities?
The questions depend more on the company than the city. Kolkata's mix of employers decides the style: Many openings are with service companies and their delivery centres, with a focus on strong fundamentals
How do I find MERN Stack jobs in Kolkata?
Shortlist companies with Kolkata offices, keep your CV focused on MERN Stack projects, apply on company career pages and job portals with the Kolkata filter, and practise the questions on this page before each interview.