Skip to content
Sharp

Networking · interview question

How would you explain a potential risk of not setting a timeout in network requests in an interview?

Multiple choiceHardchapter-11-curatedpremiumnetworkinghttpclient-basics
Choose one answer
Answer and explanation

Correct answer

A. Requests might hang indefinitely

Why

Without a timeout, network requests may hang indefinitely if the server fails to respond, leading to resource exhaustion and potential application unresponsiveness.

Test yourself on Networking

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

Start free test
All Networking questions →