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 the day-to-day administration, troubleshooting, and hardening of Linux servers that underpin most infrastructure. The Linux operator's core skill set.
Explain the primary system health and performance metrics a systems administrator must monitor to assess a server's immediate health and long-term performance: CPU usage, memory utilization, disk I/O and latency, network bandwidth and packet loss, process counts and system load. For each metric describe what a high value typically indicates and give one diagnostic command on Linux to check it.
Linux kernel tuning: for a high-throughput network and storage workload, describe the purpose and effects of enabling hugepages, tuning irqbalance, configuring nohz_full or isolcpus, and choosing an appropriate I/O scheduler. For each change explain the scenarios where it helps and the risks involved.
Technical-coding: Write a simple Python 3 script that reads /proc/stat and /proc/meminfo, computes instant CPU utilization percentage and memory used percentage, and prints two Prometheus-style metric lines named node_cpu_percent and node_memory_percent with labels 'host' set to the machine hostname. Use only the Python standard library.
List the standard diagnostic commands or tools you use on Linux and on Windows to check CPU utilization, memory usage, disk I/O and latency, and network throughput. For each tool name, include one example of an output field you would inspect and why it matters.
Which kernel or sysctl parameters would you tune to improve server performance under very high numbers of short-lived TCP connections (thousands per second)? Explain at least five parameters, their effects, and potential risks of changing them on a live system.
Unlock Full Question Bank
Get access to all 10 Linux System Administration interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.