InterviewStack.io LogoInterviewStack.io

Performance Profiling & Bottleneck Analysis Questions

Techniques for measuring where time and resources go in a running system and isolating the dominant bottleneck. Covers CPU/memory/allocation profiling, flame graphs, sampling vs instrumentation, hotspot identification, and distinguishing symptom from root cause. Emphasizes forming a measurement-first hypothesis before optimizing rather than guessing.

MediumTechnical
55 practiced

You observe low CPU usage but steadily increasing iowait and disk latency on a database host. The application response time is degrading. Provide a medium-depth investigation plan: which metrics and logs to collect, which commands to run to isolate whether the problem is host-level, storage array-level, or application-driven, and a likely short-term mitigation.

EasyTechnical
52 practiced

You open the monitoring dashboard and see one web server with CPU at 95%, load average 12 on a 4-core machine, and response latency spiking to 1.5 seconds. Describe the step-by-step triage workflow you would execute in the first 15 minutes to identify the root cause and mitigate user impact. Include commands, checks, and quick mitigations you might apply.

HardTechnical
63 practiced

A transactional database reports increased average read latency while QPS remains constant and connection wait times increase. Describe how you would profile queries, analyze index usage and buffer pool behavior, and propose at least four tuning steps that could reduce read latency. Include both schema/query changes and server-level configuration.

EasyTechnical
52 practiced

An application owner reports slow page loads. On the affected server you see many processes in 'D' state and high iowait but low CPU usage. Provide a concise triage checklist of commands and checks you would run, in order, to confirm the source of the problem and a quick mitigation to restore responsiveness.

MediumTechnical
68 practiced

A production process's resident memory increases by 100MB every hour and eventually triggers OOM kills. Describe a methodical approach to find whether this is a native memory leak, GC tuning issue, or intentional cache growth, including commands, profiling tools, and short-term mitigations to prevent OOM.

That is every published Performance Profiling & Bottleneck Analysis question for Systems Administrator so far. Browse the other topics in this category, or practice this one interactively.