This set of Hadoop Multiple Choice Questions & Answers (MCQs) focuses on “Introduction to Cassandra”.
1. Apache Cassandra is a massively scalable open source _______ database.
a) SQL
b) NoSQL
c) NewSQL
d) All of the mentioned
View Answer
Explanation: Cassandra is perfect for managing large amounts of data across multiple data centers and the cloud.
2. Point out the correct statement.
a) Cassandra delivers continuous availability, linear scalability, and operational simplicity across many commodity servers
b) Cassandra has a “masterless” architecture, meaning all nodes are the same
c) Cassandra also provides customizable replication, storing redundant copies of data across nodes that participate in a Cassandra ring
d) All of the mentioned
View Answer
Explanation: Cassandra provides automatic data distribution across all nodes that participate in a “ring” or database cluster.
3. Cassandra uses a protocol called _______ to discover location and state information.
a) gossip
b) intergos
c) goss
d) all of the mentioned
View Answer
Explanation: Gossip is used for internode communication.
4. A __________ determines which data centers and racks nodes belong to it.
a) Client requests
b) Snitch
c) Partitioner
d) None of the mentioned
View Answer
Explanation: Client read or write requests can be sent to any node in the cluster because all nodes in Cassandra are peers.
5. Point out the wrong statement.
a) Cassandra supplies linear scalability, meaning that capacity may be easily added simply by adding new nodes online
b) Cassandra 2.0 included major enhancements to CQL, security, and performance
c) CQL for Cassandra 2.0.6 adds several important features including batching of conditional updates, static columns, and increased control over slicing of clustering columns
d) None of the Mentioned
View Answer
Explanation: Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store.
6. User accounts may be altered and dropped using the __________ Query Language.
a) Hive
b) Cassandra
c) Sqoop
d) None of the mentioned
View Answer
Explanation: Cassandra manages user accounts and access to the database cluster using passwords.
7. Authorization capabilities for Cassandra use the familiar _________ security paradigm to manage object permissions.
a) COMMIT
b) GRANT
c) ROLLBACK
d) None of the mentioned
View Answer
Explanation: Once authenticated into a database cluster using either internal authentication, the next security issue to be tackled is permission management.
8. Client-to-node encryption protects data in flight from client machines to a database cluster using ___________
a) SSL
b) SSH
c) SSN
d) All of the mentioned
View Answer
Explanation: Client-to-node encryption establishes a secure channel between the client and the coordinator node.
9. Using ___________ file means you don’t have to override the SSL_CERTFILE environmental variables every time.
a) qlshrc
b) cqshrc
c) cqlshrc
d) none of the mentioned
View Answer
Explanation: cqlsh is used with SSL encryption.
10. Internal authentication stores usernames and bcrypt-hashed passwords in the ____________ table.
a) system_auth.creds
b) system_auth.credentials
c) system.credentials
d) sys_auth.credentials
View Answer
Explanation: PasswordAuthenticator is an IAuthenticator implementation that you can use to configure Cassandra for internal authentication out-of-the-box.
Sanfoundry Global Education & Learning Series – Hadoop.
Here’s the list of Best Books in Hadoop.
- Check Hadoop Books
- Practice Programming MCQs
- Check Programming Books
- Apply for Computer Science Internship