0

Completed

0%

Progress

0

Starred

01

What is Node.js and how does it differ from traditional web servers like Apache or Nginx?

beginner#Basics
02

Explain the Event-Driven Architecture in Node.js. How does it work?

beginner#Basics
03

What's the difference between CommonJS and ES Modules in Node.js? How do you use each?

beginner#Modules
04

How does non-blocking I/O work in Node.js? Give a concrete example with file system operations.

beginner#Basics
05

What is the V8 engine and how does Node.js use it?

beginner#Basics
06

How do you manage dependencies with NPM? Explain package.json, node_modules, and lock files.

beginner#Modules
07

How do you create a basic HTTP server in Node.js using the core http module?

beginner#HTTP
08

What are environment variables in Node.js and how do you use them?

beginner#Basics
09

What are streams in Node.js and why are they important for handling large data?

beginner#Streams
10

What is the process object in Node.js? What are its common uses?

beginner#Basics
11

What is the Path module in Node.js and how do you use it to work with file paths?

beginner#Basics
12

What information can you retrieve with the OS module in Node.js? Give examples.

beginner#Basics
13

What are Buffers in Node.js? How do they differ from arrays and strings?

beginner#Buffers
14

How do you use native fetch in Node.js? How is it different from browser fetch?

beginner#Basics
15

What is Express.js and how do you build a basic REST API with it?

beginner#Express.js
16

How do you handle JSON in Node.js? Parse, stringify, and work with JSON files.

beginner#Basics
17

What is async/await in Node.js? How does it differ from promises and callbacks?

beginner#Basics
18

Explain the six phases of the Node.js event loop in detail. How do timers, I/O callbacks, and the poll phase interact?

intermediate#Event Loop
19

What are microtasks, macrotasks, and process.nextTick? Explain their execution order with examples.

intermediate#Event Loop
20

Explain backpressure in Node.js streams. How do you handle it correctly, and what are common pitfalls?

intermediate#Streams
21

What are transform streams and how do you create custom transform streams? Give an example of encryption or compression.

intermediate#Streams
22

How does Buffer memory allocation work? Explain the internal pooling mechanism and Buffer.allocUnsafe().

intermediate#Buffers
23

How does module caching work in Node.js? How can you clear or manipulate the cache?

intermediate#Modules
24

How do you implement JWT authentication in Node.js? What are security best practices?

intermediate#Authentication
25

What are Worker Threads in Node.js? When should you use them instead of clusters or child processes?

intermediate#Architecture
26

How do you create and manage child processes in Node.js? Compare spawn, exec, execFile, and fork.

intermediate#Architecture
27

What is the cluster module and how does it help with scaling Node.js applications?

intermediate#Scaling
28

What is middleware in Express.js? Explain different types and how to write custom middleware.

intermediate#Express.js
29

What are best practices for designing REST APIs in Node.js? How do you handle versioning?

intermediate#APIs
30

How do you implement request validation in Node.js? Compare Joi, Zod, and JSON Schema.

intermediate#APIs
31

Explain the timers and poll phases of the event loop in detail. How do setTimeout and setImmediate behave differently?

intermediate#Event Loop
32

What is dependency injection in Node.js? How does it help with testing and modularity?

intermediate#Architecture
33

How do you implement structured logging in Node.js? Compare Winston and Pino.

intermediate#Observability
34

How do you implement rate limiting in Node.js? What are different strategies (in-memory, Redis, sliding window)?

intermediate#Security
35

How do you handle file uploads securely in Node.js? What are common pitfalls?

intermediate#Security
36

How do you implement WebSockets in Node.js? Compare Socket.io vs ws library.

intermediate#APIs
37

How do you integrate databases in Node.js? Compare connection pooling, ORMs, and query builders.

intermediate#Databases
38

What are caching strategies in Node.js? How do you use Redis for caching?

intermediate#Caching
39

What are common security vulnerabilities in Node.js applications and how do you prevent them?

intermediate#Security
40

How do you test Node.js applications using the built-in test runner (node:test) and mocking?

intermediate#Testing
41

How do you profile and optimize performance in Node.js applications? What tools and techniques do you use?

intermediate#Performance Optimization
42

How do you detect and fix memory leaks in Node.js applications? What tools and patterns help?

intermediate#Memory Management
43

How do you debug Node.js applications effectively? What tools and techniques do you use?

intermediate#Debugging
44

How does libuv work internally? Explain its role in Node.js architecture and how it abstracts the event loop across operating systems.

advanced#Node.js Internals
45

Explain V8 internals: JIT compilation, hidden classes, and inline caching. How do these affect Node.js performance?

advanced#Node.js Internals
46

Explain V8 garbage collection internals: generations, Mark-Compact, Scavenger, and how to optimize GC pressure in Node.js.

advanced#Memory Management
47

What are Async Hooks and AsyncLocalStorage? How do they work and what are their use cases for context propagation?

advanced#Node.js Internals
48

How do you design microservices in Node.js? Compare message queues (Kafka, RabbitMQ) and patterns for distributed systems.

advanced#Scaling
49

How do you implement observability in Node.js: metrics, distributed tracing, and logging pipelines?

advanced#Observability
50

Explain streams internals: how backpressure propagates and how to implement high-throughput custom streams.

advanced#Streams
51

How do you build native addons for Node.js using N-API? What are the benefits over legacy NAN?

advanced#Node.js Internals
52

What are Edge Runtime concepts? How do Node.js apps differ on Edge platforms (Cloudflare Workers, Vercel Edge, Deno Deploy)?

advanced#Architecture
53

What are production deployment strategies for Node.js? Compare blue-green, canary, and rolling deployments.

advanced#Scaling
54

How do you perform advanced heap analysis and memory leak detection in Node.js using heap snapshots, comparisons, and tools like Chrome DevTools?

advanced#Performance Optimization
55

Explain worker threads internals: how does shared memory work with SharedArrayBuffer and Atomics? What are use cases and pitfalls?

advanced#Node.js Internals
56

How do you use performance profiling tools like flamegraphs, --prof, and clinic to identify CPU bottlenecks in Node.js?

advanced#Performance Optimization
57

What are advanced security hardening techniques for Node.js? Discuss seccomp, sandboxing, and secure code generation.

advanced#Security
58

Explain advanced caching architectures: multi-tier, cache coherence, write-through, write-behind, and cache-aside with distributed systems.

advanced#Architecture
59

Explain OAuth 2.0 and OpenID Connect flows in Node.js. How do you implement authorization code flow with PKCE?

advanced#Authentication
60

What are RBAC and ABAC authorization models? How do you implement them in Node.js with policy-as-code?

advanced#Authentication
61

How does SSR (Server-Side Rendering) architecture work in Node.js? Compare CSR, SSR, and streaming SSR with Next.js/Nuxt.

advanced#Architecture
62

Explain containerization concepts for Node.js: Docker multi-stage builds, Kubernetes operators, sidecar pattern, and security.

advanced#Deployment
63

What are advanced testing techniques: fuzzing, property-based testing, and chaos engineering for Node.js?

advanced#Testing