Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 6 MCQs Introduction to Apache Cassandra

INT312 — Big Data Fundamentals 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Installation of Apache Cassandra Easy

    Which command is commonly used after installing Cassandra to check the status of nodes in the cluster?

  2. Question 2 of 60 Peer-to-peer architecture Easy

    What is a key feature of Cassandra's peer-to-peer architecture?

  3. Question 3 of 60 Gossip protocol Easy

    What is the main purpose of the gossip protocol in Cassandra?

  4. Question 4 of 60 Replication and consistency levels Easy

    What does a replication factor of 3 mean in Cassandra?

  5. Question 5 of 60 Replication and consistency levels Easy

    What does the consistency level ONE require for a successful write?

  6. Question 6 of 60 Read and write paths Easy

    Which structures are normally updated first during a Cassandra write?

  7. Question 7 of 60 Keyspace Easy

    What is a keyspace in Cassandra?

  8. Question 8 of 60 Primary key Easy

    What does a primary key uniquely identify in a Cassandra table?

  9. Question 9 of 60 Partition key Easy

    What is the main role of a partition key in Cassandra?

  10. Question 10 of 60 Clustering columns Easy

    What do clustering columns control in Cassandra?

  11. Question 11 of 60 Wide rows Easy

    What is a wide row in Cassandra commonly understood to contain?

  12. Question 12 of 60 CQL (Cassandra Query Language) Easy

    What is CQL primarily used for?

  13. Question 13 of 60 CQL data types Easy

    Which CQL data type is commonly used to store a character string?

  14. Question 14 of 60 Creating keyspaces and tables Easy

    Which CQL statement creates a new table?

  15. Question 15 of 60 Insert operations Easy

    Which CQL command adds a row to a Cassandra table?

  16. Question 16 of 60 Update operations Easy

    Which clause identifies the row to modify in a CQL UPDATE statement?

  17. Question 17 of 60 Delete operations Easy

    What does Cassandra initially create when data is deleted?

  18. Question 18 of 60 Select operations Easy

    Which CQL statement retrieves rows from a table?

  19. Question 19 of 60 Filtering Easy

    Which CQL phrase permits a query that may require server-side filtering?

  20. Question 20 of 60 Compaction Easy

    What is the main purpose of compaction in Cassandra?

  21. Question 21 of 60 Installation of Apache Cassandra Medium

    After installing Cassandra on a single server, cqlsh reports Connection refused on port 9042. What should an administrator check first?

  22. Question 22 of 60 Cassandra Architecture Medium

    A client sends a write request to a Cassandra node that is not a replica for the target partition. What does that node normally do?

  23. Question 23 of 60 Peer-to-peer architecture Medium

    A Cassandra cluster receives more traffic, so two nodes are added. Which behavior best reflects Cassandra's peer-to-peer architecture?

  24. Question 24 of 60 Gossip protocol Medium

    Node A has outdated information about whether Node C is reachable. How is this information normally corrected in Cassandra?

  25. Question 25 of 60 Replication and consistency levels Medium

    A keyspace has a replication factor of . A write uses consistency level QUORUM, and one replica is unavailable. What is the expected result if the other two replicas acknowledge the write?

  26. Question 26 of 60 Read and write paths Medium

    A write is acknowledged before its data appears in an SSTable. Which explanation is correct?

  27. Question 27 of 60 Read and write paths Medium

    A requested partition may have values in a memtable and several SSTables. How does a replica produce the current result?

  28. Question 28 of 60 Keyspace Medium

    A production cluster has data centers named dc1 and dc2. It needs three replicas in dc1 and two in dc2. Which keyspace definition is appropriate?

  29. Question 29 of 60 Primary key Medium

    A readings table is queried by device_id and day, followed by a time range on recorded_at. Which primary key best supports this access pattern?

  30. Question 30 of 60 Partition key Medium

    An orders table uses country as its partition key, but almost all orders come from two countries. What is the most likely problem?

  31. Question 31 of 60 Clustering columns Medium

    A table has PRIMARY KEY ((sensor_id), recorded_at). Which clause stores rows within each sensor partition in descending timestamp order?

  32. Question 32 of 60 Wide rows Medium

    A time-series table stores all events for a customer in one partition, causing some partitions to grow continuously. Which redesign is most appropriate?

  33. Question 33 of 60 Select operations Medium

    A table has PRIMARY KEY ((store_id), sale_date, sale_id). Which query follows the primary-key order and efficiently retrieves sales for one store over a date range?

  34. Question 34 of 60 CQL data types Medium

    An application needs identifiers that are unique and also contain timestamp information so events can be ordered by generation time. Which CQL data type is most suitable?

  35. Question 35 of 60 Creating keyspaces and tables Medium

    An application must retrieve a user directly by a unique email address without using an index or ALLOW FILTERING. Which table definition best supports the query?

  36. Question 36 of 60 Insert operations Medium

    A row with primary key id=10 already contains name='Ana' and city='Pune'. What happens after INSERT INTO users (id, name) VALUES (10, 'Anita');?

  37. Question 37 of 60 Update operations Medium

    A table is defined with PRIMARY KEY ((account_id), item_id). Which statement correctly updates the quantity of one item?

  38. Question 38 of 60 Delete operations Medium

    What normally happens internally when a non-key column is deleted from a Cassandra row?

  39. Question 39 of 60 Indexing Medium

    A large production table is frequently queried by a low-cardinality status column, and each status may match millions of rows across the cluster. What is generally the most scalable design?

  40. Question 40 of 60 Compaction Medium

    An administrator starts a major compaction and observes a temporary increase in disk usage. What is the most likely explanation?

  41. Question 41 of 60 Installation of Apache Cassandra Hard

    A new Cassandra node must join an existing production cluster that uses virtual nodes and NetworkTopologyStrategy. Which configuration is essential before starting the node for the first time?

  42. Question 42 of 60 Cassandra Architecture Hard

    A client sends a write at consistency level QUORUM to node N1, but N1 is not a replica for the target partition. What role does N1 perform?

  43. Question 43 of 60 Peer-to-peer architecture Hard

    Which failure scenario most directly demonstrates Cassandra's peer-to-peer design?

  44. Question 44 of 60 Gossip protocol Hard

    Node A receives gossip state for node B with an older generation but a larger heartbeat version than the state it already stores. Which state should A treat as newer?

  45. Question 45 of 60 Replication and consistency levels Hard

    A keyspace uses NetworkTopologyStrategy with replication factors east: 3 and west: 3. A coordinator in east performs a write. Which acknowledgement requirements are correct?

  46. Question 46 of 60 Read and write paths Hard

    At a replica, which sequence correctly describes a normal Cassandra write before an acknowledgement is returned?

  47. Question 47 of 60 Read and write paths Hard

    A partition has versions in a memtable and several SSTables, including a row tombstone newer than some stored cells. How is a read result produced?

  48. Question 48 of 60 Cassandra Data Model Hard

    An application must list a customer's orders for one month in descending creation time without joins or server-side filtering. Which modeling approach best follows Cassandra's query-first design?

  49. Question 49 of 60 Primary key Hard

    Given PRIMARY KEY ((account_id, day), event_time, event_id), which interpretation is correct?

  50. Question 50 of 60 Clustering columns Hard

    For a table with PRIMARY KEY ((tenant_id, bucket), ts, event_id), which query can normally execute without ALLOW FILTERING?

  51. Question 51 of 60 Wide rows Hard

    A sensor writes 10,000 measurements per second indefinitely. Why is PRIMARY KEY (sensor_id, measured_at) usually inferior to PRIMARY KEY ((sensor_id, day), measured_at)?

  52. Question 52 of 60 CQL data types Hard

    A user-defined type address must be stored as values in a map keyed by timestamp, while allowing individual map entries to be updated. Which CQL type is appropriate?

  53. Question 53 of 60 Creating keyspaces and tables Hard

    Which CQL definitions correctly create a two-data-center keyspace and a table whose rows are partitioned by tenant and month?

  54. Question 54 of 60 Insert operations Hard

    A row already contains note='old'. CQL executes INSERT INTO t (id, value) VALUES (1, 'new') USING TIMESTAMP 5000 AND TTL 60. Which statement is correct?

  55. Question 55 of 60 Update operations Hard

    An application executes UPDATE accounts SET balance=900, version=8 WHERE id=42 IF version=7. What distinguishes this operation from a normal update?

  56. Question 56 of 60 Delete operations Hard

    A cell was written with timestamp 100 and deleted with timestamp 200. Before the tombstone is purged, replicas receive writes for the same cell at timestamps 150 and 250. What is the visible result after reconciliation?

  57. Question 57 of 60 Select operations Hard

    A table uses PRIMARY KEY ((sensor_id, day), ts) and CLUSTERING ORDER BY (ts DESC). A query reads ten sensor partitions for one day and needs at most three newest rows from each partition. Which clause expresses that requirement?

  58. Question 58 of 60 Filtering Hard

    A large table is partitioned by user_id, but an analyst repeatedly queries WHERE country=? AND status=? ALLOW FILTERING. Which assessment is most accurate?

  59. Question 59 of 60 Cassandra Administration Hard

    A replica has been offline longer than gc_grace_seconds, and healthy replicas may already have compacted away tombstones for data still present on that replica. What is the safest action before returning it to service?

  60. Question 60 of 60 Compaction Hard

    A time-series table receives mostly time-ordered writes, uses daily buckets, and expires data with a uniform TTL. Which compaction decision best fits the workload?

That's unit 6

Answer a few questions and your score shows up here.