Cassandra easy
In the Cassandra data hierarchy, what is a 'Keyspace' roughly equivalent to in a relational database?
- A A single Column in a table that holds the primary key.
- B An individual Row that has been uniquely identified by a UUID.
- C A Database (or Schema) that serves as the top-level container for tables and defines replication settings.
- D A specialized index used only for full-text search.
Answer: C. A Database (or Schema) that serves as the top-level container for tables and defines replication settings.
A Keyspace is the highest-level object in Cassandra. It groups related tables and defines critical configuration like 'Replication Strategy' and 'Replication Factor'. Usually, you have one Keyspace per application or logical service.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- In a Cassandra Keyspace, what does a 'Replication Factor of 3' specifically guarantee for your data redundancy?
- Unlike a Leader-Follower architecture (like MySQL or Redis), how does Cassandra maintain high availability within its node cluster?
- Cassandra Query Language (CQL) looks similar to SQL. What is a fundamental SQL feature that CQL does NOT support to ensure distributed performance?
- What is the critical architectural function of the 'Partition Key' in a Cassandra table?
- Apache Cassandra is fundamentally designed as which architectural category of NoSQL database?
- An extreme financial trading application requires 'Batch' sync for the Commit Log. What is the fundamental throughput limitation introduced by this setting?