Full Stack track

MERN stack interview questions and answers

Panel-ready MERN Full Stack questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

1 High Node.js Full Stack

What are the main phases of the Node event loop?

Short take Full answer on next page

Simple meaning

Timers run setTimeout callbacks, then pending callbacks, idle/prepare, poll for I/O, check for setImmediate, and close callbacks.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
2 High Node.js Full Stack

What is backpressure in Node streams?

Short take Full answer on next page

Simple meaning

Backpressure is the signal that a writable destination is slower than the readable source.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
7 High Express Full Stack

How do you implement graceful shutdown for Express?

Short take Full answer on next page

Simple meaning

On SIGTERM stop accepting new connections, finish in-flight requests, close the HTTP server, then close MongoDB and Redis.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
11 High MongoDB Full Stack

What is a replica set and how does failover work?

Short take Full answer on next page

Simple meaning

A replica set is several MongoDB nodes that share the same data, with one primary for writes.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
13 High MongoDB Full Stack

What are write concern and read preference?

Short take Full answer on next page

Simple meaning

Write concern decides how many nodes must acknowledge a write, trading durability for latency.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
14 High MongoDB Full Stack

How do you use explain() to fix a slow query?

Short take Full answer on next page

Simple meaning

explain shows whether MongoDB used an index, scanned how many documents, and what the winning plan was.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
19 High React Full Stack

How do you avoid stale closures in hooks?

Short take Full answer on next page

Simple meaning

Effects and callbacks capture the props and state from the render that created them.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Page 1 of 2 Next
Chat with us