Wednesday , November 18 2026
Breaking News

Node.js Development Professional Certification Exam Answers 2026 (All 100 Questions)

Node.js Development Professional Certification exam answers 2026: This page lists all 100 questions of the official Node.js Development Professional Certification exam by Itronix Solutions, each with its four answer options and the correct answer highlighted in green. Use it to revise every topic before you attempt the test and earn your verifiable certificate.

About this certification: Assess your Node.js skills: runtime basics, modules, npm, Express, event loop, file system, streams and REST APIs.

Certification Node.js Development Professional Certification
Provider Itronix Solutions
Category Programming & Development
Total questions 100 multiple-choice questions
Marks 1 mark per question (100 marks)
Passing score 80% (80 out of 100)
Retake Available if you do not pass
Certificate Verifiable online certificate

Take the exam: Node.js Development Professional Certification on Itronix Solutions. See every other Itronix exam in our complete list of Itronix certification answers.

Node.js Development Exam Questions and Answers

Questions 1 to 25

1. Node.js is:

A. A JavaScript runtime built on Chrome’s V8 engine ✔
B. A database
C. A CSS framework
D. A browser

Correct answer: A. A JavaScript runtime built on Chrome’s V8 engine

2. Which command initializes a new Node.js project with package.json?

A. npm build
B. npm start
C. npm init ✔
D. node new

Correct answer: C. npm init

3. Which file lists a project’s dependencies?

A. config.xml
B. package.json ✔
C. index.html
D. style.css

Correct answer: B. package.json

4. Which module is used to work with the file system?

A. fs ✔
B. os only
C. http
D. path only

Correct answer: A. fs

5. Express.js is a:

A. Testing tool only
B. Text editor
C. Web application framework for Node.js ✔
D. Database

Correct answer: C. Web application framework for Node.js

6. Node.js handles many connections efficiently mainly because of its:

A. Use of Java
B. Multi-threaded blocking I/O
C. Event-driven, non-blocking I/O ✔
D. Large memory usage

Correct answer: C. Event-driven, non-blocking I/O

7. Which object is used to export members from a CommonJS module?

A. export.module
B. window.exports
C. module.exports ✔
D. require.exports

Correct answer: C. module.exports

8. Which function imports a CommonJS module?

A. require() ✔
B. import()
C. load()
D. include()

Correct answer: A. require()

9. In Express, which method handles a GET request?

A. app.receive()
B. app.fetch()
C. app.get() ✔
D. app.read()

Correct answer: C. app.get()

10. What does npm stand for?

A. New Project Maker
B. Node Package Manager ✔
C. Node Program Module
D. Network Process Monitor

Correct answer: B. Node Package Manager

11. Which folder stores installed npm packages?

A. packages
B. node_modules ✔
C. bin
D. lib

Correct answer: B. node_modules

12. Middleware in Express is:

A. A function that runs during the request-response cycle ✔
B. A server hardware part
C. A database table
D. A CSS file

Correct answer: A. A function that runs during the request-response cycle

13. process.env is used to access:

A. Environment variables ✔
B. CSS styles
C. HTML elements
D. Browser cookies only

Correct answer: A. Environment variables

14. Which built-in module creates an HTTP server?

A. url
B. http ✔
C. events
D. crypto

Correct answer: B. http

15. The event loop in Node.js is responsible for:

A. Storing data permanently
B. Styling pages
C. Compiling C++ code
D. Handling asynchronous callbacks ✔

Correct answer: D. Handling asynchronous callbacks

16. Which HTTP status code means Not Found?

A. 200
B. 301
C. 500
D. 404 ✔

Correct answer: D. 404

17. Streams in Node.js are useful for:

A. Processing data piece by piece, like large files ✔
B. Writing CSS
C. Creating loops
D. Changing colors

Correct answer: A. Processing data piece by piece, like large files

18. Which command runs a file named app.js?

A. start app.js
B. run app.js
C. npm app.js
D. node app.js ✔

Correct answer: D. node app.js

19. res.json() in Express sends:

A. An HTML file only
B. A redirect
C. A JSON response ✔
D. An image

Correct answer: C. A JSON response

