Google News
logo
Cassandra - Quiz(MCQ)
A)
Google
B)
Apple
C)
Microsoft
D)
Facebook

Correct Answer :   Facebook


Explanation : Apache Cassandra was developed by Avinash Lakshman and Prashant Malik when both were working as engineers at Facebook. The database was designed to power Facebook's inbox search feature, making it easy for users to quickly find the conversations and other content they were looking for.

A)
July 2008
B)
July 2007
C)
July 2006
D)
July 2005

Correct Answer :   July 2008


Explanation :

Avinash Lakshman, one of the authors of Amazon's Dynamo, and Prashant Malik initially developed Cassandra at Facebook to power the Facebook inbox search feature. Facebook released Cassandra as an open-source project on Google code in July 2008. In March 2009 it became an Apache Incubator project. On February 17, 2010 it graduated to a top-level project.
 
Facebook developers named their database after the Trojan mythological prophet Cassandra, with classical allusions to a curse on an oracle.

A)
Apache Cassandra is a distributed
B)
Apache Cassandra has wide column store
C)
Apache Cassandra is a free and open-source
D)
All of the above

Correct Answer :   Apache Cassandra is a free and open-source

A)
9000
B)
7000
C)
5000
D)
3000

Correct Answer :   7000


Explanation : By default, Cassandra uses 7000 for cluster communication (7001 if SSL is enabled), 9042 for native protocol clients, and 7199 for JMX.

A)
Column Family-CQL API ;Table-CQL API
B)
Column Family-CQL API ;Table-Thrift API
C)
Column Family-Thrift API ;Table-CQL API
D)
Column Family-Thrift API ;Table-Thrift API

Correct Answer :   Column Family-CQL API ;Table-Thrift API

A)
CQLSH
B)
Replication
C)
Simple Strategy
D)
Network Topology Strategy

Correct Answer :   Simple Strategy

A)
Node
B)
SSTable
C)
Data center
D)
Bloom filter

Correct Answer :   Node


Explanation : It is the place where data is stored.

A)
Commit Query Language
B)
Cluster Query Language
C)
Component Query Language
D)
Cassandra Query Language

Correct Answer :   Cassandra Query Language


Explanation : Users can access Cassandra through its nodes using Cassandra Query Language (CQL).

A)
Cluster build()
B)
Session connect()
C)
ResultSet execute()
D)
Cluster.Builder addContactPoint()

Correct Answer :   Cluster build()


Explanation : Cluster build() : This method builds the cluster with the given contact points.

A)
SQL
B)
NoSQL
C)
NewSQL
D)
All of the above

Correct Answer :   NoSQL


Explanation : Cassandra is perfect for managing large amounts of data across multiple data centers and the cloud.

A)
gossip
B)
goss
C)
intergos
D)
All of the above

Correct Answer :   gossip


Explanation : Gossip is used for internode communication.

A)
Snitch
B)
Partitioner
C)
Client requests
D)
None of the above

Correct Answer :   Snitch


Explanation : Client read or write requests can be sent to any node in the cluster because all nodes in Cassandra are peers.

A)
column
B)
sub column
C)
key column
D)
super column

Correct Answer :   super column


Explanation : A super column is a special column, therefore, it is also a key-value pair. But a super column stores a map of sub-columns.

A)
close()
B)
void close()
C)
data close()
D)
cassendra close()

Correct Answer :   void close()


Explanation : void close() : It is used to close the cluster instance.

A)
True
B)
False
C)
Can not say
D)
--

Correct Answer :   True


Explanation : Cassandra has peer-to-peer distributed system across its nodes, and data is distributed among all the nodes in a cluster.

A)
C
B)
C++
C)
Java
D)
.Net

Correct Answer :   Java

A)
Row
B)
Column
C)
Data
D)
Column family

Correct Answer :   Column

A)
execute()
B)
run()
C)
run query()
D)
execute query()

Correct Answer :   execute()

