a) find b) move c) shell d) replace Answer: a Explanation: The find() method with no parameters returns all documents ...
View QuestionCommand to check existence of collection is _____________
a) show collection b) show collections c) show collect d) none of the mentioned Answer: b Explanation: ...
View QuestionWhich of the following also returns a list of databases?
a) show databases b) show database c) display dbs d) all of the mentioned Answer: a Explanation: show databases ...
View QuestionWhich of the following operation is used to switch to new database mydb?
a) use dbs b) use db c) use mydb d) use mydbs Answer: c Explanation: .Confirm that ...
View Question__________ command display the list of databases.
a) show db b) show dbs c) show data d) display dbs Answer: b Explanation: Show ...
View QuestionPoint out the wrong statement.
a) MongoDB works right out of the box, and you can dive right into developing your application, ...
View QuestionAfter starting the mongo shell, your session will use the ________ database by default.
a) mongo b) master c) test d) primary Answer: c Explanation: At any time, db operation at the mongo ...
View Questionmongo looks for a database server listening on port 27017 on the ________ interface.
a) web b) localhost c) web host d) all of the mentioned Answer: b Explanation: To connect to a ...
View QuestionPoint out the correct statement.
a) MMS provides backup and monitoring b) MongoDB can also be configured for data replication c) MMS is available to all ...
View Question__________ is a part of the standard MongoDB distribution and provides a full JavaScript environment.
a) mongod b) mongodb c) mongo d) none of the mentioned Answer: c Explanation: mongo provides complete access to the JavaScript ...
View Question