Question : Which all of the below can be configured in cassandra.yaml configuration file A. Caching parameters for tables B. Properties for tuning and resource utilization C. Timeout settings D. Client connections E. Backups F. Security
Correct Answer : 5 Explanation: Recommended for production. It defines a node's data center and rack and uses gossip for propagating this information to other nodes.
The cassandra.yaml configuration file The main configuration file for setting the initialization properties for a cluster, caching parameters for tables, properties for tuning and resource utilization, timeout settings, client connections, backups, and security. By default, a node is configured to store the data it manages in a directory set in the cassandra.yaml file. In a production cluster deployment, you can change the commitlog-directory to a different disk drive from the data_file_directories.
Question : You can set storage configuration attributes on a A. per-keyspace basis B. per-table basis C. per column-family basis D. per data-center basis
1. A,B 2. B,C 3. C,D 4. A,D 5. B,D
Correct Answer : 1 Explanation: You set storage configuration attributes on a per-keyspace or per-table basis programmatically or using a client application, such as CQL.
Question : _______ allows distribution of data across a cluster to minimize reorganization when nodes are added or removed and it partitions data based on the __________
1. Consistent hashing, partition key
2. Random hashing, primary key
3. Consistent hashing, hash key
4. Replication, Replication strategy
Correct Answer : 1 Explanation: Consistent hashing allows distribution of data across a cluster to minimize reorganization when nodes are added or removed. Consistent hashing partitions data based on the partition key.