• 1. 
    Which of the following is used to start client in MongoDB?

  • mongod
  • mongo
  • start-mongo
  • start-mongo.sh
  • 2. 
    Db.dropDatabase() is the command to?

  • Drop any one database randomly
  • Error command had no DB name
  • Drop database that is currently mounted
  • No such command exist
  • 3. 
    Command to check existence of collection is

  • show collections
  • Show Collection
  • show collect
  • None of the Above
  • 4. 
    Which of the following format is supported by MongoDB ?

  • XML
  • BSON
  • SQL
  • All
  • 5. 
    MongoDB Queries can return specific fields of documents which also include user-defined __________ functions.

  • JavaScript
  • C
  • C++
  • ALL
  • 6. 
    The following key is used to denote uniqueness in the collection?

  • id_
  • _id
  • id-
  • id
  • 7. 
    In aggregation pipeline, the _______ pipeline stage provides access to MongoDB queries.

  • $catch
  • $match
  • $batch
  • All
  • 8. 
    What name is given to Table in MongoDB?

  • Collections
  • Fields
  • Documents
  • Database
  • 9. 
    Command display the list of databases.

  • show db
  • show dbs
  • show data
  • display dbs
  • 10. 
    Which one of the following is equivalent in MongoDB select* from employee order by salary desc;?

  • db.employee.find.sort({“salary”:1}]
  • db.employee.sort ({“salary”:-1}]
  • db.employee.find.sort ({“salary”:-1}
  • db.employee.sort({“salary”:1}]
  • 11. 
    Which of the following is a NoSQL Database Type

  • MONGODB
  • JSON
  • CASSANDRA
  • A & C
  • 12. 
    Three types of collection used in Cassandra_______

  • Array,List,Map
  • List,map,struct
  • List,Set,Map
  • set,map,array
  • 13. 
    Which of the following operation adds a new document to the users collection ?

  • add
  • insert
  • truncate
  • drop
  • 14. 
    Which language is MongoDB written in?

  • C++
  • Java
  • Python
  • MongoC
  • 15. 
    Which of the following line skips the first 5 documents in the bios collection and returns all remaining documents?

  • db.bios.find().limit( 5 )
  • db.bios.find().skip( 1 )
  • db.bios.find().skip( 5)
  • db.bios.find().sort( 5 )
  • 16. 
    Which function has the correct syntax to return the number of records stored in a collection?

  • db.find().count
  • db.find().count()
  • db.find.count()
  • db.find.count
  • 17. 
    Point out the wrong statement :

  • Non Relational databases require that schemas be defined before you can add data
  • NoSQL databases are built to allow the insertion of data without a predefined schema
  • NewSQL databases are built to allow the insertion of data without a predefined schema
  • all
  • 18. 
    CRUD operation in mognodb are______

  • create read update drop
  • create read update delete
  • create read update local
  • none
  • 19. 
    Here are _________ types of read requests that a coordinator can send to a replica

  • 3
  • 2
  • 4
  • 1
  • 20. 
    Which block function has the correct syntax to display several documents that have been sent to a template?

  • {{each photos}}
  • {{#each photos}}
  • ((each photos))
  • ((#each photos))
  • 21. 
    The term nosql was introduced by______

  • brewers
  • doug cutting
  • carlo strozzi
  • none
  • 22. 
    Caassandra was born at?

  • facebook
  • google
  • yahoo
  • none
  • 23. 
    Which of the following packages prevents writing to the Mongo collection when it is removed?

  • autopublish
  • insecure
  • mongo
  • tracker
  • 24. 
    Which of the following is used to start server in MongoDB?

  • mongod
  • mongo
  • start-mongo
  • start-mongo.sh
  • 25. 
    A contained user to hold application data in Cassandra--------

  • Document
  • table
  • Keyspaces
  • records
  • 26. 
    _id is a ________ bytes hexadecimal number which assures the uniqueness of every document.

  • 12
  • 13
  • 14
  • None of these
Report Question
warning
access_time
  Time