20. Which tool automatically restarts a Node.js app on file changes during development?

A. babel
B. eslint
C. nodemon ✔
D. webpack only

Correct answer: C. nodemon

21. Node.js is:

A. A database
B. A JavaScript runtime built on Chrome’s V8 engine ✔
C. A CSS framework
D. A browser

Correct answer: B. A JavaScript runtime built on Chrome’s V8 engine

22. Node.js was created by:

A. Brendan Eich
B. Ryan Dahl ✔
C. Linus Torvalds
D. Guido van Rossum

Correct answer: B. Ryan Dahl

23. Node.js is well suited for:

A. I/O-heavy, real-time and networked applications ✔
B. Heavy GPU rendering only
C. Desktop spreadsheets
D. Printing documents

Correct answer: A. I/O-heavy, real-time and networked applications

24. Node.js uses which model for handling requests?

A. Single-threaded, event-driven, non-blocking I/O ✔
B. Multi-threaded blocking per request only
C. Polling only
D. Batch processing only

Correct answer: A. Single-threaded, event-driven, non-blocking I/O

25. The event loop in Node.js:

A. Stores data
B. Draws UI
C. Compiles code
D. Handles asynchronous callbacks after operations complete ✔

Correct answer: D. Handles asynchronous callbacks after operations complete

Questions 26 to 50

26. libuv provides Node.js with:

A. UI components
B. Database storage
C. The event loop and asynchronous I/O ✔
D. CSS rendering

Correct answer: C. The event loop and asynchronous I/O

27. npm stands for:

A. New Project Maker
B. Node Package Manager ✔
C. Node Program Monitor
D. Network Protocol Module

Correct answer: B. Node Package Manager

28. package.json contains:

A. Only source code
B. Project metadata, scripts and dependencies ✔
C. Only images
D. Database rows

Correct answer: B. Project metadata, scripts and dependencies

29. npm install adds packages to:

A. The browser cache
B. /etc
C. /bin only
D. node_modules ✔

Correct answer: D. node_modules

30. devDependencies are:

A. Global system packages
B. Packages needed only during development ✔
C. Database drivers only
D. Packages required in production

Correct answer: B. Packages needed only during development

31. package-lock.json ensures:

A. Smaller apps
B. No dependencies
C. Consistent, exact dependency versions across installs ✔
D. Faster code

Correct answer: C. Consistent, exact dependency versions across installs

32. npx is used to:

A. Publish websites
B. Edit JSON
C. Execute package binaries without installing them globally ✔
D. Delete packages

Correct answer: C. Execute package binaries without installing them globally

33. CommonJS modules use:

A. using
B. require() and module.exports ✔
C. import and export only
D. include

Correct answer: B. require() and module.exports

34. ES modules in Node use:

A. import and export ✔
B. require only
C. include
D. load

Correct answer: A. import and export

35. The fs module is used for:

A. Timers only
B. File system operations ✔
C. Cryptography only
D. HTTP servers

Correct answer: B. File system operations

36. The http module is used to:

A. Encrypt passwords
B. Manage databases
C. Create HTTP servers and clients ✔
D. Read files only

Correct answer: C. Create HTTP servers and clients

37. The path module helps to:

A. Create servers
B. Work with file and directory paths ✔
C. Hash data
D. Send email

Correct answer: B. Work with file and directory paths

38. The os module provides:

A. Templating
B. Database access
C. HTTP routing
D. Operating system information ✔

Correct answer: D. Operating system information

39. The events module provides:

A. The EventEmitter class ✔
B. HTTP parsing
C. File reading
D. Encryption

Correct answer: A. The EventEmitter class

40. process.env is used to access:

A. Environment variables ✔
B. Files
C. Database tables
D. HTTP headers

Correct answer: A. Environment variables

41. process.argv contains:

A. Cookies
B. Command-line arguments ✔
C. Request bodies
D. Environment variables

Correct answer: B. Command-line arguments

42. __dirname gives:

A. The root of the disk
B. The npm cache
C. The home directory
D. The directory of the current module (CommonJS) ✔

Correct answer: D. The directory of the current module (CommonJS)

43. Callbacks in Node usually follow the pattern:

