This set of Hadoop Multiple Choice Questions & Answers (MCQs) focuses on “Introduction to HBase”.
1. HBase is a distributed ________ database built on top of the Hadoop file system.
a) Column-oriented
b) Row-oriented
c) Tuple-oriented
d) None of the mentioned
View Answer
Explanation: HBase is a data model that is similar to Google’s big table designed to provide quick random access to huge amounts of structured data.
2. Point out the correct statement.
a) HDFS provides low latency access to single rows from billions of records (Random access)
b) HBase sits on top of the Hadoop File System and provides read and write access
c) HBase is a distributed file system suitable for storing large files
d) None of the mentioned
View Answer
Explanation: One can store the data in HDFS either directly or through HBase. Data consumer reads/accesses the data in HDFS randomly using HBase.
3. HBase is ________ defines only column families.
a) Row Oriented
b) Schema-less
c) Fixed Schema
d) All of the mentioned
View Answer
Explanation: HBase doesn’t have the concept of fixed columns schema.
4. Apache HBase is a non-relational database modeled after Google’s _________
a) BigTop
b) Bigtable
c) Scanner
d) FoundationDB
View Answer
Explanation: Bigtable acts up on Google File System, likewise Apache HBase works on top of Hadoop and HDFS.
5. Point out the wrong statement.
a) HBase provides only sequential access to data
b) HBase provides high latency batch processing
c) HBase internally provides serialized access
d) All of the mentioned
View Answer
Explanation: HBase internally uses Hash tables and provides random access.
6. The _________ Server assigns regions to the region servers and takes the help of Apache ZooKeeper for this task.
a) Region
b) Master
c) Zookeeper
d) All of the mentioned
View Answer
Explanation: Master Server maintains the state of the cluster by negotiating the load balancing.
7. Which of the following command provides information about the user?
a) status
b) version
c) whoami
d) user
View Answer
Explanation: status command provides the status of HBase, for example, the number of servers.
8. Which of the following command does not operate on tables?
a) enabled
b) disabled
c) drop
d) all of the mentioned
View Answer
Explanation: is_disabled command verifies whether a table is disabled.
9. _________ command fetches the contents of a row or a cell.
a) select
b) get
c) put
d) none of the mentioned
View Answer
Explanation: put command puts a cell value at a specified column in a specified row in a particular table.
10. HBaseAdmin and ____________ are the two important classes in this package that provide DDL functionalities.
a) HTableDescriptor
b) HDescriptor
c) HTable
d) HTabDescriptor
View Answer
Explanation: Java provides an Admin API to achieve DDL functionalities through programming.
Sanfoundry Global Education & Learning Series – Hadoop.
Here’s the list of Best Books in Hadoop.
- Practice Programming MCQs
- Check Hadoop Books
- Check Programming Books
- Apply for Computer Science Internship