Skip to content
Sharp

Service Design · interview question

Which option describes the most likely pitfall around dependency injection?

Multiple choiceMediumchapter-13-curatedpremiumservice-designdependency-injection
Choose one answer
Answer and explanation

Correct answer

A. Global hidden dependencies make route behavior harder to predict and harder to override in tests.

Why

Global hidden dependencies make route behavior harder to predict and harder to override in tests. Calling out that risk matters because candidates who speak clearly about seams and ownership sound more maintainable.

Test yourself on Service Design

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

Start free test
All Service Design questions →