Question : You have been given a Cassandra cluster (Ring) with nodes, and new KeySpace created by Admin named AcmeKeySpace and you want to insert configuration data for your mobile application named AcmeApp. And administrator had told you that default Replication Factor is 3 on this cluster for your AcmeKeySpace. Now you have inserted 50 records in a table of your AcmeKeySpace. Select correct statement which apply.
1. After insert query, you have to execute another command named 'replicate-all', using cqlsh. So data can be replicated on three nodes.
2. Before insert query, you have to execute another command named 'replicate-all', using cqlsh, for the session. So data can be replicated on three nodes.
Correct Answer : Get Lastest Questions and Answer : Explanation: Automatic data distribution: Cassandra provides automatic data distribution across all nodes that participate in a ring or database cluster. There is nothing programmatic that a developer or administrator needs to do or code to distribute data across a cluster because data is Transparently partitioned across all nodes in a cluster.
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.
Question : Which is true about replication factor having value more than
1. Single node token range will be having more spread.
2. Overall storage capacity for different data will be reduced
Correct Answer : Get Lastest Questions and Answer : Explanation: Replication factor means, you will be having more copy of your data in Cluster.
For example Replication factor =3, it means you will be having 3 copy of same data. And these three copy of data will be stored across all the nodes in cluster. Hence, your overall capacity of storing different data will be reduced now.
Similarly more than one node will be storing same data, hence token range must be overlapped to store same data.
Question : You are working as a Database Architect for Arinika Inc. You have been given a project where expected data volume is quite high, approximately 3TB in a month. For that you have to do data modeling, so which three layers come in your mind while doing data modeling?
Correct Answer : Get Lastest Questions and Answer : Explanation: You will first create Conceptual data model than logical data model and finally physical model.