1 / 5
Fill in: 'We ___ a distributed lock before a worker touches a shared resource across multiple nodes.'
-
-
-
-
We 'acquire a lock' — the standard, established collocation for claiming exclusive access. The other options aren't the recognised term here.
2 / 5
Fill in: 'A lock held without a lease can ___ every other worker waiting forever if the holder crashes.'
-
-
-
-
We say an unleased lock will 'leave' workers waiting — the standard, natural collocation here. The other options aren't idiomatic here.
3 / 5
Fill in: 'We ___ a short TTL on every lock so a crashed holder never blocks progress indefinitely.'
-
-
-
-
We 'attach a TTL' — the standard collocation for tying an expiry to a held resource. The other options aren't idiomatic here.
4 / 5
Fill in: 'We ___ lock contention under load to see whether workers are spending more time waiting than working.'
-
-
-
-
We 'measure' contention — the standard, simple collocation. The other options are less idiomatic here.
5 / 5
Fill in: 'We ___ a lock immediately once a worker finishes so the next one isn't kept waiting needlessly.'
-
-
-
-
We 'release a lock' — the standard, established collocation for giving up exclusive access. The other options aren't the recognised term here.