HBase Online Quiz


Advertisements


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 - Columns in Hbase are organized to

A - Column Group

B - Column families

C - Column list

D - Column base

Answer : B

Explanation

In Hbase columns are organized to column families.

Answer : D

Explanation

All the three events of creating,modifying and Deleting a record create a new version of the record inHbase.

Q 3 - The data in a cell in Hbase table is identified using the four coordinates. Three of which are − rowkey,column family and column qualifier. The fourth coordinate used to identify each value in a cell is

A - Sequence number

B - Version number

C - Serial number

D - table name

Answer : B

Explanation

In every cell Hbase stores the version number for each piece of data along with the value. So the version number is the fourth coordinate which identifies the exact piece of data.

Answer : D

Explanation

The region gets split into small regions when it grows bigger in size.

Q 5 - In a Map-Side join, we take rows from one table and map it with rows from the other table. The size of one of the table should be

A - Enough to fit into memory

B - Half the size of the other table

C - Double the size of the other table

D - Small enough to be located in one physical machine

Answer : A

Explanation

If you join two datasets where at least one of them can fit in memory of the map task,then load the smaller dataset into a hash-table so the map tasks can access it while iterating over the other dataset. In these cases, you can skip the Shuffle and Reduce Steps entirely and emit your final

output from the Map Step.

Answer : A

Explanation

In standalone mode Hbase runs only on the local file system.

Q 7 - The schema level changes to table or column families(like region size, block size etc) are reflected

A - Immediately after the changes

B - Only after a major compaction

C - Only after a minor compaction

D - Restarting the Regionserver.

Answer : B

Explanation

Only after a major compaction and the StoreFiles get re-written the schema level changes are available.

Q 8 - The class which ised to pool client API instances to the Hbase cluster is

A - HTable()

B - HPool()

C - HBasepool()

D - HTablePool()

Answer : D

Explanation

The Htable pool is used to pool the client API instances to the Hbase cluster.

Q 9 - The metadata of region is accessed using the file named

A - .metainfo

B - .metaregion

C - .regioninfo

D - .regionmetainfo

Answer : C

Explanation

The file .regioninfo stores the metadata information.

Q 10 - In which scenario nothing is written in the WAL on HBase?

A - Record updates

B - Record Deletes

C - Bulk export

D - Bulk Load

Answer : D

Explanation

during the bulk load process nothing gets written to the WAL.


hbase_questions_answers.htm

Advertisements