INDmoney interview question

How is consensus achieved in distributed systems?