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
29 practiced
Design a robust scheduled backup that runs /usr/local/bin/backup.sh daily at 03:00 as root. Requirements: ensure only one instance runs at a time, capture stdout/stderr to rotating logs, and provide a systemd-timer alternative to cron. Provide a safe cron entry using flock and a sample systemd service and timer unit pair that implements the same behavior.
EasyTechnical
37 practiced
As a Systems Administrator, explain the difference between SIGTERM and SIGKILL. Show how to: (a) list processes by CPU usage for user 'www-data', (b) send a graceful stop to PID 4321, and (c) forcibly kill a process that ignores SIGTERM. Include the exact commands and reasons to prefer graceful shutdowns where possible.
HardTechnical
54 practiced
Your organization plans to modernize legacy stateful Linux services currently running on VMs. As a Systems Administrator, compare using containers (Docker/Podman + Kubernetes) versus VMs for these services. Cover operational trade-offs: security isolation, resource utilization, persistent storage patterns, networking, migration steps, backup and restore strategies, and an actionable migration plan for stateful workloads.
HardTechnical
44 practiced
Create a ransomware preparedness and recovery plan for a fleet of Linux servers. Cover prevention (patching, least privilege, immutable logs), detection (file integrity monitoring, EDR), containment (network segmentation, isolation runbook), backup strategies resilient to tampering (immutable/offline backups), and an operational recovery runbook that meets legal/compliance requirements. Include measurable metrics (RTO/RPO), test cadence, and roles/responsibilities.
MediumTechnical
31 practiced
As a Systems Administrator, configure sudo so members of group 'ops' can run only /usr/bin/systemctl restart httpd and /usr/sbin/ethtool without a password on all servers. Provide the exact /etc/sudoers lines (preferably with a Cmnd_Alias) and explain how to safely edit and test the configuration.

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.