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.

HardTechnical
20 practiced

A Linux host needs to serve millions of short-lived TCP connections per minute, and it's starting to fail under load: some connections are refused, others hang. Design the kernel-level tuning you'd apply to fix this, covering port exhaustion, connection-state cleanup, and backlog/queue limits. For each change, explain the trade-off and how you'd validate it before rolling it out to production.

HardTechnical
20 practiced

You're responsible for optimizing NFS performance for a build farm that has many small file reads. What kernel-level and mount-option settings would you consider changing on the client and server to improve throughput and reduce latency? Explain trade-offs.

EasyTechnical
18 practiced

Explain the purpose and typical contents of /etc/resolv.conf on Linux. Describe how the name resolution flow can involve glibc NSS, systemd-resolved, NetworkManager, and local caches like dnsmasq. How do you change DNS temporarily and persistently?

MediumTechnical
19 practiced

Describe the tcpdump command to capture only DNS (UDP port 53) traffic to/from host 10.1.1.5 on interface eth0, rotate captures to avoid filling disk (ring buffer), and explain how to interpret DNS transaction IDs and flags in the pcap.

MediumTechnical
17 practiced

Explain the difference between DNAT and SNAT in iptables and give example commands: one for port forwarding (DNAT) and one for outbound source NAT (SNAT/MASQUERADE). Describe how conntrack maintains translations for returning traffic.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.