Pergunta de entrevista da empresa Infosys

Repository classes will be registered in which DI lifetime and why?