Pergunta de entrevista da empresa INDmoney

How is consensus achieved in distributed systems?