Pergunta de entrevista da empresa AXA

Explain dependency Injection. How would you anticipate and handle failed transactions in a finance system?