Premium

Cloudera HBase Certification Questions and Answers (Dumps and Practice Questions)



Question : Please select the wrong statement regarding the Version delete
 :  Please select the wrong statement regarding the Version delete
1. Deleting all the versions older than a certain timestamp can be
performed on a row, column family or a column
2. Delete version at a specific timestamp and can only be performed
on a column
3. For deletion if not timestamp is specified currentTimeMillis is
used
4. For deletion if not timestamp is specified all the versions will
be deleted

Correct Answer : 4

For Deleting Versions
Delete all versions older than a certain timestamp
Can be performed on a row, column family or a column
Delete version at a specific timestamp
Can only be performed on a column
If no timestamp is specified, currrentTimeMillis is used




Question : Which command in HBase shell you will use to list all user
tables
 :  Which command in HBase shell you will use to list all user
1. all tables
2. list
3. describe "Column Family Name"
4. status


Correct Answer : 2

Some of the command help as below
help
Lists all the shell commands
status
Shows basic status about the cluster
list
Lists all user tables in HBase
describe 'tablename'
Returns the structure of the table





Question : Which of the following syntex is correct to create t table
undre fam1
 :  Which of the following syntex is correct to create t table
1. create 't1', {NAME => 'fam1'}
2. create 't1', {NAME => 'fam1', VERSIONS => 1}
3. create 't1', 'fam1'
4. All of the above




Correct Answer : 4

To create the HBase table you can maintain following syntex
create 'tablename' , {NAME => 'colfam' [, options]} [,{...}]
create 't1', {NAME => 'fam1'}
create 't1', {NAME => 'fam1', VERSIONS => 1}
create 't1', {NAME => 'fam1'}, {NAME => 'fam2'}

Shorthand:
create 't1', 'fam1', 'fam2'




Related Questions


Question :

Select the correct syntex for changing the column families
 :
1. alter 'tablename', {NAME => 'colfam' [,options]}
2. alter 'tablename'
3. alter 'tablename', {'colfam' }
4. All 1,2 and 3 are correct




Question :

Select the correct syntex for removing column families
 :
1. alter 'tablename', {NAME => 'colfam', METHOD => 'remove'}
2. alter 'tablename', {NAME => 'colfam', METHOD => 'delete'}returend to the cluster.
3. alter 'tablename', {NAME => 'colfam', METHOD => 'del'}
4. None of the above is correct




Question :

Which of the following is true regarding shutdown command
 :
1. It will shutdown the Master
2. It will shutdown the RegionServers
3. It will not shutdown the Zookeeper
4. shutdown command can be long running
5. All of the above



Question :

Select the wrong statement about the various commands
 :
1. major_compact : cause a major compaction of a table
2. flush : cause the RegionServers to flush the memstore for a table
3. split : cause a table to split each Region
4. All of the avove are correct


Question :

Which of the following is not a component of HBase Cluster
 :
1. ZooKeeper
2. Master
3. Access Mostly Uused Products by 50000+ Subscribers
4. Region
5. None of the above


Question :

Which describe the best role of ZooKeeper service in HBase Cluster
 :
1. It stores the Stores global information about the cluster
2. Provides synchronization and detects Master node failure
3. Access Mostly Uused Products by 50000+ Subscribers
4. Only 1 and 2 are correct
5. All 1,2 and 3 are correct