Sign in to unlock

Get unlimited access to all questions and answers

checked

Get lifetime access

checked

Track progress

checked

Save time

đź‘‹

Hi! Please sign in to edit.

You will receive an email notification when your contribution is accepted.

The fastest way to prepare
for a tech interview

Check our curated list of full-stack, data structures & software architecture interview questions and answers for developers

* If it's yours original answer, you can add a link to your social media account or personal website.
Node.js interview questions

Node.js interview questions.

Only challenges
Topic progress: 0%
  • 1.

    What is npm?

    premium question
    completed

    Answer:

  • 2.

    What is Node.js?

    premium question
    completed

    Answer:

  • 3.

    What are the two types of API functions in Node.js?

    premium question
    completed

    Answer:

  • 4.

    What is an error-first callback?

    premium question
    completed

    Answer:

  • 5.

    What is Callback Hell?

    premium question
    completed

    Answer:

  • 6.

    What is control flow function?

    premium question
    completed

    Answer:

  • 7.

    What are Event Listeners?

    premium question
    completed

    Answer:

  • 8.

    If Node.js is single threaded then how it handles concurrency?

    premium question
    completed

    Answer:

  • 9.

    Could we run an external process with Node.js?

    premium question
    completed

    Answer:

  • 10.

    What are the key features of Node.js?

    premium question
    completed

    Answer:

  • 11.

    What is the difference between Nodejs, AJAX, and jQuery?

    premium question
    completed

    Answer:

  • 12.

    What are the core modules of Node.js?

    premium question
    completed

    Answer:

  • 13.

    What is global installation of dependencies?

    premium question
    completed

    Answer:

  • 14.

    What do you mean by Asynchronous API?

    premium question
    completed

    Answer:

  • 15.

    What are the benefits of using Node.js?

    premium question
    completed

    Answer:

  • 16.

    What is libuv?

    premium question
    completed

    Answer:

  • 17.

    What is V8?

    premium question
    completed

    Answer:

  • 18.

    What is the difference between returning a callback and just calling a callback?

    premium question
    completed

    Answer:

  • 19.

    List out the differences between AngularJS and NodeJS?

    premium question
    completed

    Answer:

  • 20.

    Is Node a single threaded application?

    premium question
    completed

    Answer:

  • 21.

    What's the difference between operational and programmer errors?

    premium question
    completed

    Answer:

  • 22.

    How you can monitor a file for modifications in Node.js ?

    premium question
    completed

    Answer:

  • 23.

    How to make Post request in Node.js?

    premium question
    completed

    Answer:

  • 24.

    What is Callback?

    premium question
    completed

    Answer:

  • 25.

    What is Chaining in Node?

    premium question
    completed

    Answer:

  • 26.

    What are the global objects of Node.js?

    premium question
    completed

    Answer:

  • 27.

    How to use Buffer in Node.js?

    premium question
    completed

    Answer:

  • 28.

    How can you avoid callback hells?

    premium question
    completed

    Answer:

  • 29.

    What is N-API in Node.js?

    premium question
    completed

    Answer:

  • 30.

    Are you familiar with differences between Node.js nodules and ES6 nodules?

    premium question
    completed

    Answer:

  • 31.

    What is the purpose of setTimeout function?

    premium question
    completed

    Answer:

  • 32.

    How do you debug Node.js applications?

    premium question
    completed

    Answer:

  • 33.

    What is purpose of Buffer class in Node?

    premium question
    completed

    Answer:

  • 34.

    How Node prevents blocking code?

    premium question
    completed

    Answer:

  • 35.

    What's the event loop?

    premium question
    completed

    Answer:

  • 36.

    How to avoid callback hell in Node.js?

    premium question
    completed

    Answer:

  • 37.

    Explain how does Node.js work?

    premium question
    completed

    Answer:

  • 38.

    How does Node.js handle child threads?

    premium question
    completed

    Answer:

  • 39.

    What is the relationship between Node.js and V8?

    premium question
    completed

    Answer:

  • 40.

    Explain the concept of Domain in Node.js

    premium question
    completed

    Answer:

  • 41.

    What is REPL in context of Node?

    premium question
    completed

    Answer:

  • 42.

    What is stream and what are types of streams available in Node.js?

    premium question
    completed

    Answer:

  • 43.

    What are streams?

    premium question
    completed

    Answer:

  • 44.

    What is Event Loop?

    premium question
    completed

    Answer:

  • 45.

    What is Event Emmitter?

    premium question
    completed

    Answer:

  • 46.

    What is the preferred method of resolving unhandled exceptions in Node.js?

    premium question
    completed

    Answer:

  • 47.

    What is a blocking code?

    premium question
    completed

    Answer:

  • 48.

    When should we use Node.js?

    premium question
    completed

    Answer:

  • 49.

    When should I use EventEmitter?

    premium question
    completed

    Answer:

  • 50.

    What is difference between synchronous and asynchronous method of fs module?

    premium question
    completed

    Answer:

  • 51.

    What are the use cases for the Node.js "vm" core module?

    premium question
    completed

    Answer:

  • 52.

    Rewrite promise-based Node.js applications to Async/Await

    premium question
    completed

    Answer:

  • 53.

    How to gracefully Shutdown Node.js Server?

    premium question
    completed

    Answer:

  • 54.

    Why to use Buffers instead of binary strings to handle binary data ?

    premium question
    completed

    Answer:

  • 55.

    How can you listen on port 80 with Node?

    premium question
    completed

    Answer:

  • 56.

    How the V8 engine works?

    premium question
    completed

    Answer:

  • 57.

    Does Node.js support multi-core platforms? And is it capable of utilizing all the cores?

    premium question
    completed

    Answer:

  • 58.

    Is it possible to use "Class" in Node.js?

    premium question
    completed

    Answer:

  • 59.

    What is LTS releases of Node.js why should you care?

    premium question
    completed

    Answer:

  • 60.

    Is Node.js entirely based on a single-thread?

    premium question
    completed

    Answer:

  • 61.

    When to not use Node.js?

    premium question
    completed

    Answer:

  • 62.

    What is Piping in Node?

    premium question
    completed

    Answer:

  • 63.

    What is the purpose of __filename variable?

    premium question
    completed

    Answer:

  • 64.

    What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?

    premium question
    completed

    Answer:

  • 65.

    How would you handle errors for async code in Node.js?

    premium question
    completed

    Answer:

  • 66.

    Can Node.js work without V8?

    premium question
    completed

    Answer:

  • 67.

    What are async functions in Node? Provide some examples.

    premium question
    completed

    Answer:

  • 68.

    What are the timing features of Node.js?

    premium question
    completed

    Answer:

  • 69.

    Explain usage of NODE_ENV

    premium question
    completed

    Answer:

  • 70.

    What's a stub? Name a use case.

    premium question
    completed

    Answer:

  • 71.

    Name some of the events fired by streams.

    premium question
    completed

    Answer:

  • 72.

    Is Node.js entirely based on a single-thread?

    premium question
    completed

    Answer:

  • 73.

    What tools can be used to assure consistent code style?

    premium question
    completed

    Answer:

  • 74.

    How does the cluster module work? What’s the difference between it and a load balancer?

    premium question
    completed

    Answer:

  • 75.

    How does libuv work under the hood?

    premium question
    completed

    Answer:

  • 76.

    Explain what is Reactor Pattern in Node.js?

    premium question
    completed

    Answer:

  • 77.

    Can Node.js use other engines than V8?

    premium question
    completed

    Answer:

  • 78.

    Why Node.js devs tend to lean towards the Module Requiring vs Dependency Injection?

    premium question
    completed

    Answer:

  • 79.

    How to solve "Process out of Memory Exception" in Node.js ?

    premium question
    completed

    Answer:

  • 80.

    How would you scale Node application?

    premium question
    completed

    Answer:

  • 81.

    What is the difference between process.nextTick() and setImmediate() ?

    premium question
    completed

    Answer:

  • 82.

    Explain some Error Handling approaches in Node.js you know about. Which one will you use?

    premium question
    completed

    Answer:

  • 83.

    What is the purpose of using hidden classes in V8?

    premium question
    completed

    Answer:

  • 84.

    Why do we need C++ Addons in Node.js?

    premium question
    completed

    Answer:

  • 85.

    Why should you separate Express 'app' and 'server'?

    premium question
    completed

    Answer:

  • 86.

    What is V8 Templates?

    premium question
    completed

    Answer:

  • 87.

    How V8 compiles JavaScript code?

    premium question
    completed

    Answer:

  • 88.

    How many threads does Node actually create?

    premium question
    completed

    Answer:

  • 89.

    Provide some example of config file separation for dev and prod environments

    premium question
    completed

    Answer:

  • 90.

    How do you convert an existing callback API to promises?

    premium question
    completed

    Answer:

  • 91.

    Consider following code snippet

    premium question
    completed

    Answer:

  • 92.

    Explain the result of this code execution

    premium question
    completed

    Answer:

  • 93.

    Rewrite the code sample without try/catch block

    premium question
    completed

    Answer:

  • 94.

    What will happen when that code will be executed?

    premium question
    completed

    Answer:

  • 95.

    Explain the result of this code execution

    premium question
    completed

    Answer:

