Full Stack with Node.js Technical Round Questions & Answers
40 questions for the technical round stage — 3 easy, 29 medium, 8 hard.
About the technical round round
The technical round is the core of a Full Stack with Node.js interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
How do you use the Node.js cluster module to use all CPU cores?
Show answer
How does async/await work under the hood?
Show answer
How do you implement role-based access control (RBAC) in an API?
Show answer
Explain debounce and throttle and where they matter on the backend.
Show answer
Your Node.js API becomes unresponsive when one endpoint generates a large PDF report. What is happening and how do you fix it?
Show answer
What are XSS and CSRF and how do you protect a Node.js app from them?
Show answer
Implement cursor-based pagination for a products endpoint.
Show answer
What is SQL injection and how do you prevent it in Node.js?
Show answer
Two simultaneous requests both read a wallet balance, deduct money and save it, causing a wrong balance. How do you fix this race condition?
Show answer
What is the difference between PUT and PATCH?
Show answer
What is HATEOAS and is it used in real projects?
Show answer
Write a retry function with exponential backoff for a flaky API call.
Show answer
Write a simple Docker Compose file to run a Node API with MongoDB and Redis locally.
Show answer
How would you structure a large Express project?
Show answer
A test passes locally but fails randomly in CI. How do you approach this flaky test?
Show answer
Your API's p99 latency is high during peak hours even though CPU is only 40 percent. What could be wrong?
Show answer
How do you enable compression and why should you be careful with it?
Show answer
How do you find which function is using the most CPU in a Node.js service?
Show answer
How do you use a message queue to process background jobs in Node.js?
Show answer
What is a compound index and why does field order matter?
Show answer
Write a Dockerfile for a production Node.js API.
Show answer
How do you add a correlation ID to every log line for a request?
Show answer
Compare Prisma, Sequelize and TypeORM for SQL databases in Node.js.
Show answer
What is the difference between throwing an error and rejecting a promise inside an async function?
Show answer
How do you limit concurrency when calling an external API for 10,000 records?
Show answer
How do you prevent a cache stampede when a popular key expires?
Show answer
What is database normalisation and when would you denormalise?
Show answer
What are health check endpoints and what is the difference between liveness and readiness?
Show answer
How do you run integration tests against a real database in CI?
Show answer
How can you cancel an in-flight HTTP request in Node.js?
Show answer
A scheduled job processes orders with setInterval every minute, but sometimes runs overlap and duplicate emails are sent. How do you fix it?
Show answer
What are microtasks and macrotasks?
Show answer
Compare offset pagination and cursor pagination.
Show answer
When should you embed documents versus reference them in MongoDB?
Show answer
How do you implement graceful shutdown in a Node.js server?
Show answer
Your Express API needs to support multiple client apps with different rate limits. How would you design it?
Show answer
How do you implement rate limiting on a login endpoint?
Show answer
Write a basic GitHub Actions workflow that tests and builds a Node.js app.
Show answer
Write a centralised error handler with a custom AppError class.
Show answer
Frequently asked questions
What happens in the Full Stack with Node.js technical round round?
The technical round is the core of a Full Stack with Node.js interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
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.