Skip to content
Sharp

Distributed Resilience · interview question

What role does a circuit breaker play in preventing thread exhaustion in a Java application?

Multiple choiceMediumchapter-18-curatedpremiumdistributed-resiliencecircuit-breakers
Choose one answer
Answer and explanation

Correct answer

C. It stops threads from waiting indefinitely on a non-responsive service.

Why

A circuit breaker stops threads from being blocked on a non-responsive service by quickly failing requests, thus preventing resource exhaustion and maintaining system stability.

Test yourself on Distributed Resilience

A free test with instant, explained results. No account needed.

Start free test
All Distributed Resilience questions →