28th
Dec
MongoDB MCQ

MongoDB MCQ

  • Admin
  • 28th Dec, 2020
  • 397 Followers

MongoDB MCQ Quiz

1) Dynamic schema in MongoDB makes ____________ easier for applications.

  • A. polymorphism
  • B. inheritance
  • C. encapsulation
  • D. None of the mentioned

2) Which of the following sorting is not supported by MongoDB?

  • A. collection
  • B. heap
  • C. collation
  • D. none of the mentioned

3) MongoDB supports fixed-size collections called ____________ collections.

  • A. capped
  • B. secondary
  • C. primary
  • D. all of the mentioned

4) MongoDB provides high ____________ with replica sets.

  • A. availability
  • B. performance
  • C. scalability
  • D. none of the mentioned

5) __________ command display the list of databases.

  • A. display dbs
  • B. show db
  • C. show dbs
  • D. show data
Download Free : MongoDB MCQ PDF

6) Which of the following language is MongoDB written in?

  • A. C
  • B. Javascript
  • C. C++
  • D. All of the mentioned

7) Which of the following pipeline is used for aggregation in MongoDB?

  • A. information processing
  • B. knowledge processing
  • C. data processing
  • D. None of the mentioned

8) Which of the following is a wide-column store?

  • A. Riak
  • B. Redis
  • C. Cassandra
  • D. MongoDB

9) Initial release of MongoDB was in the year?

  • A. 2000
  • B. 2005
  • C. 2009
  • D. 2011

10) Which of the following also returns a list of databases?

  • A. show database
  • B. display dbs
  • C. show databases
  • D. all of the mentioned

11) A query _______ consists of a combination of query, sort, and projection specifications.

  • A. shape
  • B. stats
  • C. plan
  • D. All of the mentioned

12) Which of the following method is used to query documents in collections?

  • A. replace
  • B. shell
  • C. move
  • D. find

13) What is the maximum size of a MongoDB document?

  • A. 2 MB
  • B. 16 MB
  • C. 12 MB
  • D. There is no maximum size. It depends on the RAM.

14) Which of the following flag can be set by mongo shell?

  • A. noTimeout
  • B. Time
  • C. Timeout
  • D. None of the mentioned

15) Which of the following operation is used to switch to new database mydb?

  • A. use db
  • B. use mydbs
  • C. use dbs
  • D. use mydb

16) Which of the following is a NoSQL Database Type

  • A. SQL
  • B. JSON
  • C. Document databases
  • D. All of the mentioned

17) __________ is a diagnostic tool for inspecting BSON files.

  • A. bsondump
  • B. bsondumpjson
  • C. jsondump
  • D. all of the mentioned

18) NoSQL databases is used mainly for handling large volumes of ______________ data.

  • A. structured
  • B. semi-structured
  • C. unstructured
  • D. all of the mentioned

19) ___________ provides statistics on the per-collection level.

  • A. mongotop
  • B. mongosniff
  • C. mongofiles
  • D. mongooplog

20) MongoDB stores all documents in _____________

  • A. collections
  • B. rows
  • C. tables
  • D. All of the mentioned

21) Which of the following format is supported by MongoDB?

  • A. XML
  • B. SQL
  • C. BSON
  • D. All of the mentioned

22) mongo looks for a database server listening on port 27017 on the ________ interface.

  • A. web
  • B. web host
  • C. localhost
  • D. all of the mentioned

23) Which of the following sorting is not supported by MongoDB?

  • A. collection
  • B. heap
  • C. collation
  • D. none of the mentioned

24) Which of the following network analyzer fully supports MongoDB?

  • A. Riakshark
  • B. Snort
  • C. Wireshark
  • D. Suricata

25) mongod process is stopped by issuing which of the following command?

  • A. sudo service mongod restart
  • B. sudo service mongod start
  • C. sudo service mongod stop
  • D. none of the mentioned

26) Which of the following functionality is used for aggregation framework?

  • A. $projectmatch
  • B. $project
  • C. $match
  • D. All of the mentioned

27) What is the interactive shell for MongoDB called?

  • A. mongo
  • B. dbmong
  • C. mongodb
  • D. none of the mentioned

28) In aggregation pipeline, the _______ pipeline stage provides access to MongoDB queries.

  • A. $match
  • B. $batch
  • C. $catch
  • D. All of the mentioned

29) Point out the wrong statement.

  • A. A single MongoDB server typically has single databases
  • B. Database is a physical container for collections
  • C. Collection is the equivalent of an RDBMS table
  • D. None of the mentioned

30) With ________ MongoDB supports a complete backup solution and full deployment monitoring.

  • A. AMS
  • B. DMS
  • C. MMS
  • D. CMS

31) MongoDB only provides Enterprise packages for Ubuntu ________ LTS.

  • A. 12.10
  • B. 12.04
  • C. 13.04
  • D. 13.10

32) MongoDB Queries can return specific fields of documents which also include user-defined __________ functions.

  • A. C
  • B. C++
  • C. Javascript
  • D. All of the mentioned

33) MongoDB scales horizontally using _________ for load balancing purpose.

  • A. Partitioning
  • B. Sharding
  • C. Replication
  • D. None of the mentioned

34) Which of the following is the Ubuntu package management tool?

  • A. capt
  • B. wat
  • C. wapt
  • D. dpkg

35) Which of the following is not a projection operator?

  • A. $elemMatch
  • B. $slice
  • C. $
  • D. None of the mentioned

36) Which of the following are the simplest NoSQL databases?

  • A. Wide-column
  • B. Document
  • C. Key-value
  • D. All of the mentioned

37) Which of the following is web-based client software for MongoDB?

  • A. Database Master
  • B. BI Studio
  • C. Fang of Mongo
  • D. Mongo3

38) Which of the following is not a part of mongodb-enterprise-tools?

  • A. mongotop
  • B. mongodown
  • C. mongodump
  • D. none of the mentioned

39) Which of the following is not a NoSQL database?

  • A. Cassandra
  • B. MongoDB
  • C. SQL Server
  • D. None of the mentioned

40) Which of the following is a metapackage for enterprise?

  • A. mongodb-enterprise
  • B. mongodb-enterprise-mongos
  • C. mongodb-enterprise-server
  • D. one of the mentioned

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jan
AngularJs MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