Test your knowledge of Cassandra topics
Posted on
December 4, 2018
by
How much do you know about the Apache Cassandra database? Let's find out!

The Cassandra database from Apache has become popular for linear scalability, high availability and fault-tolerance. It also provides solutions that are elastic with every node in the cluster being identical.

How well do you know Cassandra? What follows is a self-test of 25 questions not centered around any one certification but based on the general concepts documented at Apache Cassandra.

In all cases, pick the best answer(s) to each question. The answers appear at the end of the questions. Good luck!

1. All mutations local to a Cassandra node are appended to which type logs?
A. System logs
B. Mem tables
C. Commit logs
D. Common logs

2. In Cassandra, what is used to teach it about your network topology so it can route requests efficiently?
A. mapper
B. snitch
C. friendster
D. plotter

3. Adding new nodes in Cassandra is known as:
A. Breeding
B. Sprouting
C. Propagating
D. Bootstrapping

4. Which of the following accurately describes the difference between full repairs and incremental repairs?
A. Full repairs operate over all the data in the token range since the last repair, while incremental repairs only repair data in ranges specified.
B. Full repairs fix all problems found automatically while incremental repairs prompt for approval before making any changes.
C. Full repairs operate over all the data in the token range being repaired while incremental repairs only repair data written since the previous incremental repair.
D. Incremental repairs are the only types of repairs possible in Cassandra since version 2.1.

5. With Cassandra, a list of the IP addresses of your cluster seeds are stored in seeds. How are entries in this list delineated?
A. colon (:)
B. semicolon (;)
C. comma (,)
D. pipe (|)

6. Which type of compaction will attempt to fix any broken SSTables?
A. Scrub
B. Cleanup
C. Major
D. Minor

7. By default, what port does Cassandra use for cluster communication?
A. 9042
B. 7000
C. 7199
D. 7001

8. Metrics in Cassandra are managed using which library?
A. Corbis Archive
B. Bettmann Archives
C. Dropwizard Metrics
D. Anderson Public

9. Which of the following is the logger used by Cassandra?
A. logback
B. syslogd
C. backlog
D. logride

10. Which of the following does Cassandra uses as a testing framework?
A. Cassie
B. 4Ever
C. PUnit
D. JUnit

11. The default size of the commitlog_segment_size_in_mb variable is?
A. 256
B. 128
C. 64
D. 32

12. Which type of metric in Cassandra measures mean throughput and 1, 5, and 15 minute weighted moving average throughputs?
A. Latency
B. Meter
C. Timer
D. Counter
E. Gauge

13. Which of the following is a tool for benchmarking and load testing a Cassandra cluster?
A. cassandra-stress
B. cqlsh
C. pop_tool
D. sim_frame

14. SSTables, the immutable data files used for persisting data, store data in Data.db files. Within the Data.db file, rows are organized by:
A. sector
B. column
C. partition
D. track

15. Which of the following is the API to Cassandra?
A. SAND
B. PRV
C. CASS
D. CQL

Please visit GoCertify to attempt the remaining 10 questions of this quiz.

ANSWERS

1. C
2. B
3. D
4. C
5. C
6. A
7. B
8. C
9. A
10. D
11. D
12. B
13. A
14. C
15. D

About the Author

Emmett Dulaney is a professor at Anderson University and the author of several books including Linux All-in-One For Dummies and the CompTIA Network+ N10-008 Exam Cram, Seventh Edition.

Posted to topic:
Certification

Important Update: We have updated our Privacy Policy to comply with the California Consumer Privacy Act (CCPA)

CompTIA IT Project Management - Project+ - Advance Your IT Career by adding IT Project Manager to your resume - Learn More