| 1 | What is the purpose of a .dockerignore file when preparing a Node.js project for cloud deployment? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Beginner |
| 2 | What is a twelve-factor app, and how does it guide how a Node.js application should be configured for cloud deployment? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 3 | What is auto-scaling, and what metrics commonly trigger scaling decisions for a Node.js service running in the cloud? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 4 | What is infrastructure as code (IaC), and how might a Node.js team use a tool like Terraform or the AWS CDK alongside their application code? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 5 | What is a load balancer, and how does it distribute traffic across multiple Node.js application instances? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 6 | What role do secret managers (like AWS Secrets Manager) play in deploying a Node.js app across dev, staging, and production? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 7 | What is a reverse proxy, and why is Nginx commonly placed in front of a Node.js application in production? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 8 | What is a feature flag, and how would you implement one in a Node.js application to control a new feature's rollout? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 9 | What is a container registry, and how does it fit into the deployment pipeline for a containerized Node.js application? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Intermediate |
| 10 | What is a health check endpoint, and how does an orchestrator like Kubernetes use liveness and readiness probes differently? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 11 | What is a CI/CD pipeline for a Node.js application, and what stages does a typical one include? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 12 | What is horizontal scaling for a Node.js application, and what specific architectural requirement does it impose? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 13 | What is a blue-green deployment, and how does it minimize downtime and risk when deploying a new version of a Node.js application? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 14 | What is a canary release, and how does it reduce the blast radius of a risky Node.js deployment? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 15 | What is observability (as distinct from traditional monitoring), and what are its three commonly cited pillars? Node.js › Cloud & DevOps | Node.js | Cloud & DevOps | Advanced |
| 16 | What is a background job in the context of a Node.js web application, and why can't long-running work simply happen inside a request handler? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Beginner |
| 17 | What is the difference between a delayed job and a scheduled (repeatable) job in a Node.js job queue? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Beginner |
| 18 | What is a Dockerfile, and what are the typical steps involved in containerizing a Node.js application? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Beginner |
| 19 | What does the EXPOSE instruction in a Dockerfile actually do, and what is a common misconception about it? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Beginner |
| 20 | What is the difference between multer's diskStorage and memoryStorage engines? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 21 | Why should an application typically avoid storing uploaded files directly on the same server instance that runs the web application? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Beginner |
| 22 | How does the dotenv package work, and what problem does it solve for local Node.js development? Node.js › Environment Variables & Configuration | Node.js | Environment Variables & Configuration | Beginner |
| 23 | Why is structured (JSON) logging generally preferred over plain-text console.log() statements in a production Node.js application? Node.js › Logging & Monitoring | Node.js | Logging & Monitoring | Beginner |
| 24 | How do you implement a retry-with-exponential-backoff pattern for a flaky async operation in Node.js? Node.js › Async Patterns | Node.js | Async Patterns | Intermediate |
| 25 | What is a cron job, and how would you schedule recurring background tasks in a Node.js application using node-cron or BullMQ's repeatable jobs? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Intermediate |
| 26 | What are the trade-offs of using an in-memory job queue (like a simple array-based queue) versus a persistent, Redis-backed queue? Node.js › Background Jobs & Queues | Node.js | Background Jobs & Queues | Intermediate |
| 27 | What is the difference between in-memory caching (like a Map or node-cache) and a distributed cache (like Redis)? Node.js › Caching | Node.js | Caching | Intermediate |
| 28 | What is a database connection pool, and why does a Node.js application need one rather than opening a new connection per request? Node.js › Databases | Node.js | Databases | Intermediate |
| 29 | What is database migration, and why is it important to manage schema changes through versioned migration files rather than manual changes? Node.js › Databases | Node.js | Databases | Intermediate |
| 30 | How does Docker Compose simplify local development for a Node.js application that depends on a database and a cache? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Intermediate |
| 31 | What is the purpose of a HEALTHCHECK instruction in a Dockerfile for a Node.js application? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Intermediate |
| 32 | How would you stream a large file upload directly to processing (like virus scanning or transcoding) without first saving the entire file to disk? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Intermediate |
| 33 | What is HTTP keep-alive, and how does it improve performance for a Node.js server handling many requests from the same client? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Intermediate |
| 34 | How do you configure PM2 to automatically restart your Node.js application after a server reboot? Node.js › Deployment & Process Managers (PM2) | Node.js | Deployment & Process Managers (PM2) | Intermediate |
| 35 | How do you use environment variables and Docker's --env-file (or docker-compose's environment section) to configure a containerized Node.js application per environment? Node.js › Docker & Containerization for Node.js | Node.js | Docker & Containerization for Node.js | Intermediate |
| 36 | How does Node's node:https module differ from node:http, and what additional configuration does it require? Node.js › HTTP & HTTPS Modules | Node.js | HTTP & HTTPS Modules | Intermediate |
| 37 | What are the key benefits and tradeoffs of splitting a Node.js monolith into microservices? Node.js › Microservices Architecture with Node.js | Node.js | Microservices Architecture with Node.js | Intermediate |
| 38 | How do you implement service-to-service authentication in a Node.js microservices architecture, so internal services can trust requests from each other? Node.js › Microservices Architecture with Node.js | Node.js | Microservices Architecture with Node.js | Intermediate |
| 39 | What is load testing, and how would you use a tool like autocannon or k6 to benchmark a Node.js API's throughput and latency? Node.js › Performance Optimization & Profiling | Node.js | Performance Optimization & Profiling | Intermediate |
| 40 | What is the difference between vertical and horizontal performance optimization strategies for a Node.js application, and how do you decide which to pursue first? Node.js › Performance Optimization & Profiling | Node.js | Performance Optimization & Profiling | Intermediate |
| 41 | What is a Circuit Breaker pattern, and why is it important when a Node.js service calls an unreliable downstream dependency? Node.js › Architecture & Design Patterns | Node.js | Architecture & Design Patterns | Advanced |
| 42 | How do you properly handle process signals (SIGTERM) inside a containerized Node.js application to support graceful shutdown? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Advanced |
| 43 | Why should a Node.js Docker container generally run as a non-root user, and how do you configure this in a Dockerfile? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Advanced |
| 44 | What is the difference between deploying a Node.js application to a Platform-as-a-Service (like Heroku or Render) versus a self-managed container orchestrator (like Kubernetes)? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Advanced |
| 45 | What is a Kubernetes Deployment's rolling update strategy, and how does it apply to updating a running Node.js application? Node.js › Docker & Deployment | Node.js | Docker & Deployment | Advanced |
| 46 | How would you implement direct-to-S3 file uploads from a client, avoiding routing large file uploads through your Node.js server entirely? Node.js › File Uploads & Media Processing | Node.js | File Uploads & Media Processing | Advanced |
| 47 | How would you implement HTTP request timeout and connection management on the server side in Node.js to protect against slow-loris style attacks? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 48 | How would you implement a simple TCP-level proxy or load balancer in Node.js using the net module, distinct from an HTTP-level reverse proxy? Node.js › HTTP & Web Servers | Node.js | HTTP & Web Servers | Advanced |
| 49 | How would you handle service discovery in a Node.js microservices architecture, so services can find each other's network locations dynamically? Node.js › Microservices Architecture with Node.js | Node.js | Microservices Architecture with Node.js | Advanced |