Question : The purpose of clustering key is to store row data in sorted order. 1. True 2. False
Correct Answer : Get Lastest Questions and Answer : Explanation: The purpose of clustering key is to store row data in sorted order. The sorting of data is based on columns which are included in the clustering key. This arrangement makes it efficient to retrieve data using clustering key.
Question : You have been given below table definition
Correct Answer : Get Lastest Questions and Answer : Explanation: Yes, it will be invalid query. Because we have composite key. We need to add both the column from primary key in where clause of the query.
Question : You have below tables defined with all the default Cassandra behavior. This table is empty CREATE TABLE HADOOEXAM(
Correct Answer : Get Lastest Questions and Answer : Explanation: Yes, it will insert a new record. As Cassandra default behavior does not do read before write. It will do the given operations on table data. As it is not going to verify billions of record before inserting data.