Premium

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



Question : You have created an advertising application based on HBase called Acmeshell
in Acmeshell you wish to insert text using the add method, with the add text you also want to store the time when the click happened
on the advertisement, in HBase select the correct syntax so that you can also store click timestamp using the Put class?
  :  You have created an advertising application based on HBase called Acmeshell
1. put.add(column_family, column_qualifier, data, click_timestamp)

2. put.add(column_family, column_qualifier, click_timestamp, data)

3. Access Mostly Uused Products by 50000+ Subscribers

4. put.insert(click_timestamp, column_family, column_qualifier, data)




Correct Answer : Get Lastest Questions and Answer :

HBase uses the Put class to write (store data) to an HBase row.

The Put class has add() method with a timestamp input parameter.

The add() method also takes the input parameters: column family, column qualifier, timestamp,and data.

Used to perform Put operations for a single row.

To perform a Put, instantiate a Put object with the row to insert to and for eachumn to be inserted, execute add or add if setting the timestamp.
public Put add(byte[] family,
byte[] qualifier,
long ts,
byte[] value)
Add the specified column and value, with the specified timestamp as its version to this Put operation.
Parameters:
family - family name
qualifier - column qualifier
ts - version timestamp
value - column value




Question :

To drop a table it must be first disable ?
 :
1. True
2. False



Correct Answer : Get Lastest Questions and Answer :





Question :

To change the column families it is not necessary to disable
the table
 :
1. True
2. False


Correct Answer : Get Lastest Questions and Answer :

In case of changing the column families
Must disable the table first



Related Questions


Question :

When you are designing a Column Families, so what makes you think for keeping the data in different column families
  :
1. By Default each enity should be kept in different column family
2. Data that is not frequently accessed together should be kept in different Column Family
3. Data which used different compression methods
4. 1,2 and 3 are correct
5. Only 2 and 3 are correct





Question :

Select the correct option for HBase table
  :
1. Physically stored on a per-column family basis.
2. Empty cells are not stored
3. Each cell has a timestamp
4. Multiple version of a cell can exist
5. All of the above




Question :

When HBase is compared with RDBMS then which statement is true.
  :
1. HBase automatically partitions data in regions
2. HBase does not support explicit joins
3. A lookup by row key implicitly joins data from column families if necessary
4. All of the above
Solution : 15



Question :HBase tables are considered as a distributed sorted map, in this case which is the key part


  :HBase tables are considered as a distributed sorted map, in this case which is the key part
1. Row Key
2. Column Key
3. Timestamp
4. All 1,2 and 3 are correct
5. None of the above is correct




Question :

In a column families all the column members ..
  :
1. Have same prefix
2. "collon" is delimits the CF from the qualifier
3. Columns can be created on the fly
4. All of the above






Question : Tuning and storage specification must be declared on column family level

  : Tuning and storage specification must be declared on column family level
1. True
2. False