Premium

Mapr (HP) HBase Developer Certification Questions and Answers (Dumps and Practice Questions)



Question : You have data already stored in HDFS and are considering using HBase. Which additional feature does HBase provide to HDFS ?



 : You have data already stored in HDFS and are considering using HBase. Which additional feature does HBase provide to HDFS ?
1. Random Writes
2. Batch Processing
3. Access Mostly Uused Products by 50000+ Subscribers
4. Scalablity



Correct Answer : Get Lastest Questions and Answer :

Answer with explanation:

HBase adds random read/write access to HDFS

Hadoop is scalable but..
* MapReduce slow and difficult
* Does not support random writes
* Poor support for random reads





Question :


Your client application calls the following method for all puts to the single table notiifcations put.setWriteToWAL(false);
One region, region1 for the notifications table is assigned to RegionServer rs1. Which of the following statements describes the result of
RegionServer rs1 crashing ?


 :
1. All data in the notifications table is lost
2. No data is lost
3. Access Mostly Uused Products by 50000+ Subscribers
4. Data for your client application in the MemStores for region1 is lost.




Correct Answer : Get Lastest Questions and Answer :


Explanation: HBase uses write Ahead Log, if you dont write to it you will lose all the data thats only in the memstores when a region server fails.
This setting is useful for importing a lot of data.






Question :

Which of the following configuration values determines automated splitting ?



 :
1. hbase.hregion.majorcompaction
2. hbase.hregion.flush.size
3. Access Mostly Uused Products by 50000+ Subscribers
4. hbase.hregion.max.filesize



Correct Answer : Get Lastest Questions and Answer :

Answer with explanation:

Consider going to larger regions to cut down on the total number of regions on your cluster. Generally less
Regions to manage makes for a smoother running cluster (You can always latermanually split the big Regions
should one prove hot and you want to spread the request load over the cluster). A lower number of regions is
preferred, generally in the range of 20 to low- hundreds per RegionServer. Adjust the regionsize as
appropriate to achieve this number.

For the 0.90.x codebase, the upper-bound of regionsize is about 4Gb, with a default of 256Mb. For 0.92.x
codebase, due to the HFile v2 change much larger regionsizes can be supported (e.g., 20Gb).
You may need to experiment with this setting based on your hardware configuration and application needs.
Adjust hbase.hregion.max.filesize in your hbase-site.xml. RegionSize can also be set on a per- table basis via
HTableDescriptor.



Related Questions


Question : MapR-DB is faster than HBase ?
 : MapR-DB is faster than HBase ?
1. True
2. False


Question : Which all are the key-features of MapR-DB
A. Multi-master, real-time table replication
B. Row/document-level ACID transactions
C. Kerberos/LDAP integration, and easy-to-configure native authentication
D. HA/DR, instant recovery, and point-in-time recovery
 : Which all are the key-features of MapR-DB
1. A,B,C
2. B,C,D
3. Access Mostly Uused Products by 50000+ Subscribers
4. A,D
5. A,B,C,D


Question :

From within an HBase application, you would like to create a new table named weblogs. You have started with
the following Java code:
HBaseAdmin admin = new HBaseAdmin (conf);
HTableDescriptor t = new HTableDescriptor("weblogs");
Which of the following method(s) would you use next?

  :
1. admin.createTable(t);admin.enable.Table(t);
2. admin.createTable(t);
3. Access Mostly Uused Products by 50000+ Subscribers
4. HTable.createTable(t);





Question :

You want to do mostly full table scans on your data. In order to improve performance you increase your block
size. Why does this improve your scan performance?

  :
1. It does not. Increasing block size does not improve scan performance.
2. It does not. Increasing block size means that fewer blocks fit into your block cache. This requires HBase to
read each block from disk rather than cache for each scan, thereby decreasing scan performance.
3. Access Mostly Uused Products by 50000+ Subscribers
4. Increasing block size means fewer block indexes that need to be read from disk, thereby increasing scan performance.





Question :

Your client application connects to HBase for the first time and queries the .META. table. What information
does the .META. table provide to your client application?

  :
1. The location of a Region
2. The location of an MMaster
3. Access Mostly Uused Products by 50000+ Subscribers
4. The location of a ROOT table
5. The location of a RegionServer
http://www.training4exam.com/hbase-regions-and-hbase-regionservers





Question :

You have a table where keys range from "A" to "Z", and you want to scan from "D" to "H." Which of the
following is true?

  :
1. A MultiGet must be issued for rows D, E, F, G, H.
2. The scan class supports ranges via the stop and start rows.
3. Access Mostly Uused Products by 50000+ Subscribers
4. In order to range scan, raw scan mode must be enabled.