_______ command display the list of databases.
1.show db
2.show dbs
3.show data
4.display dbs
Answer:2
Posted Date:-2022-01-22 00:28:18
1.sudo apt-get install mongodb
2. sudo apt-get install mongodb-enterprise
3. sudo apt-get install mongodb-ent
4.All of the Mentioned
Answer 21.sudo service mongod start
2.sudo service mongod stop
3.sudo service mongod restart
4.None of the mentioned
Answer 21.Collection is a group of MongoDB documents
2.MongoDB is an open-source document database, and leading NoSQL database
3.Collections do not enforce a schema
4. All of the mentioned
Answer 11. MongoDB can be installed on SUSE which is a Linux flavour
2.MongoDB Enterprise is available on select platforms and contains support for several features related to security and monitoring
3.A commercial edition of MongoDB that includes additional features
4.All of the Mentioned
Answer 41.log
2.data
3.replica
4. All of the mentioned
Answer 21.restore
2.backup
3.replication
4. All of the mentioned
Answer 21.mongodump
2. mongotop
3.mongodown
4. none of the mentioned
Answer 31.find
2. move
3. shell
4.replace()
Answer 11. mongo
2.master
3. test
4.primary
Answer 31. show collection
2.show collections
3. show collect
4.None of the mentioned
Answer 21.web
2. localhost
3.web host
4.All of the Mentioned
Answer 21. msi.exe
2.msiexec.exe
3. exec.exe
4.None of the mentioned
Answer 21.13.04
2.12.10
3.12.04
4.13.10
Answer 31.The data format used by mongodump from version 2.2 or later is incompatible with earlier versions of mongod
2. The replica role confers no additional access, in keeping with the policy of least privilege
3.To backup a given database’s users, you must have the replace action on the admin database’s admin.system.users collection
4.All of the Mentioned
Answer 11.MMS provides backup and monitoring
2.MongoDB can also be configured for data replication
3.MMS is available to all users in the cloud and on-premises as part of MongoDB Standard and Enterprise Subscriptions
4.All of the Mentioned
Answer 41. A database is a set of key-value pairs
2.A MongoDB deployment hosts a number of databases
3.A document holds a set of collections
4.All of the Mentioned
Answer 21.Documents have static schema in MongoDB
2.Eventually-consistent reads can be distributed over replicated servers
3.Indexes can include keys from embedded documents and arrays
4.None of the mentioned
Answer 11.As of version 2.0.0, there are no control scripts for mongos
2.The mongodb-enterprise package includes various control scripts, including the init script /etc/rc.d/init.d/mongod
3. You must configure SELinux to allow MongoDB to start on Red Hat Linux-based systems
4.None of the mentioned
Answer 11.If you change the user that runs the MongoDB process, you must modify the access control rights
2.The MongoDB instance stores its data files in /var/log/mongodb by default
3. MongoDB uses memory mapped files for data management for efficiency
4.None of the mentioned
Answer 21.To backup a given database, you must have read access on the database
2.The backup role confers no additional access, in keeping with the policy of least privilege
3. mongodumplocal overwrites output files if they exist in the backup data folder
4.All of the Mentioned
Answer 31.MongoDB works right out of the box, and you can dive right into developing your application, instead of spending a lot of time fine-tuning obscure database configurations
2.MongoDB works hard to be very easy to install, configure, maintain, and use
3.MongoDB does not provide a lot of the features of a traditional RDBMS
4.None of the mentioned
Answer 31.Permanent
2.Secure
3.Primary
4. Protected
Answer 21. cursor()
2.find()
3.findc()
4. none of the mentioned
Answer 21. 27017
2.27170
3.27107
4.26017
Answer 11. limit()
2. limitOf()
3.limitBy()
4.None of the mentioned
Answer 11.sudo zypper install mongodb-enterprise
2.sudo zypper install mongodb-enterprise
3. sudo zyp install mongodb-enterprise
4.None of the mentioned
Answer 11. write only
2.read only
3. read and write
4.None of the mentioned
Answer 31.row
2.cursor
3.colums
4.None of the mentioned
Answer 21.show databases
2.show database
3. display dbs
4. All of the mentioned
Answer 11. mongodb.conf
2.mongod.conf
3.mongodb.con
4.None of the mentioned
Answer 21.mongoperf
2.mongoio
3. mongod
4.None of the mentioned
Answer 11. wapt
2.dpkg
3.capt
4.wat
Answer 21.db.bios.find().limit( 5 )
2.db.bios.find().skip( 1 )
3.db.bios.find().skip( 5 )
4.db.bios.find().sort( 5 )
Answer 31.sort()
2. order()
3.orderby()
4.All of the Mentioned
Answer 11. cur.toArray()
2.cursor.toArray()
3.doc.toArray()
4.All of the Mentioned
Answer 21.find
2. sort
3.skip
4.All of the Mentioned
Answer 11.hasMethod()
2.hasNext()
3. hasDoc()
4.All of the Mentioned
Answer 21.use dbs
2.use db
3.use mydb
4.use mydbs
Answer 31.while (var i = 1; i <= 25; i++) { db.testData.insert( { x : i } ) }
2. for (var i = 1; i <= 25; i++) { db.testData.insert( { x : i } ) }
3. for (var i = 1; i <= 25; i++) { db.testData.inserts( { x : i } ) }
4.None of the mentioned
Answer 21.Vertical sharding
2. Autosharding
3.Horizontal sharding
4.All of the Mentioned
Answer 21. mongoshell
2. mongodump
3.mongolocaldump
4.None of the mentioned
Answer 21. jsondump
2.bsondump
3.bsondumpjson
4.All of the Mentioned
Answer 21. mongod
2. mongos
3.mongocon
4. none of the mentioned
Answer 21.mongos
2.mongod
3.logpath
4.syspathlog
Answer 21.displayjson
2.print
3.printjson
4.printdoc
Answer 31. mongod
2.mongodb
3.mongo
4.None of the mentioned
Answer 31.syspath
2.syslog
3.logpath
4.syspathlog
Answer 31.mongoperf
2. mongoio
3.mongod
4.mongofiles
Answer 41.show db
2.show dbs
3.show data
4.display dbs
Answer 21.mongodb-enterprise
2. mongodb-enterprise-server
3.mongodb-enterprise-shell
4.None of the mentioned
Answer 3