Linux System Administration Questions

Operating and maintaining Linux and Unix systems: filesystems and permissions, process and service management, package management and updates, shell and scripting, storage, and network configuration on the host. Covers day-to-day administration, troubleshooting, monitoring and tuning host resource usage (CPU, memory, swap, and I/O), and hardening of Linux servers that underpin most infrastructure. The Linux operator's core skill set.

EasyTechnical
22 practiced

Explain the difference between a zombie process and an orphan process. How do you detect zombies on a system and what are safe remediation steps an SRE can take to remove or prevent zombie accumulation without risking data corruption?

HardTechnical
17 practiced

A large-capacity filesystem holding billions of small files (think years of tiny telemetry records) is running out of inodes, and the write rate keeps growing. Propose an immediate mitigation and a longer-term architectural fix, and explain how you'd validate the fix is safe before rolling it out, plus how you'd roll back if it isn't.

HardSystem Design
20 practiced

You are designing a multi-tenant server that runs user workloads as separate services. Using systemd, cgroups and Linux namespaces, design an isolation strategy that reduces risk of noisy neighbors while keeping management feasible. Discuss trade-offs for resource guarantees, security, and operational complexity.

MediumTechnical
19 practiced

A server fails to boot after a kernel update. GRUB starts but the boot halts with 'unable to find root' and the system drops to an initramfs shell. As the Systems Administrator, explain step-by-step how you would recover the system using a rescue/live USB: mount partitions, chroot into the installed system, regenerate initramfs or fix /etc/fstab, and reinstall GRUB if necessary. Include concrete commands.

MediumTechnical
22 practiced

Describe how to set up a persistent ip route and a static IP on a modern Linux distribution (systemd-based). Provide the files or commands you would use, and how to verify the configuration.

Unlock Full Question Bank

Get access to all Linux System Administration interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.