Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Apache Zookeeper Online Test

Topics Covered

  • Configuring ZooKeeper ensemble
  •  Multimode configuration
  •  ZooKeeper operations
  •  Monitoring ZooKeeper service
  •   Deploying Zookeeper

Useful for hiring

  • Apache Zookeeper Administrator
  • Apache Zookeeper Admin
  • Apache Zookeeper DBA

Start hiring job-fit candidates using this assessment


"Finding quality talent is a challenge more so when you consider the sheer number of resumes we get each year. To top this, the time we spent on our recruitment process was humongous. Interview Mocha helped us to cut down on our candidate filtration time by 40%, making it our preferred assessment tool."

Pedro Furtado, Altran,
Capacity Manager

Two-phase commit (2PC) protocol is a distributed algorithm that is used in zookeeper to coordinate all the processes that participate in a distributed transaction. Analyze the given statements regarding the 2PC protocol and select the correct option?

Statement A: 2PC protocol consists of three phases and in the first phase, coordinator nodes aks all the participating processes to prepare and vote to either commit or abort the transaction.
Statement B: If all participants voted for commit, it commits the transaction; otherwise, it aborts it. It finally notifies the result to all the participants.

    • Only Statement A is correct

    • Only Statement B is correct

    • Both the statements are correct

    • Both the statements are false


You are monitoring the Zookeeper service through the command port by using the four letter commands provided by Zookeeper. Which of the following commands will you use if you want the list of all outstanding sessions and ephemeral nodes?

    • wchp

    • stat

    • cons

    • dump

    • mntr


You are deploying Zookeeper in a cluster. During the process, you must ensure that each machine in the ensemble must know about every other machine in the ensemble. Which of the following series of lines should you use to accomplish the required criteria?






Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates