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.

EasyTechnical
59 practiced
Explain Linux file permission bits (owner/group/other) and the special setuid, setgid, and sticky bits. Describe how you would configure /tmp so that unprivileged users can create files but cannot delete or rename files owned by other users. Provide the exact commands (chmod/chown) you would run and explain potential security risks of setuid binaries.
EasyTechnical
68 practiced
Compare ext4, XFS and NTFS as filesystems for servers. Discuss journaling behavior, typical mount options for performance and safety (for example, noatime, data=ordered), maximum file and volume sizes, and how you would check filesystem health and find the largest directories consuming disk space. Provide commands you would use.
HardTechnical
60 practiced
Compare containers to virtual machines focusing on kernel and isolation boundaries. Explain what namespaces and cgroups provide, common container escape vectors, and practical hardening controls (seccomp, capabilities, user namespaces, read-only root, image scanning). Explain scenarios where a VM is still preferable and how to mitigate kernel-level risks that affect container hosts.
HardTechnical
76 practiced
Describe virtual memory internals: page tables, Translation Lookaside Buffer (TLB), multi-level page table walks, demand paging, page faults, and common page replacement algorithm approximations (LRU, clock). Explain how hugepages and transparent hugepages affect TLB pressure and performance; when would you enable hugepages for database workloads and what trade-offs should you consider?
MediumTechnical
104 practiced
A Windows server sporadically restarts and you suspect a service crash. Describe how to collect and analyze Windows Event Logs (Application, System, and Security channels) remotely and how to collect Performance Monitor counters for correlation. Include PowerShell commands to export relevant Event IDs and commands to collect perf counters over time for later analysis.

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.