MongoDB MCQ Questions - Data Modeling

This section focuses on "Data Modeling" in MongoDB. These Multiple Choice Questions (MCQ) should be practiced to improve the MongoDB skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.

1. Each index in MongoDB requires at least _________ of data space.

A. 8KB
B. 16KB
C. 32KB
D. 64KB

View Answer


2. In MongoDB, At which level write operations are atomic?

A. Collection
B. Document
C. Field
D. Row

View Answer


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

A. Capped
B. Embedded
C. External
D. References

View Answer


4. The limit on the number of namespaces depend on the ?

A. <database>.ns size
B. <document>.ns size
C. <field>.ns size
D. <row>.ns size

View Answer


5. The namespace file defaults to ?

A. 4 MB
B. 8 MB
C. 16 MB
D. 32 MB

View Answer


6. _______index allows efficient retrieval of chunks using the files_id and n values.

A. repairDatabase 
B. dataFS
C. fileFS
D. GridFS

View Answer


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

A. 1
B. 4
C. 3
D. 2

View Answer


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

A. repairDatabase
B. repairedDatabase
C. recoverDatabase
D. None of the above

View Answer


9. GridFS is useful only for storing files that exceed 16MB

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. The key consideration for the structure of your documents is the decision to embed or to use references

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.