Interview Q&A · questions with model answers
Linux Interview Questions
Part of the study plan for: DevOps Engineer · Site Reliability Engineer (SRE)
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
What is load average, and how is it different from CPU utilisation?
Load average is the average number of tasks running or waiting to run (and, on Linux, in uninterruptible I/O sleep) over 1, 5 and 15 minutes. CPU utilisation is the percentage of time the CPUs were…
-
What is the difference between kill, kill -9 and a graceful shutdown?
kill PID sends SIGTERM, which a program can catch to finish work and exit cleanly. kill -9 sends SIGKILL, which can't be caught: the process stops immediately, losing in-flight work and leaving…