InterviewStack.io LogoInterviewStack.io

Operating System Fundamentals Questions

Comprehensive knowledge of operating system concepts and practical administration across Linux, Unix, and Windows platforms. Core theoretical topics include processes and threads, process creation and termination, scheduling and context switching, synchronization and deadlock conditions, system calls, kernel versus user space, interrupt handling, memory management including virtual memory, paging and swapping, and input and output semantics including file descriptors. Practical administration and tooling expectations include file systems and permission models, user and group account management, common system utilities and commands such as grep, find, ps, and top, package management, service and process management, startup and boot processes, environment variables, shell and scripting basics, system monitoring, and performance tuning. Platform specific knowledge should cover Unix and Linux topics such as signals and signal handling, kernel modules, initialization and service management systems, and command line administration, as well as Windows topics such as the registry, service management, event logs, user account control, and graphical and command line administration tools. Security and infrastructure topics include basic system hardening, common misconfigurations, and an understanding of containerization and virtualization at the operating system level. Interview questions may probe conceptual explanations, platform comparisons, troubleshooting scenarios, or hands on problem solving.

MediumTechnical
0 practiced
A service is slowly increasing its RSS memory over days until the host OOMs. Describe an investigative plan to determine whether this is a memory leak in the process, a heap fragmentation issue, or kernel-level leak. Include commands and tools you would use on Linux to collect evidence.
MediumTechnical
0 practiced
A database is showing increasing I/O latency. Outline a systematic approach to isolate whether the root cause is the filesystem, underlying disk hardware, kernel I/O scheduler, or application pattern. Which commands and metrics would you collect and in what order?
MediumTechnical
1 practiced
Compare common Linux I/O schedulers (noop, deadline, cfq, bfq) and explain scenarios where choosing one over another improves performance. How would an SRE benchmark the effect of changing the scheduler on a storage-bound service?
EasyTechnical
0 practiced
Explain Linux file permission bits including owner/group/other, plus special bits: setuid (SUID), setgid (SGID), and the sticky bit. Give real-world examples where each is used, commands to set/unset them, and common security risks an SRE should watch for.
HardTechnical
1 practiced
A kernel module appears to leak slab memory over weeks causing memory pressure. Describe advanced steps to identify the leak source using slabtop, /proc/slabinfo, kmemleak, and tracepoints. Explain short-term workarounds you could deploy without reboot and long-term fixes.

Unlock Full Question Bank

Get access to hundreds of Operating System Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.