MERN Stack Interview Questions in Gurgaon
36 practice questions with answers for MERN Stack interviews in Gurgaon.
MERN Stack jobs in Gurgaon
Gurgaon (Gurugram) is home to many multinational, consulting, fintech and consumer-internet offices. Interviews often expect strong business understanding along with technical skills, especially for analytics and product-facing roles.
Below are 36 questions that match the mix of service, product and domain employers hiring mern stack developers in Gurgaon.
Write a role-based authorization middleware for Express.
Show answer
How does Supertest help test Express APIs?
Show answer
What is the difference between props and state in React?
Show answer
Explain destructuring, the spread operator and rest parameters.
Show answer
Your script crashes with out of memory while reading a 5 GB log file. How would you rewrite it?
Show answer
Tell me about a time you had to learn a new JavaScript concept quickly to finish a task.
Show answer
How would you structure the folders of a production Express API?
Show answer
Describe a production issue you handled in a Node.js service.
Show answer
Write a React Testing Library test for a counter button.
Show answer
Props are being passed through five levels of components that do not use them. How would you refactor?
Show answer
Show how to create and use a custom EventEmitter.
Show answer
Why do applications use both access tokens and refresh tokens?
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
An error in one dashboard widget crashes the entire React page. How do you contain it?
Show answer
What is the difference between process.nextTick, setImmediate and setTimeout(fn, 0)?
Show answer
What are the core principles of a RESTful API, and which HTTP methods are idempotent?
Show answer
What is the Context API and when should you avoid it?
Show answer
Write a debounce function in JavaScript.
Show answer
Write a production Dockerfile for a Node.js Express API.
Show answer
How do you debug a JavaScript bug that a user reports but you cannot reproduce locally?
Show answer
What is the difference between authentication and authorization?
Show answer
Your Express API slows down badly during peak traffic. How do you find and fix the bottleneck?
Show answer
Explain the phases of the Node.js event loop.
Show answer
Fetch a list of users from an API inside useEffect with proper cleanup.
Show answer
What is the difference between req.params, req.query and req.body?
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
Design a secure forgot-password flow for a MERN application.
Show answer
What are streams in Node.js and what types exist?
Show answer
Write a central error-handling middleware with a custom AppError class.
Show answer
What is NoSQL injection and how do you prevent it in a MongoDB app?
Show answer
Group an array of order objects by their status using reduce.
Show answer
What does lean() do in Mongoose and when should you use it?
Show answer
What is the difference between app.use, app.get and express.Router?
Show answer
What is a closure and where is it useful?
Show answer
Describe a mistake you made with data and how you handled it.
Show answer
Companies with offices in Gurgaon (6)
Accenture
MERN Stack interview questions
Bengaluru, Hyderabad, Pune +2
View questionsNagarro
MERN Stack interview questions
Gurugram, Jaipur
View questionsPublicis Sapient
MERN Stack interview questions
Gurugram, Noida, Bengaluru
View questionsGlobalLogic
MERN Stack interview questions
Noida, Bengaluru, Gurugram +2
View questionsEPAM Systems
MERN Stack interview questions
Hyderabad, Bengaluru, Pune +2
View questionsZomato
MERN Stack interview questions
Gurugram
View questionsFrequently asked questions
Which companies hire MERN Stack professionals in Gurgaon?
Companies with large offices in Gurgaon include Accenture, Nagarro, Publicis Sapient, GlobalLogic, EPAM Systems, Zomato. Use their company pages below to practise employer-specific sets.
Are MERN Stack interviews in Gurgaon different from other cities?
The questions depend more on the company than the city. Gurgaon's mix of employers decides the style: Interviews often expect strong business understanding along with technical skills, especially for analytics and product-facing roles
How do I find MERN Stack jobs in Gurgaon?
Shortlist companies with Gurgaon offices, keep your CV focused on MERN Stack projects, apply on company career pages and job portals with the Gurgaon filter, and practise the questions on this page before each interview.