download

Systems Programming Interview Questions

Practice OS concurrency, virtual memory, lock ordering, CPU caches, epoll, crash consistency, and TCP networking with free systems programming interview questions. Each exercise includes hints and a checked explanation.

Systems12 questionsFree · No sign-in

Practice questions

  1. Process or thread: what changes for memory, crashes, and files? · Processes and threads · 8 min
  2. Why is virtual memory 2 GiB when RSS is 24 MiB? · Virtual memory · 8 min
  3. Why does Rust reject this handle code at compile time? · Ownership and RAII · 10 min
  4. Why does a shared counter lose updates across threads? · Data races · 10 min
  5. Why do concurrent transfers deadlock, and how do you prevent it? · Deadlocks · 10 min
  6. Why can a reader see stale data behind a Relaxed flag? · Memory ordering · 12 min
  7. Why does a long-running service fail with EMFILE after hours? · File descriptors · 8 min
  8. How does backpressure stop a fast producer from OOM-killing a service? · Backpressure · 12 min
  9. Why do two threads updating separate counters slow each other down? · CPU caches · 12 min
  10. Why does an edge-triggered epoll handler stall mid-request? · Event loops · 12 min
  11. Why can an updated config file end up empty after power loss? · Storage durability · 10 min
  12. Why does an outbound proxy hit EADDRNOTAVAIL after 47 seconds? · TCP networking · 10 min

How to practice

Predict the result or explain what you would change before opening the hints. Then compare your reasoning with the answer and try the follow-up question.

Open the interactive Systems deck →