Unit 6: Introduction to Apache Cassandra - Subjective Questions

INT312 — Big Data Fundamentals • Practice Questions with Detailed Answers

20 questions

1

Describe the steps required to install Apache Cassandra and verify that the installation is working correctly.

2

Explain the major components of Cassandra architecture and the role performed by each component.

3

Distinguish Cassandra's peer-to-peer architecture from a traditional master-slave architecture.

4

What is the gossip protocol in Cassandra? Explain how it supports cluster membership and failure detection.

5

Explain replication factor and compare the replication strategies available in Cassandra.

6

Explain Cassandra's tunable consistency levels. How are consistency, availability, and replica acknowledgements related?

7

Describe Cassandra's write path from the arrival of a client request to long-term storage.

8

Describe Cassandra's read path and explain how data from multiple SSTables and replicas is reconciled.

9

Define the Cassandra data model and explain the relationship among a keyspace, table, partition, row, and column.

10

Write CQL statements to create a production-style keyspace and a table for storing student results. Explain the important clauses.

11

Differentiate among a primary key, partition key, composite partition key, and clustering columns in Cassandra.

12

What are wide rows in Cassandra? Discuss their benefits, risks, and suitable design practices.

13

Classify the important CQL data types and give suitable examples of their use.

14

Explain INSERT and UPDATE operations in CQL. Why are they commonly described as upsert operations?

15

Explain CQL delete operations and the role of tombstones in Cassandra.

16

Describe CQL SELECT operations and explain why Cassandra restricts filtering and ad hoc queries.

17

Explain indexing in Cassandra. State when an index is useful and when a query-specific table is preferable.

18

Discuss important Cassandra administration tasks and the tools used to perform them.

19

What is compaction in Cassandra? Compare Size-Tiered, Leveled, and Time-Window compaction strategies.

20

Design a Cassandra table for storing IoT sensor readings and justify the primary key, query pattern, replication, consistency, and compaction choices.