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
- 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 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
- 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
- What is the primary data distribution mechanism in Apache Cassandra? → Consistent hashing with a token ring
- Cassandra was created by who? → Facebook
- Which tool is employed to view a table's statistics? → Nodetool
- 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
- What CQL command is used to examine the current schema of a table, including its primary key and options? → DESCRIBE TABLE tablename
- Which permission keyword in Cassandra grants all available privileges on a given resource? → ALL
- What does 'hinted handoff' do when a replica node is temporarily down? → The coordinator stores the write as a hint and replays it to the node when it recovers
- What CQL statement is used to create a new keyspace in Cassandra? → CREATE KEYSPACE
- Which component in Cassandra is responsible for in-memory writes before they are flushed to disk? → MemTable
- What is the 'replication factor' in a Cassandra keyspace? → The number of copies of each partition stored across the cluster
- What is the recommended strategy for the system_auth keyspace replication in a multi-datacenter production cluster? → NetworkTopologyStrategy with RF matching the number of nodes in each DC
- What does 'nodetool repair' do in Cassandra? → Synchronizes replicas by comparing and streaming missing data between nodes
- Which cassandra.yaml configuration section enables SSL/TLS encryption for internode (node-to-node) communication within a Cassandra cluster? → server_encryption_options
- What is Cassandra a mix of? → Bigtable + dynamo
Turn these facts into recall: