Full Stack with Node.js Online Assessment Questions & Answers
40 questions for the online assessment stage — 18 easy, 22 medium.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Full Stack with Node.js concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
How do you handle file uploads in Express?
Show answer
Implement cursor-based pagination for a products endpoint.
Show answer
What is the difference between REST and GraphQL?
Show answer
What is the output order of this code: console.log('A'); setTimeout(() => console.log('B'), 0); Promise.resolve().then(() => console.log('C')); console.log('D');
Show answer
How does the this keyword behave in arrow functions compared to regular functions?
Show answer
Explain ACID properties of a database transaction.
Show answer
Write a Jest unit test for a function that calculates order total with GST.
Show answer
Write a basic GitHub Actions workflow that tests and builds a Node.js app.
Show answer
What is an index and how does it improve query performance?
Show answer
What is Express.js and why is it widely used?
Show answer
How do you implement rate limiting on a login endpoint?
Show answer
What is the N+1 query problem and how do you fix it?
Show answer
What is SQL injection and how do you prevent it in Node.js?
Show answer
What is the difference between SQL and NoSQL databases?
Show answer
How do you enable compression and why should you be careful with it?
Show answer
How do access tokens and refresh tokens work together?
Show answer
Compare session-based authentication with JWT-based authentication.
Show answer
Write a simple Docker Compose file to run a Node API with MongoDB and Redis locally.
Show answer
What is a closure and how is it used in Node.js code?
Show answer
Write JWT authentication middleware for Express.
Show answer
What is a Promise and what are its states?
Show answer
How do you run async tasks in parallel versus in sequence?
Show answer
Write a simple custom EventEmitter usage for an order service.
Show answer
How can you cancel an in-flight HTTP request in Node.js?
Show answer
What is Mongoose and why use it with MongoDB?
Show answer
How do you mock a database or external service in Jest?
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 do you enable CORS in an Express app and why is it needed?
Show answer
What is a REST API and what are its key constraints?
Show answer
Write a simple request logging middleware that records response time.
Show answer
How would you test code that depends on the current time, like an expiring coupon?
Show answer
Explain the main HTTP methods and which are idempotent.
Show answer
How does error-handling middleware work in Express?
Show answer
How do you manage database schema migrations in a Node.js project?
Show answer
What is the difference between process.nextTick and setImmediate?
Show answer
What are XSS and CSRF and how do you protect a Node.js app from them?
Show answer
How do you manage secrets such as database passwords and API keys in a Node.js app?
Show answer
Explain semantic versioning and the meaning of ^ and ~ in package.json.
Show answer
Frequently asked questions
What happens in the Full Stack with Node.js online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Full Stack with Node.js concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
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.