MERN Stack Interview Questions in Pune
36 practice questions with answers for MERN Stack interviews in Pune.
MERN Stack jobs in Pune
Pune combines IT-services campuses in Hinjewadi and Kharadi with product, automotive and BFSI technology centres. It has a large mid-level job market for data and QA roles, and interviews are often practical and project-based.
Below are 36 questions that match the mix of service, product and domain employers hiring mern stack developers in Pune.
How should a component display data loaded from an API in a user-friendly way?
Show answer
Your app needs user, editor and admin roles with different permissions. How would you implement it?
Show answer
Show the use of $push, $addToSet, $inc and $pull update operators.
Show answer
Why do applications use both access tokens and refresh tokens?
Show answer
What is Node.js and how does it handle many requests on a single thread?
Show answer
What is the difference between server state and client state, and why use a library like TanStack Query?
Show answer
What is the output order of console.log('A'), setTimeout(() => console.log('B'), 0), Promise.resolve().then(() => console.log('C')) and console.log('D')?
Show answer
What practical steps do you take to sanitise and validate input in an Express and MongoDB API?
Show answer
Write basic CRUD commands in mongosh for a users collection.
Show answer
How do you add a timeout to a fetch call in Node.js?
Show answer
Should you store a JWT in localStorage or in an httpOnly cookie?
Show answer
Read a JSON file and write an updated version using fs/promises and async/await.
Show answer
Write an asyncHandler wrapper for Express 4 route handlers.
Show answer
Why do you want to work as a MERN stack developer?
Show answer
Write a central error-handling middleware with a custom AppError class.
Show answer
Write a controlled login form that submits to an API.
Show answer
How do class component lifecycle methods map to hooks?
Show answer
Write an aggregation that counts orders and sums revenue per status.
Show answer
How does React protect against XSS and where can XSS still happen?
Show answer
Fast typing in a search box sometimes shows results for an older query. What causes this and how do you fix it?
Show answer
How would you structure the folders of a production Express API?
Show answer
Attackers are trying thousands of passwords on your login endpoint. How do you defend it?
Show answer
A MongoDB query on an orders collection takes 3 seconds. How do you diagnose and fix it?
Show answer
What are a Mongoose schema and model, and how does validation work?
Show answer
Tell me about a time you had to deliver a frontend feature under a tight deadline.
Show answer
Compare offset-based and cursor-based pagination for an API.
Show answer
A search box fires an API request on every keystroke and overloads the backend. How would you solve it?
Show answer
What is a custom hook and what rules must hooks follow?
Show answer
What does lean() do in Mongoose and when should you use it?
Show answer
Tell me about a time you received critical feedback on your UI code and how you responded.
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
What are the core principles of a RESTful API, and which HTTP methods are idempotent?
Show answer
What are streams in Node.js and what types exist?
Show answer
How do you implement graceful shutdown for a Node.js API during deployments?
Show answer
Write a deep clone function that handles nested objects, arrays and dates.
Show answer
Companies with offices in Pune (10)
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 questionsAccenture
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 questionsTech Mahindra
MERN Stack interview questions
Pune, Hyderabad, Bengaluru +2
View questionsLTIMindtree
MERN Stack interview questions
Mumbai, Pune, Bengaluru +2
View questionsPersistent Systems
MERN Stack interview questions
Pune, Nagpur, Bengaluru +2
View questionsEPAM Systems
MERN Stack interview questions
Hyderabad, Bengaluru, Pune +2
View questionsFrequently asked questions
Which companies hire MERN Stack professionals in Pune?
Companies with large offices in Pune include TCS, Infosys, Wipro, Accenture, Cognizant, Capgemini, Tech Mahindra, LTIMindtree, Persistent Systems, EPAM Systems. Use their company pages below to practise employer-specific sets.
Are MERN Stack interviews in Pune different from other cities?
The questions depend more on the company than the city. Pune's mix of employers decides the style: It has a large mid-level job market for data and QA roles, and interviews are often practical and project-based
How do I find MERN Stack jobs in Pune?
Shortlist companies with Pune offices, keep your CV focused on MERN Stack projects, apply on company career pages and job portals with the Pune filter, and practise the questions on this page before each interview.