Node.js Preparation Pack

Learn single-threaded event loop phases, pending I/O callbacks, setImmediate execution, Express middlewares, and clustering.

Question Cards

Showing 69 of 69 drills
Card #1medium

How would you handle global error boundaries in Express or Node.js backend apps?

#Express#Error Handling
Read card
Card #2easy

What is Node.js and why is it used?

#Node.js#Backend Development
Read card
Card #3easy

What is the difference between Node.js and JavaScript?

#Node.js#Concurrency
Read card
Card #4easy

What is npm in Node.js?

#Node.js#npm
Read card
Card #5medium

What is the Event Loop in Node.js?

#Node.js#Event Loop
Read card
Card #6medium

What is the difference between synchronous and asynchronous programming in Node.js?

#Node.js#Async
Read card
Card #7medium

What is Express.js and why is it commonly used with Node.js?

#Node.js#Express.js
Read card
Card #8hard

How would you optimize the performance of a Node.js application?

#Node.js#Performance
Read card
Card #9hard

What are Streams in Node.js and when should they be used?

#Node.js#Streams
Read card
Card #10hard

How does Node.js handle high concurrency despite being single-threaded?

#Node.js#Concurrency
Read card
Card #11hard

What is connection pooling in Node.js?

#Node.js#Database
Read card
Card #12medium

What is JWT authentication in Node.js?

#Node.js#JWT
Read card
Card #13hard

What are worker threads in Node.js?

#Node.js#Worker Threads
Read card
Card #14medium

What is PM2 in Node.js?

#Node.js#PM2
Read card
Card #15hard

What are microservices in Node.js?

#Node.js#Microservices
Read card
Card #16easy

What are Promises in Node.js?

#Node.js#Promises
Read card
Card #17hard

What is clustering in Node.js?

#Node.js#Cluster
Read card
Card #18medium

What is WebSocket in Node.js?

#Node.js#WebSocket
Read card
Card #19hard

What are child processes in Node.js?

#Node.js#Child Process
Read card
Card #20hard

How does garbage collection work in Node.js?

#Node.js#Memory Management
Read card
Card #21easy

What is the purpose of package.json in Node.js projects?

#Node.js#npm
Read card
Card #22medium

What is a Buffer in Node.js?

#Node.js#Buffer
Read card
Card #23hard

What causes memory leaks in Node.js applications?

#Node.js#Memory Leak
Read card
Card #24hard

How do you secure an Express.js application?

#Node.js#Express
Read card
Card #25medium

What is logging in Node.js applications?

#Node.js#Logging
Read card
Card #26easy

How does Node.js connect with databases?

#Node.js#Database
Read card
Card #27medium

How do you test Node.js applications?

#Node.js#Testing
Read card
Card #28medium

What is the difference between CommonJS and ES Modules in Node.js?

#Node.js#Modules
Read card
Card #29easy

What is package-lock.json and why is it important?

#Node.js#npm
Read card
Card #30easy

What are callbacks in Node.js?

#Node.js#Callbacks
Read card
Card #31easy

What is async/await in Node.js?

#Node.js#Async Await
Read card
Card #32medium

What is CORS in Node.js?

#Node.js#CORS
Read card
Card #33easy

What is REST API development in Node.js?

#Node.js#REST API
Read card
Card #34medium

How do you handle file uploads in Node.js?

#Node.js#File Upload
Read card
Card #35medium

What is Docker usage with Node.js applications?

#Node.js#Docker
Read card
Card #36hard

How do you scale a Node.js application?

#Node.js#Scaling
Read card
Card #37easy

What is the File System module in Node.js?

#Node.js#File System
Read card
Card #38hard

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

#Node.js#Event Loop
Read card
Card #39medium

What is EventEmitter in Node.js?

#Node.js#EventEmitter
Read card
Card #40medium

What is rate limiting in Node.js APIs?

#Node.js#API Security
Read card
Card #41medium

What is Redis and how is it used with Node.js?

#Node.js#Redis
Read card
Card #42medium

How do you handle errors in async Express routes?

#Node.js#Express
Read card
Card #43hard

What is load balancing in Node.js?

#Node.js#Load Balancing
Read card
Card #44hard

What is background job processing in Node.js?

#Node.js#Background Jobs
Read card
Card #45hard

What is dependency injection in Node.js?

#Node.js#Design Patterns
Read card
Card #46medium

What is the singleton pattern in Node.js?

#Node.js#Design Patterns
Read card
Card #47hard

What are Node.js design patterns?

#Node.js#Design Patterns
Read card
Card #48easy

How does request handling work in Express.js?

#Node.js#Express
Read card
Card #49medium

How does caching improve Node.js application performance?

#Node.js#Caching
Read card
Card #50hard

What is Kubernetes usage with Node.js?

#Node.js#Kubernetes
Read card
Card #51medium

How do you improve security of Node.js dependencies?

#Node.js#Security
Read card
Card #52medium

What is the difference between authentication and authorization in Node.js?

#Node.js#Authentication
Read card
Card #53medium

What is schema validation in Node.js?

#Node.js#Schema
Read card
Card #54hard

What is graceful shutdown in Node.js?

#Node.js#Deployment
Read card
Card #55medium

What is MVC architecture in Node.js applications?

#Node.js#MVC
Read card
Card #56hard

How do you handle transactions in Node.js applications?

#Node.js#Database
Read card
Card #57medium

How do you validate request data in Node.js?

#Node.js#Validation
Read card
Card #58medium

What are health checks in Node.js applications?

#Node.js#Health Check
Read card
Card #59medium

What is API versioning in Node.js?

#Node.js#API Design
Read card
Card #60medium

What is rate limiting middleware in Express?

#Node.js#Express
Read card
Card #61hard

How do you monitor Node.js application performance?

#Node.js#Monitoring
Read card
Card #62easy

What is dotenv in Node.js?

#Node.js#dotenv
Read card
Card #63hard

What is API throttling in Node.js?

#Node.js#API
Read card
Card #64medium

What is middleware chaining in Express.js?

#Node.js#Express
Read card
Card #65hard

What are message queues in Node.js?

#Node.js#Message Queue
Read card
Card #66medium

How do you implement pagination in Node.js APIs?

#Node.js#API
Read card
Card #67easy

What are environment variables and why are they used in Node.js?

#Node.js#Environment Variables
Read card
Card #68easy

What are HTTP status codes commonly used in Node.js APIs?

#Node.js#HTTP
Read card
Card #69medium

What is GraphQL and how can Node.js support it?

#Node.js#GraphQL
Read card

Frequently Asked Questions

What is the Event Loop in Node.js?

The Event Loop allows Node.js to run non-blocking, asynchronous I/O tasks on a single thread.