Performance Engineering & Gatling Mastery Quiz¶
Test your command of performance testing theory, mathematical scalability laws, workload modeling, observability, and Gatling simulation design.
Quiz results are saved to your browser's local storage and will persist between sessions.
Part 1: Performance Testing Foundations & Metrics¶
#
- Which type of performance test runs at normal/expected production traffic over 8–24+ hours specifically to uncover memory leaks, connection pool leaks, and gradual degradation?
#
- You run a 10,000-request load test. 9,900 requests finish in 40 ms, and 100 requests take 4,000 ms due to JVM Full GC pauses. Which statement is true?
#
- Why is averaging P99 latencies across 5 application servers (e.g.,
(p99_node1 + ... + p99_node5) / 5) mathematically invalid?
#
- An API has an Apdex target threshold
T = 200 ms(so Tolerating is200 ms–800 ms, Frustrated is> 800 msor error). Out of 1,000 requests: 800 complete in< 200 ms, 150 complete in400 ms, and 50 take1,200 ms. What is the Apdex score?
#
- Select ALL metrics included in Google SRE's Four Golden Signals (multiple answers apply):
Part 2: Mathematical Laws & Workload Modeling¶
#
- By Little's Law (
N = X × (R + Z)), how many concurrent closed-loop virtual users are required to drive 200 RPS when average response timeR = 0.5 sand average user think timeZ = 4.5 s?
#
- According to M/M/1 queuing theory (
R = S / (1 - ρ)), when a resource's utilizationρrises from 50% to 90%, how much does total response timeRincrease (assuming constant service timeS)?
#
- What happens when a load generator suffers from Coordinated Omission during a 2-second server freeze?
#
- Which hierarchy correctly distinguishes SLI, SLO, and SLA?
Part 3: Gatling Architecture & Java DSL¶
#
- Why can a single Gatling JVM simulate 10,000+ concurrent virtual users while traditional thread-per-user tools hit memory/CPU walls much earlier?
#
- Which feeder strategy wraps back around to the first row of
users.csvonce the end of the file is reached, preventing"Feeder is now empty, stopping engine"errors in long tests?
#
- In Gatling Expression Language (EL), what syntax injects the session attribute
productIdinto a URL path orElFileBodytemplate?
#
- Select ALL valid ways to prevent your load generator or staging test from producing misleading results (multiple answers apply):
#
- Fill in the blank: In Gatling's
HttpDsl, the check method used to extract a field from a JSON response using a JSONPath expression like$.idis<!--BLANK_PLACEHOLDER_0-->.
Quiz Progress
0 / 0 questions answered (0%)
0 correct