Correct Answer : Get Lastest Questions and Answer : Explanation: A counter is a special column used to store a number that is changed in increments. For example, you might use a counter column to count the number of times a page is viewed.
Define a counter in a dedicated table only and use the counter data type. You cannot index, delete, or re-add a counter column. All non-counter columns in the table must be defined as part of the primary key.
To load data into a counter column, or to increase or decrease the value of the counter, use the UPDATE command. Cassandra rejects USING TIMESTAMP or USING TTL in the command to update a counter column.
Question : You have been given a Cassandra cluster (Ring) with nodes, spread across two availability zones (AWS : amazon webservice) and new KeySpace created by Admin named AcmeKeySpace with Replication factor 3. Select correct statement. A. Whatever data updates are done can not be replicated to another availability zone. B. Whatever data inserts are done can not be replicated to another availability zone. C. Whatever data updates are done , automatically replicated to another availability zone. D. Whatever data inserts are done , automatically replicated to another availability zone.
Correct Answer : Get Lastest Questions and Answer : Explanation: Built-in and customizable replication: Cassandra also provides built-in and customizable replication, which stores redundant copies of data across nodes that participate in a Cassandra ring. This means that if any node in a cluster goes down, one or more copies of that nodeas data is available on other machines in the cluster. Replication can be configured to work across one data center, many data centers, and multiple cloud availability zones.