Full Stack with Node.js Last-Minute Revision
Quickly revise the questions you picked. Add questions from the interview-questions lists with Save to → Last-Minute Revision.
30 quick revision notes for Full Stack with Node.js
- Node.js runs JavaScript on the V8 engine with a single-threaded event loop and non-blocking I/O handled by libuv.
- The libuv thread pool has 4 threads by default and handles file system, DNS lookup, crypto and zlib work.
- Event loop phases are timers, pending callbacks, poll, check and close callbacks, with microtasks drained between them.
- process.nextTick callbacks run before promise microtasks, and both run before timers or setImmediate callbacks.
- CPU-heavy work blocks the event loop; move it to worker_threads or a background job queue.
- Streams process data in chunks; stream.pipeline handles backpressure and error cleanup automatically.
- CommonJS uses require and module.exports, while ES Modules use import and export and need .mjs or type module.
- Commit package-lock.json and use npm ci in CI for reproducible installs.
- A caret ^1.2.3 allows minor and patch updates; a tilde ~1.2.3 allows only patch updates.
- Promise.all fails fast on the first rejection, while Promise.allSettled waits for every promise to settle.
- Async callbacks inside forEach are not awaited; use for...of or Promise.all with map instead.
- Express middleware has the signature (req, res, next), and error middleware has four parameters (err, req, res, next).
- Express 4 needs a wrapper or next(err) for async errors, while Express 5 forwards rejected promises automatically.
- express.json() has a default body limit of 100 KB and returns 413 for larger payloads.
- Use 201 for created resources, 204 for empty success, 401 for unauthenticated and 403 for forbidden requests.
- GET, PUT and DELETE are idempotent; POST is not, so payment APIs use idempotency keys.
- Cursor pagination is faster and more stable than offset pagination on large, frequently changing tables.
- A JWT has header, payload and signature; the payload is only Base64URL encoded, not encrypted.
- Keep access tokens short-lived and rotate long-lived refresh tokens stored in HttpOnly, Secure, SameSite cookies.
- Hash passwords with bcrypt cost 10 to 12 or Argon2id, never with plain SHA-256 or MD5.
- Prevent SQL injection with parameterised queries and NoSQL injection by validating and casting input types.
- Broken object level authorisation is fixed by scoping every query to the authenticated user or tenant.
- In MongoDB compound indexes, follow the ESR rule: equality fields first, then sort, then range fields.
- MongoDB multi-document transactions need a replica set or sharded cluster, such as an Atlas cluster.
- The N+1 query problem is solved with joins, eager loading, populate, batching with IN queries or DataLoader.
- Cache-aside means read from cache first, load from the database on a miss, then set the cache with a TTL.
- Set server.keepAliveTimeout higher than the load balancer idle timeout to avoid intermittent 502 errors.
- Liveness probes restart a stuck container, while readiness probes only stop traffic to an instance that is not ready.
- Graceful shutdown handles SIGTERM by stopping new connections, finishing in-flight requests and closing database pools.
- Monitor request rate, errors, p95 and p99 latency, plus event loop lag, heap usage and garbage collection time.
Night-before checklist
- Revise your saved questions on this page once, aloud.
- Read the quick notes and mark any you cannot explain in one line.
- Rehearse a two-minute self-introduction and two project stories.
- Keep CV, ID, laptop charger and interview link ready; sleep on time.
Frequently asked questions
How does Last-Minute Revision work?
On any question page, open Save to → Last-Minute Revision. Saved questions appear here with their answers, so the night before an interview you revise only what you found hard.
Is my list saved?
Yes, in this browser. Guests can save 5 questions; free accounts can save 20 for revision and 100 for the 7-day plan.
What should I revise last before a Full Stack with Node.js interview?
Your saved misses first, then the quick notes on this page, then one or two project stories. Avoid learning brand-new topics the night before.
Find questions to save
Company-wise Full Stack with Node.js questionsExperience-wise Full Stack with Node.js questionsRole-wise Full Stack with Node.js questionsCity-wise Full Stack with Node.js questionsMost asked Full Stack with Node.js questionsScenario-based questionsPractical / hands-on questionsHR & behavioural questionsFull Stack with Node.js mock interviewOnline assessment questionsTechnical round questionsManagerial round questionsFull Stack with Node.js topic sheets