Sector file // nodejs
NODE.JSDECODED.
Event loop, streams & APIs
Easy
5 questionsWhat does the Node.js --watch flag do and how does it replace nodemon?
Backend ยท 954 views ยท nodejs, tooling, dx
What are the main security risks of using the 'eval()' function in Node.js?
Phone Screen ยท 811 views ยท security, best-practices, eval
How do you run Node.js processes as a background service?
Phone Screen ยท 691 views ยท pm2, deployment, devops
What is the purpose of the util.promisify function in Node.js?
Phone Screen ยท 452 views ยท utilities, promises, async
What is the role of the V8 JavaScript engine in Node.js?
Phone Screen ยท 331 views ยท v8, javascript, runtime
Medium
22 questionsHow does the Node.js event loop work?
DSA ยท Amazon ยท 2.9k views ยท node, event-loop, async
How do you mock modules, timers, and network calls in Node.js tests?
Backend ยท 1.2k views ยท nodejs, testing, mocking
Explain the concept of 'event-driven architecture' in Node.js.
System Design ยท 1.2k views ยท event-driven, architecture, event loop
What is a background job queue (BullMQ/Redis) and when do you need one?
System Design ยท 1.1k views ยท nodejs, queue, bullmq
What is Helmet and which HTTP security headers should a Node.js API set?
Backend ยท 947 views ยท nodejs, security, helmet
What is the difference between "type": "module", .mjs, and .cjs?
Backend ยท 931 views ยท nodejs, esm, commonjs
How do you design liveness and readiness health-check endpoints?
Backend ยท 840 views ยท nodejs, ops, health-check
How do you design REST API versioning in a Node.js service?
System Design ยท 801 views ยท api-design, versioning, rest
Hard
9 questionsHow do you handle circular dependencies in Node.js?
Low-Level Design ยท 1.1k views ยท modules, commonjs, architecture
How does CommonJS `require()` an ES Module in modern Node.js?
Backend ยท 1.1k views ยท commonjs, esm, require
What is diagnostics_channel and when would you use it?
Backend ยท 1.0k views ยท nodejs, observability, diagnostics
How do you implement microservices communication in Node.js?
System Design ยท 836 views ยท microservices, grpc, architecture
What is the 'vm' (Virtual Machine) module and when would you use it?
Low-Level Design ยท 404 views ยท vm, security, v8
How do you secure your Node.js API endpoints?
System Design ยท 384 views ยท security, api, authentication
How do you guarantee idempotency in a queue consumer?
System Design ยท 364 views ยท nodejs, queue, idempotency
What is prototype pollution and how do you prevent it in Node.js?
Backend ยท 317 views ยท nodejs, security, prototype-pollution
Seen a Node.js question that is not here? Add it and help the next candidate.
Share a question