Hadoop HBase MCQs
Hadoop HBase MCQs : This section focuses on "HBase" 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 correct statement?
A. HBase is a distributed column-oriented database
B. Hbase is not open source
C. Hbase is horizontally scalable.
D. Both A and C
View Answer
Ans : D
Explanation: HBase is a distributed column-oriented database built on top of the Hadoop file system. It is an open-source project and is horizontally scalable.
2. which of the following is not a feature of Hbase?
A. HBase is lateral scalable.
B. It has automatic failure support.
C. It provides consistent read and writes.
D. It has easy java API for client.
View Answer
Ans : A
Explanation: Option A is incorrect because HBase is linearly scalable.
3. When did HBase was first released?
A. April 2007
B. March 2007
C. February 2007
D. May 2007
View Answer
Ans : C
Explanation: HBase was first released in February 2007. Later in January 2008, HBase became a sub project of Apache Hadoop.
4. Apache HBase is a non-relational database modeled after Google's _________
A. BigTop
B. Bigtable
C. Scanner
D. FoundationDB
View Answer
Ans : B
Explanation: Bigtable acts up on Google File System, likewise Apache HBase works on top of Hadoop and HDFS.
5. HBaseAdmin and ____________ are the two important classes in this package that provide DDL functionalities.
A. HTableDescriptor
B. HDescriptor
C. HTable
D. HTabDescriptor
View Answer
Ans : A
Explanation: Java provides an Admin API to achieve DDL functionalities through programming.
6. which of the following is correct statement?
A. HBase provides fast lookups for larger tables.
B. It provides low latency access to single rows from billions of records
C. HBase is a database built on top of the HDFS.
D. All of the above
View Answer
Ans : D
Explanation: All the options are correct.
7. HBase supports a ____________ interface via Put and Result.
A. bytes-in/bytes-out
B. bytes-in
C. bytes-out
D. None of the above
View Answer
Ans : A
Explanation: Input could be strings, numbers, complex objects, or even images as long as they can rendered as bytes.
8. Which command is used to disable all the tables matching the given regex?
A. remove all
B. drop all
C. disable_all
D. None of the above
View Answer
Ans : C
Explanation: The syntax for disable_all command is as follows : hbase > disable_all 'r.*'
9. _________ is the main configuration file of HBase.
A. hbase.xml
B. hbase-site.xml
C. hbase-site-conf.xml
D. hbase-conf.xml
View Answer
Ans : B
Explanation: Set the data directory to an appropriate location by opening the HBase home folder in /usr/local/HBase.
10. which of the following is incorrect statement?
A. HBase is built for wide tables
B. Transactions are there in HBase.
C. HBase has de-normalized data.
D. HBase is good for semi-structured as well as structured data.
View Answer
Ans : B
Explanation: No transactions are there in HBase.
Discussion