Full Stack with Node.js Rapid-Fire Questions & Answers
50 questions for the rapid-fire stage — 33 easy, 17 medium.
About the rapid-fire round
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your Full Stack with Node.js basics. Aim to answer each in under 20 seconds.
Tips for the rapid-fire round
- Answer in one or two sentences, then stop.
- If you don't know, say so quickly and move on; don't guess at length.
- Revise these the morning of the interview.
- Practise with a friend who reads them in random order.
Where should a web app store tokens: localStorage or cookies?
Show answer
What is the difference between app.use and app.get?
Show answer
What is a closure and how is it used in Node.js code?
Show answer
What is the purpose of the util.promisify function?
Show answer
Explain the main HTTP methods and which are idempotent.
Show answer
Explain semantic versioning and the meaning of ^ and ~ in package.json.
Show answer
What are the common strategies for API versioning?
Show answer
What is package-lock.json and why should it be committed?
Show answer
Compare offset pagination and cursor pagination.
Show answer
What is a compound index and why does field order matter?
Show answer
What happens if you forget to await a promise inside a try/catch?
Show answer
What is a JWT and what are its three parts?
Show answer
What is the difference between process.nextTick and setImmediate?
Show answer
How do you design good REST endpoint URLs?
Show answer
What is package.json and what is the difference between dependencies and devDependencies?
Show answer
What is a callback and what is callback hell?
Show answer
How do you scale a Node.js application horizontally?
Show answer
What is Redis and how is it used with Node.js backends?
Show answer
What is the difference between authentication and authorisation?
Show answer
What is an index and how does it improve query performance?
Show answer
What is the EventEmitter and how do you use it?
Show answer
What is the difference between REST and GraphQL?
Show answer
What is code coverage and is 100 percent coverage a good goal?
Show answer
Why put Nginx in front of a Node.js application?
Show answer
What is SQL injection and how do you prevent it in Node.js?
Show answer
When would you choose NestJS or Fastify over Express?
Show answer
What is the Buffer class in Node.js?
Show answer
What is a REST API and what are its key constraints?
Show answer
What is Express.js and why is it widely used?
Show answer
What is the difference between res.send, res.json and res.end?
Show answer
Why is using async callbacks inside forEach a common bug?
Show answer
What is the difference between var, let and const?
Show answer
How do you design a consistent error response format for an API?
Show answer
What are microtasks and macrotasks?
Show answer
Which HTTP status codes should a REST API commonly return?
Show answer
What are common ways to deploy a Node.js API in 2026?
Show answer
How does HTTP caching with ETag and Cache-Control work for APIs?
Show answer
What are streams in Node.js and what types exist?
Show answer
How should passwords be stored in a database?
Show answer
What is the difference between throwing an error and rejecting a promise inside an async function?
Show answer
When should you embed documents versus reference them in MongoDB?
Show answer
How do you manage secrets such as database passwords and API keys in a Node.js app?
Show answer
What is the difference between unit, integration and end-to-end tests for a Node.js API?
Show answer
What is PM2 and when do you need it?
Show answer
What does helmet do in an Express application?
Show answer
Why is structured logging important and which libraries are used?
Show answer
How do you enable CORS in an Express app and why is it needed?
Show answer
Explain ACID properties of a database transaction.
Show answer
How does the this keyword behave in arrow functions compared to regular functions?
Show answer
Frequently asked questions
What happens in the Full Stack with Node.js rapid-fire round?
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your Full Stack with Node.js basics. Aim to answer each in under 20 seconds.
How do I clear the rapid-fire round?
Answer in one or two sentences, then stop. If you don't know, say so quickly and move on; don't guess at length. Revise these the morning of the interview.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.