Skip to content
Sharp

Service Design · interview question

Which explanation would sound strongest in an interview when discussing dependency injection?

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

Correct answer

B. Inject repositories and services at boundary seams so tests and reasoning stay local and explicit. Candidates who speak clearly about seams and ownership sound more maintainable.

Why

Interviewers usually care less about keywords than about whether you can explain why the code is shaped the way it is.

Test yourself on Service Design

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

Start free test
All Service Design questions →