placeholder image to represent content

Unit III

Quiz by Dr.Megiba Jasmine

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
13 questions
Show answers
  • Q1

    Which of the following API is used for Column Families and Tables in Cassandra?

     

     

     

     

    Column Family-CQL API ;Table-Thrift API

    Column Family-Thrift API ;Table-Thrift API

    Column Family-Thrift API ;Table-CQL API

    Column Family-CQL API ;Table-CQL API

    30s
  • Q2

    In a collection that contains 100 post documents, what does the following command do?

    db.posts.find().skip(5).limit(5)

    A - Skip and limit nullify each other. Hence returning the first five documents.

    D - Limits the first five documents and then return them in reverse order

    B - Skips the first five documents and returns the sixth document five times

    C - Skips the first five documents and returns the next five

    30s
  • Q3

    Which of the following commands will return all the posts with number of likes greater than 100 and less than 200, both inclusive?

    D - db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );

    A - db.posts.find({ likes : { $gt : 100, $lt : 200 } } );

    B - db.posts.find({ likes : { $gte : 100, $lt : 200 } } );

    C - db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );

    30s
  • Q4

    Which of the following commands removes a single document that matches the condition that Author is Joe?

    C - db.posts.remove( { Author : "Joe" }, {justOne: true} )

    D - Both b and c

    A - db.posts.removeOne( { Author : "Joe" }, 1 )

    B - db.posts.remove( { Author : "Joe" }, 1 )

    30s
  • Q5

    What is CQL stands for?

    Component Query Language

    Cluster Query Language

    Cassandra Query Language

    Commit Query Language

    30s
  • Q6

    Apache Cassandra is a massively scalable open source _______ database.

    C)NewSQL

    A)SQL

    D)All of the above

    B)NoSQL

    30s
  • Q7

    Cassandra uses a protocol called _______ to discover location and state information.

    D)All of the above

    B)goss

    C)intergos

    A)gossip

    30s
  • Q8

    Cassandra has peer-to-peer distributed system across its nodes.

    C)Can not say

    B)False

    A)True

    30s
  • Q9

    Which of the following is not a part of Cassandra architecture?

    C)Column

    D)Bloom Filter

    A)MemTable

    B)Commit log

    30s
  • Q10

    Which of the following decides the distribution of data in a cluster?

    B)Compaction

    A)Partitioner

    D)Gossip Protocol

    C)Commit log

    30s
  • Q11

    Which of them is a memory-resident data structure?

    B)Mem-table

    D)Bloom filter

    A)SSTable

    C)Data center

    30s
  • Q12

    Which of the following is a unit of replication in Cassandra?

    D)None of the above

    C)Both A and B

    B)Column

    A)Row

    30s
  • Q13

    In which of the following data type order of the element entered is maintained?

    B)Map

    C)List

    A)Set

    D)None of the above

    30s

Teachers give this quiz to your class