One tip that got me hired by Google, Microsoft, and Stripe

I've worked for Microsoft, Google, Stripe, and received offers from many other companies. One thing I learned when I was interviewing myself is that standard interview tips are woefully inadequate.

Reverse Tech Interview: Questions to Stump an Interviewer

Few people want to get into an uncomfortable environment or an unprofitable company with no prospects. If you’re wondering how to get a real feel for a company during an interview, you’re welcome. I’ll give a list of questions that interviewers don’t usually expect...

How to become a programmer, move to the US, and get a dream job

Are you curious about what you need to do to earn more than $15.000 a month, drive a Tesla, live in sunny California, and work at Google, Apple, Facebook, or Amazon?

11 Reactive Systems interview questions and answers for software engineers

Reactive systems are an architectural style that allows multiple individual applications to blend into one unit, reacting to their environment, while staying aware of each other. Here is a list of coding interview questions on Reactive Systems to help you get ready for your next data struc...

. Reactive Systems
34 Microservices interview questions and answers for software engineers

Microservice architecture – a variant of the service-oriented architecture structural style – arranges an application as a collection of loosely coupled services. In a microservices architecture, services are fine-grained and the protocols are lightweight. Here is a list of coding intervie...

. Microservices
7 Layering & Middleware interview questions for developers

