Hadoop Questions and Answers – Introduction to HBase

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

Answer: a
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

Answer: b
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

Answer: b
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

Answer: b
Explanation: Bigtable acts up on Google File System, likewise Apache HBase works on top of Hadoop and HDFS.

advertisement
advertisement

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

Answer: c
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

Answer: b
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

Answer: c
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

Answer: b
Explanation: is_disabled command verifies whether a table is disabled.

advertisement

9. _________ command fetches the contents of a row or a cell.
a) select
b) get
c) put
d) none of the mentioned
View Answer

Answer: b
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

Answer: a
Explanation: Java provides an Admin API to achieve DDL functionalities through programming.

advertisement

Sanfoundry Global Education & Learning Series – Hadoop.

Here’s the list of Best Books in Hadoop.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.