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 : B

Explanation

A single HF file can be associated with only one column family.

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 - Servers that host regions of a Hbase table are called

A - RegionServers

B - Regional servers

C - Hbase Servers

D - Splitservers

Answer : A

Explanation

The Regionservers are the servers which hold the regions of a Hbase table.

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 - The table descriptor can be used only for which type of coprocessors?

A - Region-related

B - Master–related

C - WAL-related

D - Column Family related

Answer : A

Explanation

The table descriptors are used only for the Region servers hence the region related coprocessors.

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 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