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
19 practiced

Demonstrate how to use journalctl to: 1) show logs for the previous boot, 2) follow logs in real-time for the unit nginx.service, and 3) filter messages by priority and timestamp. Explain the difference between persistent and volatile journals and how to enable persistent journaling.

EasyTechnical
17 practiced

Explain Unix file permissions for files and directories. Describe the meaning of rwx for user, group, and others, explain numeric octal notation such as 0755 and 0640, and show how chmod u+x differs from chmod 755 with an example scenario for each.

MediumTechnical
31 practiced

You suspect a host can't resolve external domains. Walk through how you'd isolate whether the problem is DNS configuration, the resolver itself, or something else entirely, and how you'd interpret what you find at each step.

EasyTechnical
17 practiced

Explain the difference between SIGTERM and SIGKILL. As an SRE, how would you design a service (or its wrapper) to perform graceful termination on SIGTERM? Describe what to do in the service code and in the systemd unit to ensure graceful shutdown and proper cleanup.

EasyTechnical
18 practiced

The /proc filesystem contains runtime state about processes and the kernel. For a PID you suspect of leaking resources, list which /proc files you would inspect (for example cmdline, environ, status, fd, io, limits, smaps) and explain what each file reveals and how you would use it to diagnose the problem.

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.