Hadoop Zookeeper MCQs
Hadoop Zookeeper MCQs : This section focuses on "ZooKeeper" in Hadoop. These Multiple Choice Questions (MCQ) should be practiced to improve the Hadoop skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. which of the following is incorrect statement?
A. ZooKeeper is a distributed co-ordination service to manage large set of hosts.
B. ZooKeeper allows developers to focus on core application logic without worrying about the distributed nature of the application.
C. ZooKeeper solves this issue with its simple architecture and API.
D. The ZooKeeper framework was originally built at "Google" for accessing their applications in an easy and robust manner
View Answer
Ans : D
Explanation: Option D is incorrect : The ZooKeeper framework was originally built at "Yahoo!" for accessing their applications in an easy and robust manner
2. Which of the following is a benefits of distributed applications?
A. Scalability
B. Transparency
C. Reliability
D. All of the above
View Answer
Ans : D
Explanation: All options are the benefits of distributed applications.
3. ZooKeeper itself is intended to be replicated over a sets of hosts called ____________.
A. chunks
B. ensemble
C. subdomains
D. None of the above
View Answer
Ans : B
Explanation: As long as a majority of the servers are available, the ZooKeeper service will be available.
4. The underlying client-server protocol has changed in version _______ of ZooKeeper.
A. 3.0.0
B. 3.1.0
C. 3.1.1
D. 4.0.0
View Answer
Ans : A
Explanation: Old pre-3.0.0 clients are not guaranteed to operate against upgraded 3.0.0 servers and vice-versa.
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 above
View Answer
Ans : D
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. Helprace is using ZooKeeper on a _______ cluster in conjunction with Hadoop and HBase.
A. 3-node
B. 2-node
C. 5-node
D. 4-node
View Answer
Ans : A
Explanation: Zookeeper is used to manage a system build out of hadoop, katta, oracle batch jobs and a web component.
7. Which of the following is correct challenges that are faced by distributed applications?
A. Race condition
B. Deadlock
C. consistency
D. Both A and B
View Answer
Ans : D
Explanation: Race condition, Deadlock and Inconsistency are the correct challenges of distributed applications.
8. You need to have _________ installed before running ZooKeeper.
A. C
B. C++
C. Java
D. Python
View Answer
Ans : C
Explanation: Client bindings are available in several other languages.
9. How many types of special znodes are present in Zookeeper?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : B
Explanation: There are two special types of znode: sequential and ephemeral.
10. Which of the following is not a services provided by ZooKeeper?
A. Naming service
B. Identity Service
C. Leader election
D. Cluster management
View Answer
Ans : B
Explanation: Identity Service is not a service provided by ZooKeeper.
Discussion
Aakash Garg
In Ques.9, There must be [A] the right answer.