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.

EasyTechnical
49 practiced
Describe the Linux boot process from power-on to a running multi-user system on modern distributions using UEFI and systemd. Explain the roles of UEFI/BIOS, firmware, bootloader (GRUB), kernel, initramfs, kernel command line, and systemd targets. Then describe how you would boot a system into single-user (rescue) mode from the GRUB menu for emergency maintenance.
MediumTechnical
33 practiced
You must configure log rotation for application logs at /var/myapp/log/*.log to: rotate daily, compress rotated logs, keep 7 rotations, and ensure the application continues writing to the new log file without losing messages. Provide a complete /etc/logrotate.d/myapp config and explain whether to use copytruncate or a postrotate signal to the process. Also describe how you'd centralize these logs securely to an ELK/Graylog stack from the fleet.
EasyTechnical
28 practiced
You are the Systems Administrator for a Linux server. Using a single shell command (or pipeline) on a POSIX-compatible system, move all regular files in /var/logs/app that were modified within the last 24 hours into /tmp/recent, preserving filenames and safely handling spaces and newlines in filenames. Provide the command you would run and briefly explain each part.
EasyTechnical
37 practiced
On a new disk /dev/sdb1 you must: (1) create an ext4 filesystem, (2) mount it at /data, (3) ensure it mounts automatically at boot using /etc/fstab by UUID, (4) set mount options noatime and nodev, and (5) set ownership to UID 1001 and GID 1001. Provide the commands to create the filesystem, mount it, and the exact /etc/fstab line to persist the mount.
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.