Skip to content
Preptima

Operating Systems interview questions

Processes and threads, scheduling, virtual memory and paging, synchronisation, and deadlock handling.

6 questions in CS Fundamentals.

easy2

medium2

hard2

hardConcept

A service stops accepting new connections while CPU and memory look fine. Which operating-system limits would you suspect, and how would you tell them apart?

Suspect a bounded resource rather than a saturated one: file descriptors, threads, ephemeral ports or the listen queue. Each has a different scope — per process, per user, per cgroup, per system — and each announces itself with a different error, which is how you tell them apart. Use this RLIMIT answer to show the decision, trade-off, and evidence rather than a memorised definition.

5 minmid, senior, staff