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.

MediumTechnical
19 practiced

Describe how you would use strace to diagnose a program that fails with 'Permission denied' when opening a config file. Include the strace invocation, how to capture output across forks, how to filter to file-related syscalls, and what specific return values you'll look for in the trace.

MediumTechnical
24 practiced

Give a command-line recipe to trace file descriptor leaks in a long-running server process. Include how you'd detect growth over time, correlate FDs to file paths or sockets, and tools to aggregate results across a fleet.

EasyTechnical
20 practiced

Describe how to ensure correct system time and timezone on a fleet of Linux servers using timedatectl and chrony. Show commands to set the timezone to UTC, enable and start chronyd/chrony, and verify that the system clock is synchronized. Explain why accurate time is important for distributed systems and log correlation.

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.

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.

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.