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.

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
26 practiced
An Ansible playbook accidentally pushed an SSH configuration change to a group of hosts that prevents new logins, leaving only the existing session. As the Systems Administrator, describe recovery steps to regain access to the hosts, how to test and rollout Ansible changes safely in the future (e.g., canary hosts, --check, serial), and propose safeguards such as automated rollback jobs and configuration drift detection.
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.
HardSystem Design
29 practiced
Design a highly available NFS solution to serve home directories for ~500 users with low latency and automatic failover between two datacenters. Consider consistent file locking, metadata consistency, split-brain prevention, client mount strategies (autofs/systemd), and backup. Outline architecture options (e.g., Ganesha+Ceph, DRBD+Pacemaker+NFS, clustered filesystem), pros/cons, and steps to implement and test failover.
HardSystem Design
34 practiced
Design and implement a private package repository for Debian (apt) and RHEL (yum) to distribute internal packages. Requirements: GPG-signed packages, authenticated access for internal users, CI pipeline integration to publish builds, and optional caching at edge sites. Outline tools (e.g., aptly, reprepro, createrepo), signing process, nginx hosting with TLS and auth, and CI steps to publish and verify packages.

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.