Free Cassandra Professional Development Questions and Answers — Questions and Answers
Question 1: What is Cassandra a mix of?
- Bigtable + dynamo (Correct answer)
- Bigdata + dynamic
- bigtable + Hadoop
- bigdata + Hadoop
Correct answer: Bigtable + dynamo
Explanation: <br> Cassandra is a distributed, highly available, and fault-tolerant NoSQL database system that combines the data model of Google's Bigtable with the distributed systems design of Amazon's Dynamo.
Question 2: TTL, what do you mean by this?
- Time to load
- Time to leave
- Time to laugh
- Time to live (Correct answer)
Correct answer: Time to live
Explanation: <br> In computer networking, TTL stands for "Time to Live." It is a field in the header of an IP (Internet Protocol) packet that indicates the maximum number of routers that the packet can pass through before it is discarded.
Question 3: Which Cassandra feature enables simultaneous execution of many queries?
- BATCH (Correct answer)
- Source
- At Time
- Capture
Correct answer: BATCH
Explanation: <br> In Cassandra, the BATCH feature allows you to execute multiple queries at once as a single atomic operation.
Question 4: What Cassandra version do you use?
- 2.4
- 3.2
- 3
- 3.9 (Correct answer)
Correct answer: 3.9
The version in use is Cassandra 3.9, a specific release in the 3.x line. The other options (2.4, 3.2, and 3) are different or incomplete version numbers and don't match the deployed release.
Question 5: Only columns with a __ that are not the primary key can use the where clause.
- Sparse Index
- Primary Index
- Dense Index
- Secondary Index (Correct answer)
Correct answer: Secondary Index
Explanation: <br> In Cassandra, the WHERE clause can be used to filter the data based on certain conditions. When querying data, the WHERE clause can be applied to any column in the table, whether it is a primary key or a non-key column. However, when querying a table based on a non-key column, an index is required to be created on that column.
Question 6: By "Table in Cassandra," what do you mean?
- Column-Family (Correct answer)
- Column
- KeySpace
- Row
Correct answer: Column-Family
Explanation: <br> In Cassandra, a table is a data structure that stores related data in rows and columns. Tables in Cassandra are similar to tables in relational databases, but they are implemented differently and have some unique characteristics.
Question 7: What does P in the "CAP" Theorem stand for?
- Partition Tolerance (Correct answer)
- Availability
- Partition
- Consistency
Correct answer: Partition Tolerance
In the CAP theorem, P stands for Partition Tolerance — the system keeps operating even when network failures split nodes into groups that can't communicate. The other two properties are Consistency (C) and Availability (A), so 'Availability' and 'Consistency' name different letters, and 'Partition' alone is incomplete since tolerance to partitions is the actual property.
What is Cassandra a mix of?