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.

HardTechnical
0 practiced
Outline how you would analyze a kernel crash dump (vmcore) from a Linux server that experienced a kernel oops. Describe collecting a crash dump (kdump), loading it into the crash utility, locating the stack trace, finding the offending module symbol, and producing an actionable report for the kernel/module developers.
MediumTechnical
0 practiced
Describe how to implement exponential backoff with jitter in a distributed system process restart script to avoid thundering herd when many services crash and recover simultaneously. Provide pseudocode and discuss parameters to tune in production.
MediumTechnical
0 practiced
Write a Python script that parses /proc/<pid>/statm (or /proc/<pid>/status) for all numeric PIDs and prints the top 5 processes by RSS (resident set size) along with their command names. Include handling for processes that disappear during the scan and explain your approach to avoid race conditions.
HardTechnical
0 practiced
Discuss kernel vs user-space boundaries. For a high-throughput application that must pass large buffers to the kernel (e.g., high-speed packet I/O or disk I/O), describe techniques to minimize copies and context switches (e.g., zero-copy, mmap, splice, sendfile, io_uring) and the security considerations involved.
EasyTechnical
0 practiced
Explain the differences between SIGINT, SIGTERM, and SIGKILL in Unix. For a long-running server, provide a recommended signal handling strategy for graceful shutdown, including how to handle in-flight requests, cleanup, and forced termination fallback.

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.