MERN Stack Interview Questions in Chennai
36 practice questions with answers for MERN Stack interviews in Chennai.
MERN Stack jobs in Chennai
Chennai is a long-standing IT-services and SaaS hub along OMR, with strong demand for testing, data and support-engineering roles. Many companies here hire freshers in large batches and train them on the job.
Below are 36 questions that match the mix of service, product and domain employers hiring mern stack developers in Chennai.
Your Node.js API runs on an 8-core server but CPU monitoring shows only one core busy. What do you do?
Show answer
How do class component lifecycle methods map to hooks?
Show answer
What is the difference between controlled and uncontrolled components?
Show answer
Write a register endpoint that hashes the password with bcrypt.
Show answer
Walk me through a MERN project you built, end to end.
Show answer
Every time a user types in an input inside a list item, the input loses focus. What could be the cause?
Show answer
When should you use useReducer instead of useState?
Show answer
What is the difference between server state and client state, and why use a library like TanStack Query?
Show answer
Write a docker-compose file to run a MERN app locally.
Show answer
Tell me about a time you led a technical migration in a frontend codebase.
Show answer
What does lean() do in Mongoose and when should you use it?
Show answer
Tell me about a time you had to deliver a frontend feature under a tight deadline.
Show answer
How do you implement code splitting in a React app?
Show answer
How do you implement graceful shutdown for a Node.js API during deployments?
Show answer
What is Express.js and what is middleware?
Show answer
A setInterval inside useEffect always logs the initial count value instead of the updated one. Why, and how do you fix it?
Show answer
Write Express middleware that logs method, URL, status code and response time.
Show answer
What is CORS and how do you configure it in an Express API?
Show answer
Write a unit test for a function that calculates a cart total.
Show answer
Write an asyncHandler wrapper for Express 4 route handlers.
Show answer
How do you protect a public Express API from abuse and brute-force traffic?
Show answer
What is the difference between unit, integration and end-to-end tests in a MERN app?
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 are the important changes in Express 5 compared to Express 4?
Show answer
What is the difference between a shallow copy and a deep copy?
Show answer
Create a compound index for a user's order history query and verify it is used.
Show answer
A MongoDB query on an orders collection takes 3 seconds. How do you diagnose and fix it?
Show answer
What does a CI/CD pipeline for a MERN application usually include?
Show answer
Duplicate user accounts with the same email are being created even though the code checks for an existing email first. Why, and how do you fix it?
Show answer
Compress a large file with gzip using streams in Node.js.
Show answer
Tell me about a time you found and fixed a security issue in an application.
Show answer
What is the difference between process.nextTick, setImmediate and setTimeout(fn, 0)?
Show answer
How do you protect certain routes in React so that only logged-in users can access them?
Show answer
Compare offset-based and cursor-based pagination for an API.
Show answer
A component calls setState inside useEffect and the app goes into an infinite render loop. Why?
Show answer
Companies with offices in Chennai (9)
TCS
MERN Stack interview questions
Mumbai, Chennai, Pune +2
View questionsInfosys
MERN Stack interview questions
Bengaluru, Mysuru, Pune +2
View questionsWipro
MERN Stack interview questions
Bengaluru, Hyderabad, Pune +2
View questionsCognizant
MERN Stack interview questions
Chennai, Bengaluru, Pune +2
View questionsCapgemini
MERN Stack interview questions
Mumbai, Bengaluru, Pune +2
View questionsHCLTech
MERN Stack interview questions
Noida, Chennai, Bengaluru +2
View questionsTech Mahindra
MERN Stack interview questions
Pune, Hyderabad, Bengaluru +2
View questionsLTIMindtree
MERN Stack interview questions
Mumbai, Pune, Bengaluru +2
View questionsEPAM Systems
MERN Stack interview questions
Hyderabad, Bengaluru, Pune +2
View questionsFrequently asked questions
Which companies hire MERN Stack professionals in Chennai?
Companies with large offices in Chennai include TCS, Infosys, Wipro, Cognizant, Capgemini, HCLTech, Tech Mahindra, LTIMindtree, EPAM Systems. Use their company pages below to practise employer-specific sets.
Are MERN Stack interviews in Chennai different from other cities?
The questions depend more on the company than the city. Chennai's mix of employers decides the style: Many companies here hire freshers in large batches and train them on the job
How do I find MERN Stack jobs in Chennai?
Shortlist companies with Chennai offices, keep your CV focused on MERN Stack projects, apply on company career pages and job portals with the Chennai filter, and practise the questions on this page before each interview.