Day 1: Too Many Programs, and the Limits Nobody Watches
Illustrative interview practice. Generic company names and hostnames do not represent any specific organization.
Scenario
Interviewer A server starts ten thousand programs at once. Its processor and memory still look mostly free, yet it stops responding. Why?
In plain words
A server is a computer that runs programs for other people. Each running program is called a process. The question asks why a computer can seize up when the two things everyone watches, the processor (CPU) and the memory (RAM), are not full.
You are not expected to know the exact numbers. You are expected to say that a computer has other limits besides CPU and memory, name a couple, and say how you would check them.
Words you need
| Word | What it means |
|---|---|
| Process | One running program. Each has a number, called its PID. |
| Kernel | The core of the operating system. It hands out resources to processes and keeps them apart. |
| File descriptor | A ticket a process holds for each file or network connection it has open. |
| Context switch | The moment the processor stops working on one process and picks up another. |
Your answer
2:00
Observe → Hypothesise → Investigate → Mitigate → Prevent. The timer is optional; your answer is not auto-submitted.
0 / 20,000 characters · Not saved