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 - There are 2 programs which confirm a write into Hbase. One is write-ahead log(WAL) and the other one is

A - Mem confirm log

B - Write complete log

C - log store

D - Memstore

Answer : D

Explanation

The write access log and Memstore confirm the writing of a Hbase value.

Answer : A

Explanation

At the end of major compaction one column family gets one HFile.

Q 3 - Filters in Hbase can be applied to

A - Rowkeys

B - Column qualifiers

C - Data values

D - All of the above

Answer : D

Explanation

Filetrs can be applied to rowkeys,column qualifiers and data values.

Q 4 - The two tables which are used to find where regions of various tables are hosted are

A - Regiontab and Metatab

B - Regionbase and Metabase

C - ROOT- and .META.

D - ROOT- and .REGION.

Answer : C

Explanation

The ROOT_ and >META> table hold the data to find the location of regions.

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.

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 - Which filer accepts the pagesize as a parameter?

A - Columnfilter

B - Valuefilter

C - Pagefilter

D - Keyfilter

Answer : C

Explanation

This filter gives the query result in different pages using Pagesize parameter.

Q 9 - If one single column family exceeds the maximum file size specified by Hbase configuration then

A - Data load error is encountered

B - The column family is dropped

C - The data in the column family is truncated

D - The region is split

Answer : D

Explanation

Once the max file size is reached, the region is split into two.

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