HBase Online Quiz


Following quiz provides Multiple Choice Questions (MCQs) related to HBase. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : C

Explanation

Hbase is a schema less database as it stores data in column families which does not have a fixed or rigid structure to follow.

Q 2 - When a compaction operates over all HFiles in a column family in a given region, it is called

A - Major compaction

B - Family compaction

C - Final compaction

D - Full Compaction

Answer : A

Explanation

IN a Major compaction all the HFIles of a column family for a given region are acted upon.

Q 3 - Retrieving a batch of rows in every RPC call made by an API to a HBase database is called a

A - Batch

B - Scan

C - Bulkrow

D - Grouprow

Answer : B

Explanation

When a group of records is returned from HBASE database by an API making a RPC call the process is called a scan. The number of rows to be returned by configuring the caching property.

Answer : C

Explanation

As the tables are split into chunks and distributed across machines, there is no limit to how many columns they can hold.

Q 5 - When a map tasks in a mapreduce job reads from the Hbase table, it reads from

A - One row

B - One column family

C - One column

D - One region

Answer : D

Explanation

Each map tasks reading a Hbase table reads from a region.

Answer : C

Explanation

In pseudo-distributed mode Hbase can run on either local file system or HDFS but not both.

Answer : B

Explanation

The command keeps a maximum of 5 versions of all columns in column family f1.

Answer : D

Explanation

The two classes provided by co-processors to extend it custom its functionalities are −

OBSERVER AND Endpoint.

Answer : A

Explanation

No .tmp directory indicates no compaction happened

Answer : B

Explanation

The table must be disabled before it is dropped.

hbase_questions_answers.htm
Advertisements