W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
21 questions for “Deployment & Process Managers (PM2)”
Found in 1 field. Select a question to see its full answer.
Matching topics
Node.js
Deployment
&
Process
Managers
(PM2)
5
Node.js
Docker &
Deployment
2
Node.js
Child
Process
es &
Process
Management
1
Node.js
Global Objects & the
process
Object
1
Information Technology
21 questions in 1 technology
#
Question
Technology
Topic
Level
1
How do you configure PM2 using an ecosystem.config.js file rather than passing options directly on the command line?
Node.js › Deployment & Process Managers (PM2)
Node.js
Deployment
&
Process
Managers
(PM2)
Intermediate
2
What problem does PM2 solve for running a Node.js application in production, beyond just executing 'node server.js'?
Node.js › Deployment & Process Managers (PM2)
Node.js
Deployment
&
Process
Managers
(PM2)
Beginner
3
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
4
How does PM2's built-in log management work, and how would you configure log rotation to prevent log files from growing unbounded?
Node.js › Deployment & Process Managers (PM2)
Node.js
Deployment
&
Process
Managers
(PM2)
Advanced
5
What does PM2's built-in monitoring dashboard (pm2 monit, or PM2 Plus) show, and what metrics are most useful for production operations?
Node.js › Deployment & Process Managers (PM2)
Node.js
Deployment
&
Process
Managers
(PM2)
Advanced
6
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
7
What is the 'detached' option when spawning a child
process
, and when would you use it?
Node.js › Child Processes & Process Management
Node.js
Child
Process
es &
Process
Management
Advanced
8
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
9
How do you correctly handle OS signals like SIGTERM and SIGINT in a Node.js application to implement graceful shutdown?
Node.js › Global Objects & the process Object
Node.js
Global Objects & the
process
Object
Advanced
10
How do you implement graceful shutdown for a Node.js background worker
process
to avoid losing or corrupting in-progress jobs?
Node.js › Background Jobs & Queues
Node.js
Background Jobs & Queues
Advanced
Show all 21 questions in Information Technology