crealytics interview question

How zookeeper works internally?