A. Error-first (err, result) ✔
B. Only promises
C. Result-first
D. No arguments

Correct answer: A. Error-first (err, result)

44. Callback hell refers to:

A. Deeply nested callbacks that are hard to read ✔
B. A Node crash
C. A memory leak
D. A security issue only

Correct answer: A. Deeply nested callbacks that are hard to read

45. Promises and async/await help to:

A. Write cleaner asynchronous code ✔
B. Make code synchronous always
C. Remove the event loop
D. Create threads

Correct answer: A. Write cleaner asynchronous code

46. fs.readFileSync() is:

A. A blocking (synchronous) file read ✔
B. A write operation
C. A stream
D. A non-blocking read

Correct answer: A. A blocking (synchronous) file read

47. fs.promises.readFile() returns:

A. A stream
B. A Promise ✔
C. Nothing
D. A buffer synchronously

Correct answer: B. A Promise

48. Streams in Node.js are used to:

A. Process data piece by piece efficiently ✔
B. Load entire files into memory always
C. Draw graphics
D. Create databases

Correct answer: A. Process data piece by piece efficiently

49. A Buffer in Node.js represents:

A. Raw binary data ✔
B. A JSON object
C. A database row
D. A string only

Correct answer: A. Raw binary data

50. Express.js is:

A. A database
B. A minimal web framework for Node.js ✔
C. A test runner
D. A front-end library

Correct answer: B. A minimal web framework for Node.js

Questions 51 to 75

51. In Express, app.get() defines:

A. A database query
B. A route handler for GET requests ✔
C. A static file
D. A middleware only for errors

Correct answer: B. A route handler for GET requests

52. Middleware in Express is:

A. A CSS file
B. A database table
C. A template only
D. A function that has access to req, res and next ✔

Correct answer: D. A function that has access to req, res and next

53. next() in Express middleware:

A. Sends a response
B. Passes control to the next middleware ✔
C. Restarts the app
D. Ends the server

Correct answer: B. Passes control to the next middleware

54. express.json() middleware:

A. Serves static files
B. Compresses responses
C. Parses JSON request bodies ✔
D. Logs requests

Correct answer: C. Parses JSON request bodies

55. express.static() is used to:

A. Handle errors
B. Connect to databases
C. Serve static files like images and CSS ✔
D. Parse JSON

Correct answer: C. Serve static files like images and CSS

56. req.params contains:

A. Route parameters from the URL path ✔
B. Headers only
C. Request body
D. Query string values only

Correct answer: A. Route parameters from the URL path

57. req.query contains:

A. Cookies
B. Route parameters
C. Query string parameters ✔
D. The body

Correct answer: C. Query string parameters

58. res.json() sends:

A. A JSON response ✔
B. A file download
C. An HTML file
D. A redirect only

Correct answer: A. A JSON response

59. res.status(404) sets:

A. The content type
B. The request method
C. The URL
D. The HTTP status code of the response ✔

Correct answer: D. The HTTP status code of the response

60. Error-handling middleware in Express has:

A. No arguments
B. Only res
C. Two arguments
D. Four arguments (err, req, res, next) ✔

Correct answer: D. Four arguments (err, req, res, next)

61. REST APIs use HTTP methods such as:

A. READ and WRITE only
B. SELECT and INSERT
C. OPEN, CLOSE and SAVE
D. GET, POST, PUT, PATCH and DELETE ✔

Correct answer: D. GET, POST, PUT, PATCH and DELETE

62. POST requests are typically used to:

A. Delete resources
B. Create new resources ✔
C. Read resources
D. Fetch static files

Correct answer: B. Create new resources

63. PUT or PATCH requests are used to:

A. Read data only
B. Update resources ✔
C. Delete files only
D. Create servers

Correct answer: B. Update resources

64. HTTP status 201 means:

A. Not Found
B. OK
C. Unauthorised
D. Created ✔

Correct answer: D. Created

65. HTTP status 401 means:

A. Unauthorised (authentication required) ✔
B. Not found
C. Forbidden
D. Created

Correct answer: A. Unauthorised (authentication required)

66. HTTP status 403 means:

A. Unauthorised
B. Forbidden ✔
C. OK
D. Created

