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.
Q 1 - The Value that is unique across all the rows in Hbase table is
Rowkey is the value which is the unique values across all the rows.
Q 2 - The addFamily() command is used for
The addFamily() command displays all the columns of a specific column family.
Q 3 - The command which allows you to change an integer value stored in Hbase cell without reading it first is
The incrementcolumnvlaue() command increments the value stored in a Hbase cell without reading it first.
Q 4 - Typically a Hbase Regionserver is collocated with
The Regionservers are collocated with the datanode of a HDFS system.
Q 5 - In Hbase we can create index on
Hbase creates indexes only on the columns that cat as key( the rowkey)
Q 6 - Which of the following pair is an option for effectively distributing the data across multiple regions?
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.
Q 7 - All data returned from a Hbase query is sorted. They are sorted by
They result from Hbase is sorted by
ColumnFamily,,Column qualifier, rowkey,,timestamp
Q 8 - Which filter accepts chance as a parameter?
The Random filter which returns a random row uses the chance parameter. Example- RandomRowFilter(float chance)
Q 9 - The Hfile contains variable number of blocks. One fixed blocks in it is the block named file info block and the other one is
in an Hfile only the file infor block and trailer blocks are fixed. All others are optional.
Q 10 - The exported data using the inbuilt export utility from Hbase table is in which file format
The data exported from Hbase table using the inbuilt export utility is in sequence file format.