MongoDB interview questions part 12

MongoDB interview questions part 12

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

Total Questions: 20

1. Normalized data models describe relationships using ___________ between documents.

Correct Answer is : references

2. Point out the wrong statement :

Correct Answer is : All of the mentioned

3. To interact with embedded documents, use ___________ notation to “reach into” embedded documents.

Correct Answer is : dot

4. MongoDB using the mmapv1 storage engine has limits on the number of __________ .

Correct Answer is : namespaces

5. To get the current number of namespaces in the mongo shell, use :

Correct Answer is : db.system.namespaces.count()

6. The __________ feature of collections expires documents after a period of time.

Correct Answer is : TTL

7. Capped collections provide __________ management of inserted documents in MongoDB.

Correct Answer is : FIFO

8. _______________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.

Correct Answer is : GridFS

9. Point out the wrong statement :

Correct Answer is : GridFS is useful only for storing files that exceed 16MB

10. How many does collections GridFS use to store files ?

Correct Answer is : 2

11. The default chunk size is changed from 256k to 255k in version :

Correct Answer is : 2.4.9

12. Point out the wrong statement :

Correct Answer is : All of the mentioend

13. Which of the collection in GridFS stores the binary chunks ?

Correct Answer is : chunks

14. ___________ is the _id is of the data type chosen for the original document in files collections.

Correct Answer is : files._id

15. Which of the following checks and repairs errors and inconsistencies in data storage ?

Correct Answer is : repairDatabase

16. The files_id field contains the _id of the chunk’s __________ document.

Correct Answer is : parent

17. Which of the following field allows efficient retrieval of chunks ?

Correct Answer is : n

18. ________ store the relationships between data by including links or references from one document to another.

Correct Answer is : References

19. Point out the correct statement :

Correct Answer is : Data in MongoDB has a flexible schema

20. In MongoDB, write operations are atomic at the __________ level.

Correct Answer is : document

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon