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
57 practiced
On a Windows server, a critical service crashed. Explain how you would use Event Viewer, the System and Application logs, and diagnostic tools (Process Explorer, ProcDump, Performance Monitor) to determine the cause. Highlight the differences compared to Linux diagnostics.
HardSystem Design
71 practiced
Design a rolling kernel update strategy for a multi-region cluster that minimizes downtime and supports automatic rollback if the new kernel causes regressions. Include bootloader (GRUB) management, image promotion, canarying, health checks, and stateful workload considerations.
MediumTechnical
56 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
68 practiced
Write a command-line one-liner or short shell script (bash) to find the top 5 processes holding the most open file descriptors on a Linux host and print PID, command, and open file count. Describe assumptions and how you would adapt it for use in a monitoring script.
EasyTechnical
73 practiced
Describe virtual memory on Linux: the role of page tables, the TLB, what a page fault is, and the difference between major and minor page faults. Explain why overcommit/commit settings matter for SREs and list commands you'd use to inspect virtual memory usage in production.

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.