InterviewStack.io LogoInterviewStack.io

Advanced Linux Performance and Services Questions

Advanced administration focused on service lifecycle, process management, and system performance. Topics include deep systemd service management and unit file authoring, dependency ordering and service recovery, process lifecycle and signal handling, cgroups and resource controls, tuning kernel parameters, diagnosing CPU and memory pressure, understanding page cache and swap behavior, out of memory scenarios, I O performance analysis, interpreting load average, and using performance and sampling tools such as top, htop, pidstat, iostat, vmstat, sar, and perf for identifying bottlenecks and implementing mitigations.

MediumTechnical
0 practiced
Medium: A containerized workload is experiencing noisy neighbor effects where one container's heavy I/O starves others. On a Linux host with systemd and containerd, describe the concrete steps (commands and unit/container config) to throttle I/O for the noisy container with minimal disruption.
EasyTechnical
0 practiced
Describe the structure of a systemd unit file and the purpose of its main sections (Unit, Service, Install). Provide an example of a minimal service unit for a simple HTTP server binary located at /usr/local/bin/myserver and explain each directive you included.
Example expected content: a code block with the unit file and a short explanation for each directive.
MediumTechnical
0 practiced
What does 'perf record -e cpu-clock' measure compared to 'perf record -e cycles'? Explain when you would prefer sampling with cpu-clock or cycles and how basis of collection affects interpreting hotspots.
MediumTechnical
0 practiced
Given vmstat, top, and iostat outputs sampled during a 5-minute incident, outline a reproducible method to correlate CPU, memory, and I/O spikes to identify the root cause. What timestamps and metrics are most important for accurate correlation?
EasyTechnical
0 practiced
Write a single-line shell command (or small pipeline) using ps, awk, or top that lists the top 5 processes by resident memory (RSS) including PID, user, RSS in MiB, and command. Explain any caveats when using RSS to estimate true memory usage.

Unlock Full Question Bank

Get access to hundreds of Advanced Linux Performance and Services interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.