Performance Analysis & Benchmarking Flashcards
7 cards from real CTP practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Performance Analysis & Benchmarking flashcards as text
A web service shows a 50 ms average response time, but users complain about slowness. Which metric best reveals the experience of the slowest users?
Answer: 95th or 99th percentile latency
Tail percentiles such as p95/p99 expose the slow requests that averages hide.
According to Little's Law, if a system processes 200 requests per second and the average time in the system is 0.5 seconds, how many requests are in the system on average?
Answer: 100
Little's Law states L = λ × W, so 200 × 0.5 = 100 requests.
A program spends 80% of its runtime in code that can be parallelized. Under Amdahl's Law, what is the maximum theoretical speedup with unlimited processors?
Answer: 5x
The maximum speedup is 1 / (serial fraction) = 1 / 0.2 = 5x.
Why should benchmark runs usually include a warm-up period before measurements are recorded?
Answer: To fill caches, JIT-compile code, and reach steady state
Warm-up lets caches, JIT compilers, and connection pools stabilize so results reflect steady-state performance.
A server's CPU usage is 15%, but the disk queue length stays consistently high and response times are poor. What is the most likely bottleneck?
Answer: Storage I/O
A persistently high disk queue with low CPU indicates the system is waiting on storage I/O.
Which type of test gradually increases load until the system fails, in order to find its breaking point?
Answer: Stress test
Stress testing pushes load beyond normal limits to find where and how the system fails.
What is the main purpose of establishing a performance baseline?
Answer: To provide a reference point for comparing future measurements
A baseline captures normal behavior so that later changes or regressions can be detected.
Written and edited by Nathan Beja, founder of Practice Test Geeks, with AI assistance. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Editorial policy