Consensus and CoordinationReplication told you how to keep copies of data in sync. This lesson answers the…