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

Q 1 - The Value that is unique across all the rows in Hbase table is

A - Rownum

B - RowIndex

C - RowID

D - RowKey

Answer : D

Explanation

Rowkey is the value which is the unique values across all the rows.

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 - A scan returns bulk of rows. But only a selected few rows can be fetched form a scan using a

A - Group by clause

B - Minimize clause

C - Subset clause

D - Filter clause

Answer : D

Explanation

The filer clause is used to retrun only a specific set of records and not the entire result of the scan.

Q 4 - A small chunk of data residing in one machine which is part of a cluster of machines holding one Hbase table is known as

A - Split

B - Region

C - Rowarea

D - Tablearea

Answer : B

Explanation

A region in Hbase table represents a small chunk of data which is part of a large Hbase table distributed across many servers.

Q 5 - The number of namespaces, HDFS provides to the regionservers of a Hbase database is

A - Equal to number of regionserver

B - Half of the number of regionserver

C - Double the number of regionserver

D - One

Answer : D

Explanation

HDFS provides a single namespace to all the RegionServers,and any of them can access the persisted files from any other Regionserver.

Q 6 - If we choose the rowkey to be a timestamp then inserting data to such a Hbase table will be

A - Faster than a numeric rowkey data

B - Slower than a numeric rowkey data

C - Same performance as rowkey data

D - Cannot be predicted.

Answer : B

Explanation

If the rowkey is made as timestamp then it will always be written to a specific region and at the end of the table, overloading just one machine holding that region. SO it will be slower than other type of rowkey.

Answer : C

Explanation

Using TTL Hbase will delte all the rows that has reached the expiration time.

Q 8 - The type of coprocessors which are similar to the stored procedures in relational database is

A - Store coprocessor

B - Parallel coprocessor

C - Observer

D - Endpoint

Answer : D

Explanation

The Endpoint type of coprocessor is similar to the data abse store dprocedure in relational systems.

Answer : D

Explanation

The column qualifier can be left empty and still written to and read from. ALos it can not be renamed after it is created

Answer : D

Explanation

The Regionservers slaves are managed by the Hbase Master node

hbase_questions_answers.htm
Advertisements