Mongodb And Nosql Concepts(Engineering > Computer Science And Engineering > Mongodb ) Questions and Answers
Question 1. Point out the wrong statement :
Secondary indices is not available in MongoDB
MongoDB supports search by field, range queries, regular expression searches
MongoDB can store the business subject in the minimal number of documents
All of the mentioned
Explanation:-
Answer: Option A. -> Secondary indices is not available in MongoDB
Any field in a MongoDB document can be indexed.
Question 2. _____________ can be used for batch processing of data and aggregation operations.
Hive
MapReduce
Oozie
None of the mentioned
Explanation:-
Answer: Option B. -> MapReduce
The aggregation framework enables users to obtain the kind of results for which the SQL GROUP BY clause is used.
Question 3. MongoDB can be used as a ____________, taking advantage of load balancing and data replication features over multiple machines for storing files.
AMS
CMS
File system
None of the mentioned
Explanation:-
Answer: Option A. -> AMS
The data is split into ranges (based on the shard key) and distributed across multiple shards.
Question 4. MongoDB has been adopted as ________ software by a number of major websites and services.
frontend
backend
proprietary
All of the mentioned
Explanation:-
Answer: Option B. -> backend
MongoDB is the most popular NoSQL database system.
Question 5. Which of the following is a NoSQL Database Type ?
SQL
Document databases
JSON
All of the mentioned
Explanation:-
Answer: Option B. -> Document databases
Document databases pair each key with a complex data structure known as a document.
Question 6. Which of the following is a wide-column store ?
Cassandra
Riak
MongoDB
Redis
Explanation:-
Answer: Option A. -> Cassandra
Wide-column stores such as Cassandra and HBase are optimized for queries over large datasets, and store columns of data together, instead of rows.
Question 7. Which of the following sorting is not supported by MongoDB ?
collation
collection
heap
None of the mentioned
Explanation:-
Answer: Option A. -> collation
MongoDB does not support collation-based sorting and is limited to byte-wise comparison via memcmp.
Question 8. Which of the following is a wide-column store ?
Cassandra
Riak
MongoDB
Redis
Explanation:-
Answer: Option A. -> Cassandra
Wide-column stores such as Cassandra and HBase are optimized for queries over large datasets, and store columns of data together, instead of rows.
Question 9. 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 of the mentioned
Explanation:-
Answer: Option A. -> Non Relational databases require that schemas be defined before you can add data
There's also no way, using a relational database, to effectively address data that's completely unstructured or unknown in advance.
Question 10. Which of the following language is MongoDB written in ?
Javascript
C
C++
All of the mentioned
Explanation:-
Answer: Option D. -> All of the mentioned
MongoDB (from humongous) is a cross-platform document-oriented database.