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
9 questions for “Child Processes & Process Management”
Found in 1 field. Select a question to see its full answer.
Matching topics
Node.js
Child
Processes
&
Process
Management
5
Information Technology
9 questions in 1 technology
#
Question
Technology
Topic
Level
1
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
Processes
&
Process
Management
Advanced
2
What are the four main methods for creating a
child
process
in Node.js, and how do they differ?
Node.js › Child Processes & Process Management
Node.js
Child
Processes
&
Process
Management
Beginner
3
How does inter-
process
communication (IPC) work between a parent
process
and a
child
created with fork()?
Node.js › Child Processes & Process Management
Node.js
Child
Processes
&
Process
Management
Intermediate
4
How would you pipe the output of one
child
process
directly into the input of another, replicating a shell pipeline in Node.js?
Node.js › Child Processes & Process Management
Node.js
Child
Processes
&
Process
Management
Intermediate
5
How do you handle a
child
process
that hangs or never terminates, and what's the correct way to enforce a timeout?
Node.js › Child Processes & Process Management
Node.js
Child
Processes
&
Process
Management
Advanced
6
How does Node.js implement the Worker Threads module differently from
Child
Processes
, and when should each be used?
Node.js › Advanced Node.js
Node.js
Advanced Node.js
Advanced
7
What is the difference between spawning a Worker Thread and spawning a
Child
Process
for running a CPU-intensive JavaScript function?
Node.js › Clustering & Worker Threads
Node.js
Clustering & Worker Threads
Intermediate
8
What are Node.js's experimental permission model flags, and what problem do they address?
Node.js › Advanced Node.js
Node.js
Advanced Node.js
Advanced
9
What is the node:vm module, and what are the security implications of using it to execute untrusted code?
Node.js › Core Node.js Modules
Node.js
Core Node.js Modules
Advanced