A)
NoSQL database
B)
Relational database
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Relational database

A)
MemTable
B)
Commit log
C)
Column
D)
Bloom Filter

Correct Answer :   Column

A)
CQLSH
B)
Memory
C)
Windows OS
D)
Java

Correct Answer :   Java

A)
Color
B)
Insert
C)
Consistency
D)
Create Index

Correct Answer :   Color

A)
Create Cluster
B)
Cluster build()
C)
Cluster.builder()
D)
None of the above

Correct Answer :   Cluster.builder()

A)
Elastic scalability
B)
Flexible data storage
C)
Easy data distribution
D)
All of the above

Correct Answer :   All of the above

A)
Mem Protocol
B)
Gossip Protocol
C)
Talk Protocol
D)
Commit Protocol

Correct Answer :   Gossip Protocol

A)
SSTable
B)
Mem-table
C)
Data center
D)
Bloom filter

Correct Answer :   Mem-table


Explanation : Mem-table : A mem-table is a memory-resident data structure. After commit log, the data will be written to the mem-table. Sometimes, for a single-column family, there will be multiple mem-tables.

A)
Check
B)
Clear
C)
Verify
D)
Describe

Correct Answer :   Describe

A)
Truncate
B)
Drop
C)
Clear
D)
Delete

Correct Answer :   Truncate

A)
Clear
B)
Delete
C)
Drop
D)
Truncate

Correct Answer :   Drop

A)
Index
B)
Repeat
C)
Batch
D)
Copy Paste

Correct Answer :   Batch

A)
Statement
B)
Query
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)

A)
Keyspace
B)
network
C)
topology
D)
replication

Correct Answer :   Keyspace

A)
Hive
B)
Cassandra
C)
Sqoop
D)
None of the above

Correct Answer :   Cassandra

A)
GRANT
B)
COMMIT
C)
ROLLBACK
D)
None of the above

Correct Answer :   GRANT


Explanation : Once authenticated into a database cluster using either internal authentication, the next security issue to be tackled is permission management.

A)
SSH
B)
SSM
C)
SSN
D)
SSL

Correct Answer :   SSL


Explanation : Client-to-node encryption establishes a secure channel between the client and the coordinator node.

A)
Row
B)
Column
C)
Both A and B
D)
None of the above

Correct Answer :   Row


Explanation : Row is a unit of replication in Cassandra and Column is a unit of storage in Cassandra.

A)
float
B)
variant
C)
boolean
D)
counter

Correct Answer :   boolean

A)
Table Statistics
B)
Column data metrics
C)
Cluster Statistics
D)
Compaction Metrics

Correct Answer :   Column data metrics

A)
JConsole
B)
Nodetool
C)
GossipStage
D)
Compaction Executor

Correct Answer :   Nodetool

A)
Amazon
B)
Facebook
C)
Google
D)
Apache

Correct Answer :   Apache

A)
ACID operations
B)
Simple Transactions
C)
Decentralized deployments
D)
Supports every type of data

Correct Answer :   ACID operations

A)
Set
B)
Map
C)
List
D)
None of the above

Correct Answer :   List

A)
Collection data types
B)
User-defined data types
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   User-defined data types

A)
Changes in system
B)
Changes in cluster
C)
Changes in version
D)
All of the above

Correct Answer :   All of the above

A)
system_auth.creds
B)
system.credentials
C)
sys_auth.credentials
D)
system_auth.credentials

Correct Answer :   system_auth.credentials


Explanation : Password Authenticator is an IAuthenticator implementation that you can use to configure Cassandra for internal authentication out-of-the-box.

A)
Partitioner
B)
Compaction
C)
Commit log
D)
Gossip Protocol

Correct Answer :   Partitioner

A)
cqshrc
B)
qlshrc
C)
cqlshrc
D)
None of the above

Correct Answer :   cqlshrc


Explanation : cqlsh is used with SSL encryption.