InterviewStack.io LogoInterviewStack.io

Linux System Administration Fundamentals Questions

Core Linux administration knowledge and hands on operational skills required to install, configure, and maintain Linux systems. Covers user and group management, file permissions and ownership, process management and signals, package management across distributions, the boot process and runlevels or targets, basic systemd service control, filesystem navigation and basic disk management, common system configuration files, shell and command line proficiency, and differences between major enterprise and community distributions. Candidates should demonstrate practical troubleshooting of routine issues, patching and updates, and an ability to perform day to day administration tasks reliably.

MediumTechnical
33 practiced
Explain how to load and unload kernel modules safely (using modprobe/rmmod) and make module options persistent. Demonstrate how to enable IPv4 forwarding immediately and persistently (sysctl -w and /etc/sysctl.d/), and discuss potential risks to verify before changing these kernel parameters on production hosts.
HardTechnical
53 practiced
Users report intermittent packet loss between two datacenter hosts. Provide a detailed, prioritized debugging plan using ping, traceroute, mtr, ss, tcpdump and ethtool. Explain how to check NIC counters, offload settings, firmware issues, and how to determine whether the problem originates in the OS, the NIC, or upstream network/switch.
EasyTechnical
37 practiced
You attached a new block device /dev/sdb to a Linux VM. Provide a step-by-step command sequence to: create a single partition, format it as ext4, mount it at /data, set ownership to user 'app' and group 'app', and add a persistent /etc/fstab entry using the partition UUID. Explain each command used and how to verify everything is correct.
MediumTechnical
50 practiced
Explain the differences between SIGTERM, SIGKILL, SIGHUP, SIGQUIT and SIGSTOP on Linux. For a long-running Java application, describe how you would implement graceful shutdown on SIGTERM and configuration reload on SIGHUP, and how to configure the systemd unit to support graceful termination (e.g. ExecStop, TimeoutStopSec).
MediumTechnical
36 practiced
How would you use SMART to check the health of /dev/sda? Show the commands to run a short and long self-test, how to inspect attributes like Reallocated_Sector_Ct and Current_Pending_Sector, and explain thresholds or trends that indicate a drive should be replaced.

Unlock Full Question Bank

Get access to hundreds of Linux System Administration Fundamentals interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.