Middleware in the context of distributed applications is software that provides services beyond those provided by the operating system to enable the various components of a distributed system to communicate and manage data. Middleware supports and simplifies complex distributed application...

. Layering & Middleware
55 Docker interview questions and answers for software engineers

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Here is a list of coding interview questions on Docker to help you get ready for your next data structures interview in 2021.

. Docker
23 Databases interview questions and answers for software engineers

A database is an organized collection of data, generally stored and accessed electronically from a computer system. Where databases are more complex they are often developed using formal design and modeling techniques. Here is a list of coding interview questions on Databases to help you g...

. Databases
21 Concurrency interview questions and answers for software engineers

In computer science, concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. Here is a list of coding interview questions on Concurrency to help you get ready for your n...

. Concurrency
13 CAP Theorem interview questions and answers for software engineers

In theoretical computer science, the CAP theorem, also named Brewer's theorem after computer scientist Eric Brewer, states that it is impossible for a distributed data store to simultaneously provide more than two out of the following three guarantees: Consistency: Every read receives the ...

. CAP Theorem
Load more posts

Features

folder icon

Access all answers

Get the inside track on what to expect in your next tech interview. We offer you a collection of high quality technical interview questions to help you prepare for your next coding interview.

graph icon

Track progress

A smart interface helps you track your progress and focus on the topics you need. You can search through questions or sort them by difficulty or type.

clock icon

Save time

Save tens of hours searching for information on hundreds of low-quality sites designed to drive traffic and make money from advertising.

Land a six-figure job at one of the top companies.

amazon logo facebook logo google logo microsoft logo uber logo
Prepare for a technical interview

Get hired with our
tech interview questions & answers