This set of Interview Questions & Answers focuses on “The ZooKeeper Service – 1”.
1. Zookeeper essentially mirrors the _______ functionality exposed in the Linux kernel.
a) iread
b) inotify
c) iwrite
d) icount
View Answer
Explanation: A client can request for Zookeeper to generate the node name to avoid collisions.
2. Point out the correct statement.
a) If we are to deploy Zookeeper in a distributed environment, we have to think about both the availability and scalability of the service
b) Chubby and Hbase are both much more than a distributed lock service
c) Given a cluster of Zookeeper servers, many can act as leader
d) None of the mentioned
View Answer
Explanation: At its core, Zookeeper is modeled after a straightforward, tree based, file system API.
3. A ___________ server is a machine that keeps a copy of the state of the entire system and persists this information in local log files.
a) Master
b) Region
c) Zookeeper
d) All of the mentioned
View Answer
Explanation: A very large Hadoop cluster can be supported by multiple ZooKeeper servers.
4. ZooKeeper’s architecture supports high ____________ through redundant services.
a) flexibility
b) scalability
c) availability
d) interactivity
View Answer
Explanation: The clients can thus ask another ZooKeeper master if the first fails to answer.
5. Point out the wrong statement.
a) Cluster-wide status centralization service is essential for management and serialization tasks across a large distributed set of servers
b) Within ZooKeeper, an application can create what is called a znode
c) The znode can be updated by any node in the cluster, and any node in the cluster can register to be informed of changes to that znode
d) None of the mentioned
View Answer
Explanation: ZooKeeper provides an infrastructure for cross-node synchronization and can be used by applications to ensure that tasks across the cluster are serialized or synchronized.
6. _________ serves distributed Lucene indexes in a grid environment.
a) Katta
b) Helprace
c) Neo4j
d) 101tec
View Answer
Explanation: Zookeeper is used for node, master and index management in the grid.
7. The Email & Apps team of ___________ uses ZooKeeper to coordinate sharding and responsibility changes in a distributed email client.
a) Katta
b) Helprace
c) Rackspace
d) None of the mentioned
View Answer
Explanation: ZooKeeper also provides distributed locking for connections to prevent a cluster from overwhelming servers.
8. ZooKeeper is used for configuration, leader election in Cloud edition of ______________
a) Solr
b) Solur
c) Solar101
d) All of the mentioned
View Answer
Explanation: ZooKeeper is used for internal application development with Solr and Hadoop with Hbase.
9. Helprace is using ZooKeeper on a _______ cluster in conjunction with Hadoop and HBase.
a) 3-node
b) 4-node
c) 5-node
d) 6-node
View Answer
Explanation: Zookeeper is used to manage a system build out of hadoop, katta, oracle batch jobs and a web component.
10. The ZooKeeper Data Directory contains files which are _________ copy of the znodes stored by a particular serving ensemble.
a) transient
b) read only
c) persistent
d) none of the mentioned
View Answer
Explanation: As changes are made to the znodes these changes are appended to a transaction log, occasionally, when a log grows large, a snapshot of the current state of all znodes will be written to the filesystem.
Sanfoundry Global Education & Learning Series – Hadoop.
Here’s the list of Best Books in Hadoop.
- Check Programming Books
- Practice Programming MCQs
- Apply for Computer Science Internship
- Check Hadoop Books