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.

64 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
68 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
70 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
71 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
76 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
80 Easy Node.js Full Stack

Why is Node.js good for APIs?

Short take Full answer on next page

Simple meaning

Node handles many concurrent I/O waits on one thread with a non-blocking event loop.

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

Read full answer Example · Mistake · Say this
Prev Page 4 of 5 Next
Chat with us