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
28 questions for “Logging & Monitoring”
Found in 1 field. Select a question to see its full answer.
Matching topics
Node.js
Logging
&
Monitoring
5
Information Technology
28 questions in 4 technologies
#
Question
Technology
Topic
Level
1
What is an APM (Application Performance
Monitoring
) tool, and what capabilities does it typically add beyond basic
logging
?
Node.js › Logging & Monitoring
Node.js
Logging
&
Monitoring
Intermediate
2
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
3
What is log level (debug, info, warn, error), and how do you configure a logger like Pino or Winston to filter output by level per environment?
Node.js › Logging & Monitoring
Node.js
Logging
&
Monitoring
Intermediate
4
How would you implement request correlation IDs to trace a single request's logs across multiple log lines and services?
Node.js › Logging & Monitoring
Node.js
Logging
&
Monitoring
Intermediate
5
How would you implement distributed tracing across multiple Node.js microservices using OpenTelemetry?
Node.js › Logging & Monitoring
Node.js
Logging
&
Monitoring
Advanced
6
What is the risk of exposing a raw error's stack trace in an API response, and how do you prevent it while still
logging
full details server-side?
Node.js › Error Handling
Node.js
Error Handling
Intermediate
7
What is the DEBUG environment variable convention (popularized by the 'debug' npm package), and how does it let you enable verbose
logging
selectively?
Node.js › Debugging & Diagnostics
Node.js
Debugging & Diagnostics
Intermediate
8
What is the risk of accidentally
logging
or exposing environment variables that contain secrets, and how do you prevent it?
Node.js › Environment Variables & Configuration
Node.js
Environment Variables & Configuration
Intermediate
9
What is monkey-patching in the context of Node.js APM (Application Performance
Monitoring
) tools, and what are its risks?
Node.js › Advanced Node.js
Node.js
Advanced Node.js
Advanced
10
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
Show all 28 questions in Information Technology