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
1 practiced
You suspect a deadlock in a multithreaded production service, but you cannot stop the service. Describe how you would detect and confirm a deadlock on Linux, including commands/tools and what evidence you would collect. Then explain at least two mitigation strategies you could deploy without restarting the service if possible.
MediumTechnical
1 practiced
Design a runbook for a high-severity incident where the kernel is spending most time in softirq and network packet processing is delayed. Include immediate triage commands, mitigation steps (irq affinity, network driver tuning, XPS/RPS), and criteria to escalate to kernel or NIC vendor support.
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
1 practiced
Explain Linux cgroups and namespaces and how they relate to containers. Describe the main practical differences between cgroup v1 and v2, and give an example of how an SRE might use cgroups to limit a noisy process on a shared host.
MediumTechnical
1 practiced
A machine experienced a kernel panic. Explain the pragmatic steps to gather information for root-cause analysis: configuring kdump/crash, collecting vmcore, interpretting crash output, and safe ways to reproduce or test the fix. Also mention any precautions for production systems.

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.