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
You want to harden SSH access across your fleet. Describe SRE-focused best practices (key-only login, disable password auth/root login, use SSH bastions, agent forwarding rules, rate limiting) and how you'd roll these changes safely without locking administrators out.
MediumTechnical
1 practiced
Explain how Linux swapping works and how the vm.swappiness setting influences behavior. Given a production database workload that is latency-sensitive, describe how you'd tune swapping, swappiness, and swap usage or decide to disable swap.
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.
MediumSystem Design
0 practiced
Design an automated OS patching strategy for a fleet that must maintain 99.99% availability. Describe canarying, rollout windows, reboot orchestration, health verification, and rollback strategies. Include how you'd handle stateful services and services that cannot tolerate restarts.
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.