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.

EasyTechnical
24 practiced
Given /proc/meminfo shows low free memory but high cached memory, explain whether this necessarily means the system is under memory pressure. What command(s) would you run to validate and what result would confirm healthy caching versus dangerous memory pressure?
HardSystem Design
30 practiced
Hard: Design a capacity planning exercise for a new service that will run on VMs: list required measurements to collect during benchmarking and in production, explain how you model headroom for spikes, and how to convert observed metrics (CPU steal, iowait, context switches) into provisioning decisions.
EasyTechnical
36 practiced
Define cgroups (control groups) at a high level and explain the difference between cgroups v1 and cgroups v2. As an SRE, why would you prefer cgroups v2 for new deployments?
HardSystem Design
31 practiced
Hard: Design a robust automated remediation system for a fleet that detects when a service exceeds CPU quota in its cgroup for sustained periods and automatically moves it to a lower priority slice or scales out replicas. Define detection logic, safe remediation steps, and how to avoid cascading remediation causing more instability.
HardTechnical
33 practiced
Hard: Provide a checklist and sequence of commands to produce a comprehensive performance packet for a single host after a reproducible 2-minute performance degradation window: include logs, perf data, iostat, sar, vmstat, top, and network stats. Explain how you ensure privacy/security when collecting traces from production.

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.