Question : In case of Pig, schema definition is defined at runtime 1. True 2. False
Correct Answer : 1
RDBMS and Pig
RDBMSs store data in tables, with tightly predefined schemas. Pig is more relaxed about the data that it processes: you can define a schema at runtime, but its optional. Essentially, it will operate on any source of tuples.
Refer HadoopExam.com Recorded Training Module : 11
Question : Which statement is true about HBase
1. It is a column family database 2. Can store massive amount of data like Terabytes 3. It gives high throughput 4. All of the above
Correct Answer : 4
Apache HBase : HBase is the Hadoop database - A NoSQL datastore - Can store massive amounts of data - Gigabytes, terabytes, and even petabytes of data in a table - Scales to provide very high write throughput - Hundreds of thousands of inserts per second - Copes well with sparse data - Tables can have many thousands of columns - Even if most columns are empty for any given row - Has a very constrained access model - Insert a row, retrieve a row, do a full or partial table scan - Only one column (the row key ) is indexed - Does not support multi row transaction
Refer HadoopExam.com Recorded Training Module : 18
Question : Which of the statement is wrong about HBase 1. Tables can have thousands of columns 2. It is not mendatory to have data in all the columns 3. It does not support transaction 4. All of the above 5. None of the above
Correct Answer : 5
Apache HBase : HBase is the Hadoop database - A NoSQL datastore - Can store massive amounts of data - Gigabytes, terabytes, and even petabytes of data in a table - Scales to provide very high write throughput - Hundreds of thousands of inserts per second - Copes well with sparse data - Tables can have many thousands of columns - Even if most columns are empty for any given row - Has a very constrained access model - Insert a row, retrieve a row, do a full or partial table scan - Only one column (the row key ) is indexed - Does not support multi row transaction
Refer HadoopExam.com Recorded Training Module : 18