MongoDB interview questions part 27

MongoDB interview questions part 27

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. The __________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation.

Correct Answer is : mongo

2. Point out the correct statement :

Correct Answer is : MongoDB stores chunks on disk in the XML serialization format

3. BSON is a binary representation of ________ documents,

Correct Answer is : JSON

4. MongoDB documents are composed of field-and-value pairs and have the following structure:

Correct Answer is : field1: value1

5. Point out the wrong statement :

Correct Answer is : The maximum BSON document size is 16 megabytes

6. To store documents larger than the maximum size, MongoDB provides the _______ API.

Correct Answer is : GridFS

7. The ______ field is always the first field in the document.

Correct Answer is : _id

8. To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.

Correct Answer is : None of the mentioned

9. Index keys that are of the _______ type are more efficiently stored in the index.

Correct Answer is : BinData

10. MongoDB uses the ________ notation to access the elements of an array and to access the fields of an embedded document.

Correct Answer is : Dot

11. Which of the the following data structures are documents in MongoDB ?

Correct Answer is : All of the mentioned

12. Point out the correct statement :

Correct Answer is : Update definitions define what fields to modify during an update

13. An application communicates with MongoDB by way of a client library, called :

Correct Answer is : Driver

14. User-defined indexes on multiple fields is called :

Correct Answer is : compound index

15. Point out the wrong statement :

Correct Answer is : None of the mentioned

16. Which of the field is reserved for use as a primary key ?

Correct Answer is : _id

17. If your driver has a version number of 2.9.1, What is the major version ?

Correct Answer is : 2

18. Updates that include _________ of field names may result in the reordering of fields in the document.

Correct Answer is : Renaming

19. The $rename operator logically performs an _______ of both the old name and the new name.

Correct Answer is : $unset

20. ____________ pattern requires additional steps of working with strings and regular expressions.

Correct Answer is : Materialized Paths

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon