InterviewStack.io LogoInterviewStack.io

System Resource Management and Monitoring Questions

Monitor and manage operating system and hardware level resources to ensure application performance and stability. Topics include central processing unit utilization and context switching, system load trends, memory usage including heap and stack behavior, paging and swapping effects, disk input output operations and free space, and network bandwidth utilization and packet loss. Know diagnostic tools and commands for observing these signals, recognize patterns of resource contention and exhaustion such as out of memory and high input output wait, and understand mitigation techniques including tuning, resource limits, throttling, caching, capacity planning, and vertical or horizontal scaling.

EasyTechnical
83 practiced
Explain how cgroups and ulimits can be used to enforce CPU and memory limits for processes and containers. Give examples of how to set MemoryMax and CPUQuota in a systemd unit file and cpu/memory limits for Docker. Explain how the OOM killer interacts with cgroup-limited processes.
EasyTechnical
40 practiced
Describe differences between heap and stack memory for a process. Explain typical causes of heap exhaustion versus stack overflow, how language runtimes (e.g., JVM, Go) manage heap growth, and which tools/commands you'd use to inspect process memory (pmap, /proc/<pid>/smaps, jmap, pprof, heap dumps).
HardTechnical
47 practiced
A Java microservice is occasionally OOM-killed during GC compaction. Propose immediate JVM and container-level mitigations (Xmx, Xms, GC logging, -XX:+ExitOnOutOfMemoryError, container memory limits), plus long-term fixes (heap tuning, memory profiling, avoiding large pause-causing alloc patterns). Also outline monitoring signals that would detect regressions.
HardTechnical
58 practiced
You're balancing reliability engineering work (monitoring, tuning, capacity planning) against product feature development. Describe your approach to prioritizing resource-management and monitoring improvements, how you present tradeoffs and ROI to product teams and engineering leadership, and how you measure and track the impact of reliability investments.
EasyTechnical
44 practiced
Explain the meaning and interpretation of Linux load average (the 1, 5 and 15 minute values). How does load average relate to CPU cores and runnable processes? Describe how you would interpret a load average of 24 on a 8-core machine and what commands you would run to find contributing processes.

Unlock Full Question Bank

Get access to hundreds of System Resource Management and Monitoring interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.