

MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
Capped collections provide __________ management of inserted documents in MongoDB. |
A. | FIFO |
B. | LIFO |
C. | LRU |
D. | MRU |
Answer» B. LIFO | |
2. |
The __________ feature of collections expires documents after a period of time. |
A. | TEL |
B. | TTL |
C. | TPL |
D. | None of the mentioned |
Answer» C. TPL | |
3. |
To get the current number of namespaces in the mongo shell, use ________________ |
A. | db.system.namespaces.countc() |
B. | db.system.namespaces.count(*) |
C. | db.system.namespaces.count() |
D. | all of the mentioned |
Answer» D. all of the mentioned | |
4. |
MongoDB using the mmapv1 storage engine has limits on the number of __________ |
A. | namespaces |
B. | collections |
C. | documents |
D. | none of the mentioned |
Answer» B. collections | |
5. |
To interact with embedded documents, use ___________ notation to “reach into” embedded documents. |
A. | period |
B. | dot |
C. | comma |
D. | colon |
Answer» C. comma | |
6. |
Normalized data models describe relationships using ___________ between documents. |
A. | relativeness |
B. | references |
C. | evaluation |
D. | none of the mentioned |
Answer» C. evaluation | |
7. |
Embedded data model is used when you have _________ relationships between entities. |
A. | contains |
B. | isa |
C. | inheritance |
D. | all of the mentioned |
Answer» B. isa | |
8. |
___________ data models allow applications to store related pieces of information in the same database record. |
A. | Reference |
B. | Embedded |
C. | External |
D. | None of the mentioned |
Answer» C. External | |