1 / 5
Fill in: 'A code path that forgets to close a connection will ___ the pool over time.'
-
-
-
-
We say a leak will 'exhaust' the pool — the standard collocation for depleting available connections. The other options aren't idiomatic here.
2 / 5
Fill in: 'We ___ every connection in a finally block so it's released even when an error occurs.'
-
-
-
-
We 'release' a connection — the standard, established collocation for returning it to the pool. The other options aren't idiomatic here.
3 / 5
Fill in: 'We ___ pool metrics so a slow leak shows up long before connections actually run out.'
-
-
-
-
We 'monitor' metrics — the standard collocation for ongoing observation. The other options aren't idiomatic here.
4 / 5
Fill in: 'We ___ a connection timeout so a stuck query can't hold a slot forever.'
-
-
-
-
We 'set a timeout' — the standard, simple collocation for configuring a limit. The other options are less idiomatic here.
5 / 5
Fill in: 'We ___ the leak to a specific code path using pool stack traces, not guesswork.'
-
-
-
-
We 'trace' a leak — the standard collocation for following it back to its source. The other options are less idiomatic here.