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 - Which of the following is not one of the primitive commands to interact with Hbase
The five primitive commands for interacting with Hbase are Get, put, Delete, Scan and Increment.
Q 2 - While reading data from Hbase the command used to get only a specific column instead of all the columns in a column family is
The addcolumn() command displays result for specific column given as a input to this command rather than all the columns in a table, which is the default behavior.
Q 3 - The method which deletes a specific version within a cell is
The deletecolumn() deletes a specific version but deletecolumns() deletes all the versions in a cell prior to the specified version.
Q 4 - Servers that host regions of a Hbase table are called
The Regionservers are the servers which hold the regions of a Hbase table.
Q 5 - While writing to Hbase using the Mapreduce tasks, each reduce tasks writes to
The writes go to the region that is responsible for the rowkey that is being written by the reduce task.
Q 6 - In the pseudo-distributed mode, Hbase runs on
In pseudo-distributed mode Hbase can run on either local file system or HDFS but not both.
Q 7 - What does the following command do?
hbase> alter ‘t1′, NAME => ‘f1′, MIN_VERSIONS => 2
The command keeps a minimum of 2 versions of all columns in column family f1.
Q 8 - Which filer accepts the pagesize as a parameter?
This filter gives the query result in different pages using Pagesize parameter.
Q 9 - When a region does not have recovered.edits file, it indicates,
Only the write-ahead replay cerates the recovered.edits file
Q 10 - The Hbase block size and the HDFS block size
The HBAse and HDFS block sizes are not related. A HFile can spread over multiple HDFS blocks.