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
An intermittent network packet loss is observed between two containers on different hosts. Provide a detailed debugging plan that includes using tcpdump, ss/netstat, iperf, ethtool, checking flow rules (iptables/nftables), conntrack, MTU and offload settings, and what sequence of checks you would perform to find the root cause.
EasyTechnical
0 practiced
What is a system call? Give at least three examples of system calls and explain the difference between a library function and the underlying system call. How would you use tools like strace to determine whether a performance problem is caused by frequent system calls?
MediumTechnical
0 practiced
A service is hitting 'Too many open files' errors. Describe a step-by-step approach to identify the leaking or over-consuming processes, commands to audit systemwide FD usage, quick remediation to restore service, and long-term fixes to prevent recurrence.
EasyTechnical
0 practiced
Describe kernel space vs user space in an operating system. Explain why this separation exists, what operations require kernel privileges (give examples of system calls), and how SREs should think about bugs or performance problems that cross the user/kernel boundary.
MediumTechnical
0 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.