CASSANDRA Cheat Sheet 2026
The 30 highest-yield CASSANDRA facts, distilled from real exam questions. Print it, save it as a PDF, or study it here — free, no sign-up.
60 questions
90 min time limit
70.00% to pass
- A developer wants to transition from a relational DBA role to a Cassandra DBA. What is the most important mindset shift required? → Replacing transactions with eventual consistency and query-first design
- In Cassandra, what is a 'wide partition' and why is it a potential problem? → A partition with many rows that can cause memory pressure and slow reads
- What is the effect of setting 'WITH LOGIN = false' when creating or altering a Cassandra role? → The role cannot be used to open a client connection to Cassandra
- Which Cassandra-specific skill is most valued when joining a team that already has a large production cluster? → Diagnosing performance issues using nodetool and system tables
- Which Cassandra metric indicates that a node is receiving more writes than it can process? → High MutationStage pending tasks in tpstats
- What is the 'sstableloader' tool used for in Cassandra? → Bulk-loading existing SSTable files into a running Cassandra cluster
- What is the purpose of 'incremental_backups' in Cassandra? → Copies each new SSTable to a backups/ subdirectory after it is flushed from MemTable
- What role does the CommitLog play in Cassandra's write path? → It provides durability by recording every write before the MemTable
- What Cassandra version do you use? → 3.9
- Which `nodetool` command shows you the token ranges and replica ownership for your cluster? → nodetool ring
- When should you use a Cassandra Materialized View instead of a denormalized table? → When you need Cassandra to automatically maintain a read-optimized copy of a base table
- A team is adopting Cassandra for the first time. What is the best first project to maximize learning with manageable risk? → Start with a non-critical append-only use case like event logging or audit trails
- What is the purpose of the `nodetool repair` command in Cassandra? → Synchronizes replicas to fix inconsistencies
- What availability risk is introduced by leaving the system_auth keyspace at its default replication factor of 1? → A single node failure can make authentication unavailable cluster-wide
- What does the 'nodetool snapshot' command create? → A full backup by hard-linking current SSTable files into a snapshot directory
- Which nodetool command triggers a full repair to synchronize data across all replicas for a keyspace? → nodetool repair
- What is the primary data distribution mechanism in Apache Cassandra? → Consistent hashing with a token ring
- Which internal Cassandra component stores recently written data in memory before flushing to disk? → Memtable
- Cassandra was created by who? → Facebook
- Which tool is employed to view a table's statistics? → Nodetool
- In Cassandra CQL, what does the TTL function return when called on a column value? → The number of seconds remaining before the cell expires
- In Cassandra data modeling, what is 'denormalization'? → Storing duplicate data in multiple tables to support different query patterns efficiently
- What is a user-defined type (UDT) in Cassandra CQL? → A named group of typed fields that can be embedded as a column value in a table
- What is the purpose of 'gc_grace_seconds' in Cassandra? → The period tombstones must persist before being eligible for deletion during compaction
- What is the purpose of a secondary index in Cassandra? → To allow queries on non-primary-key columns without needing ALLOW FILTERING
- By "Table in Cassandra," what do you mean? → Column-Family
- What does the 'endpoint_snitch' configuration control in Cassandra? → How Cassandra determines the topology (rack/DC) of nodes for replica placement
- How do you safely perform a rolling upgrade of a Cassandra cluster? → Upgrade and restart one node at a time, verifying stability before proceeding to the next
- What is an SSTable in Apache Cassandra? → An immutable on-disk file that stores sorted partition data
- How do you enable authentication in Cassandra? → Set authenticator: PasswordAuthenticator in cassandra.yaml
Turn these facts into recall:
Was this helpful?