Correct answer: B. Forbidden

67. CORS middleware is needed when:

A. Reading local files
B. Browsers make requests from a different origin ✔
C. Using the CLI
D. Writing tests

Correct answer: B. Browsers make requests from a different origin

68. MongoDB is commonly used with Node via:

A. Mongoose ODM ✔
B. JDBC
C. Entity Framework
D. Hibernate

Correct answer: A. Mongoose ODM

69. Mongoose schemas define:

A. CSS styles
B. Environment variables
C. HTTP routes
D. The structure of documents ✔

Correct answer: D. The structure of documents

70. SQL databases can be accessed in Node using:

A. Only http
B. Libraries like pg, mysql2 or ORMs like Sequelize and Prisma ✔
C. Only Mongoose
D. Only fs

Correct answer: B. Libraries like pg, mysql2 or ORMs like Sequelize and Prisma

71. Environment variables are often loaded from a .env file using:

A. lodash
B. fs-extra
C. dotenv ✔
D. express

Correct answer: C. dotenv

72. Secrets such as database passwords should be:

A. Committed to Git
B. Stored in environment variables or secret managers ✔
C. Printed in logs
D. Sent to clients

Correct answer: B. Stored in environment variables or secret managers

73. JWT stands for:

A. Java Web Toolkit
B. JSON Web Token ✔
C. JSON Website Type
D. JavaScript Web Template

Correct answer: B. JSON Web Token

74. JWTs are commonly used for:

A. Styling pages
B. File compression
C. Stateless authentication ✔
D. Database indexing

Correct answer: C. Stateless authentication

75. Passwords should be stored using:

A. A slow hashing algorithm like bcrypt ✔
B. Reversible encryption only
C. Plain text
D. Base64 encoding

Correct answer: A. A slow hashing algorithm like bcrypt

Questions 76 to 100

76. Helmet middleware helps to:

A. Parse JSON
B. Set security-related HTTP headers ✔
C. Serve files
D. Connect databases

Correct answer: B. Set security-related HTTP headers

77. Rate limiting helps protect against:

A. Typos
B. Large images
C. Slow CSS
D. Brute-force and abuse ✔

Correct answer: D. Brute-force and abuse

78. Input validation libraries like Joi or Zod help to:

A. Deploy apps
B. Validate request data ✔
C. Run tests
D. Style pages

Correct answer: B. Validate request data

79. nodemon is used during development to:

A. Deploy to production
B. Test APIs
C. Bundle code
D. Automatically restart the server on file changes ✔

Correct answer: D. Automatically restart the server on file changes

80. PM2 is used to:

A. Write tests
B. Manage and keep Node processes running in production ✔
C. Style apps
D. Design databases

Correct answer: B. Manage and keep Node processes running in production

81. The cluster module allows:

A. Encrypting data
B. Managing files
C. Creating CSS
D. Running multiple Node processes to use multiple CPU cores ✔

Correct answer: D. Running multiple Node processes to use multiple CPU cores

82. Worker threads are used for:

A. Routing
B. Serving static files
C. Parsing JSON only
D. CPU-intensive tasks without blocking the event loop ✔

Correct answer: D. CPU-intensive tasks without blocking the event loop

83. Blocking the event loop causes:

A. Faster responses
B. The whole server to become unresponsive ✔
C. Better caching
D. More threads

Correct answer: B. The whole server to become unresponsive

84. WebSockets enable:

A. File storage
B. Real-time two-way communication ✔
C. CSS animations
D. One-way HTTP only

Correct answer: B. Real-time two-way communication

85. Socket.IO is used for:

A. Real-time event-based communication ✔
B. Database ORM
C. Styling
D. Testing

Correct answer: A. Real-time event-based communication

86. Jest and Mocha are used for:

A. Routing
B. Database hosting
C. Compression
D. Testing Node.js code ✔

Correct answer: D. Testing Node.js code

87. Supertest is used to:

A. Test HTTP endpoints ✔
B. Style pages
C. Store data
D. Manage processes

Correct answer: A. Test HTTP endpoints

88. Logging libraries like Winston or Pino help to:

A. Encrypt data
B. Record application logs in structured ways ✔
C. Route requests
D. Compile code

