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 - The number of HF files, one column family in Habse can have is

A - Equal to number of columns in the column family

B - More than one

C - Only one

D - Only tow

Answer : B

Explanation

Onr column family can have multiple HF files associated with it.

Q 2 - The deleted records in Hbase are stored in the file known as Tombstone. Then the space in freed only by truly removing these records from Hbase. This process is known as

A - Compaction

B - Retraction

C - Consolidation

D - Separation

Answer : A

Explanation

The process of merging tombstone files and creating a new HFile only containing the records not marked for delete is known as compaction.

Answer : D

Explanation

Every row in a table has the same column families, although a row need not store data in all its families.

Q 4 - The size of a individual region is governed by the parameter

A - Hbase.region.size

B - Hbase.region.filesize

C - Hbase.region.max.filesize

D - Hbase.max.region.size

Answer : C

Explanation

The parameter Hbase.region.max.filesize is present in hbase-site.xml and it is configured to decide the size of the region.

Answer : A

Explanation

HBase stores its data on a single file system. It assumes all the RegionServers have access to that file system across the entire cluster.

Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?

A - Hashing, salting

B - Hashing, threading

C - Salting, windowing

D - Threading, salting

Answer : A

Explanation

Hashing the rowkeys gives randomly distributed values and salting involves adding a random number to the rowkey. Both these options create a good distribution of keys to be used across multiple regions.

Answer : B

Explanation

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

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

Q 10 - In Hbase there are two situations when the WAL logfiles needs to be replayed. One is when the server fails. The other is when

A - The logs are full

B - Rows are deleted.

C - The cluster fails

D - Rows are updated

Answer : C

Explanation

The only two instances when the logs are replayed is when cluster starts or the server fails.


hbase_questions_answers.htm

Advertisements