Correct answer: B. Record application logs in structured ways

89. Semantic versioning in package.json like ^1.2.3 allows:

A. No updates
B. Any major version
C. Compatible minor and patch updates ✔
D. Only exact version

Correct answer: C. Compatible minor and patch updates

90. Node.js LTS versions are:

A. Beta only
B. Long-term support releases recommended for production ✔
C. Experimental releases
D. Deprecated versions

Correct answer: B. Long-term support releases recommended for production

91. Dockerising a Node app helps with:

A. Consistent deployment across environments ✔
B. Writing CSS
C. Database design
D. UI design

Correct answer: A. Consistent deployment across environments

92. Microservices built with Node often communicate via:

A. Only USB
B. Only shared files
C. Only email
D. HTTP APIs or message queues ✔

Correct answer: D. HTTP APIs or message queues

93. GraphQL can be served in Node using:

A. Apollo Server or similar libraries ✔
B. Only fs
C. Only Express static
D. Only path

Correct answer: A. Apollo Server or similar libraries

94. Template engines like EJS or Pug are used to:

A. Render dynamic HTML on the server ✔
B. Compress files
C. Run tests
D. Store data

Correct answer: A. Render dynamic HTML on the server

95. setImmediate() schedules a callback:

A. Synchronously
B. Before all I/O always
C. Never
D. In the check phase of the event loop ✔

Correct answer: D. In the check phase of the event loop

96. process.nextTick() callbacks run:

A. Never
B. After all timers
C. Before other queued callbacks in the current phase ✔
D. Only at exit

Correct answer: C. Before other queued callbacks in the current phase

97. Graceful shutdown means:

A. Killing the process instantly
B. Deleting logs
C. Ignoring signals
D. Closing connections and finishing requests before exiting ✔

Correct answer: D. Closing connections and finishing requests before exiting

98. The main strength of Node.js is:

A. Replacing all databases
B. Heavy number crunching on one thread
C. Designing UIs
D. Efficient handling of many concurrent I/O operations with JavaScript ✔

Correct answer: D. Efficient handling of many concurrent I/O operations with JavaScript

99. The V8 engine compiles JavaScript into:

A. SQL
B. Java bytecode
C. HTML
D. Machine code for fast execution ✔

Correct answer: D. Machine code for fast execution

100. A REPL in Node lets you:

A. Run JavaScript interactively in the terminal ✔
B. Compile C code
C. Edit images
D. Deploy apps

Correct answer: A. Run JavaScript interactively in the terminal

How to Pass the Node.js Development Exam

  • Read every question carefully; most options look similar, so look for the most precise answer.
  • Revise the questions above topic by topic rather than memorising letters, because option order can change in the live test.
  • You need 80 correct answers out of 100 to pass, so aim to understand at least 85 to stay safe.
  • If you do not clear it on the first attempt, review the questions you missed and use the retake option.

Frequently Asked Questions

How many questions are in the Node.js Development Professional Certification exam?

The exam has 100 multiple-choice questions, each worth 1 mark.

What is the passing score for the Node.js Development Professional Certification?

You need at least 80% (80 out of 100) to pass and receive the certificate.

Can I retake the Node.js Development Professional Certification exam?

Yes. If you score below 80%, you can retry the test after reviewing the topics.

Is the Itronix certificate verifiable?

Yes. Every certificate issued by Itronix Solutions has a unique ID that can be checked on the Itronix verify-certificate page.

More Programming & Development Certification Answers

Disclaimer: These answers are provided for learning and revision. Questions and answers are checked regularly; if you find a mistake, let us know in the comments.

About Priya Dogra

Priya Dogra runs priyadogra.com, where she shares free certification courses, internships, jobs, scholarships and exam preparation guides for Indian students and freshers. Follow her on YouTube, LinkedIn and Instagram for the latest opportunities.

Check Also

Unix/ Linux Certification exam answers 2026

Unix/ Linux Certification Exam Answers 2026 (All 100 Questions)

All 100 Unix/ Linux Certification exam questions with correct answers highlighted - updated 2026.

Leave a Reply

Your email address will not be published. Required fields are marked *