MCQOPTIONS
Saved Bookmarks
This section includes 32 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the collection in GridFS stores the binary chunks? |
| A. | chunks |
| B. | files |
| C. | data |
| D. | log |
| Answer» B. files | |
| 2. |
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 | |
| 3. |
Which of the following checks and repairs errors and inconsistencies in data storage? |
| A. | repairDatabase |
| B. | repairedDatabase |
| C. | recoverDatabase |
| D. | all of the mentioned |
| Answer» B. repairedDatabase | |
| 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. |
How will avoid mutable, growing arrays in the following schema? |
| A. | { |
| B. | { |
| C. | { |
| D. | None of the mentioned |
| Answer» B. { | |
| 7. |
If the address data is frequently retrieved with the name information, how will you modify the following schema representing one to one relationship with referencing? |
| A. | { |
| B. | { |
| C. | { |
| D. | All of the mentioned |
| Answer» B. { | |
| 8. |
What would be the more optimal schema to embed the address data entities in the patron data for following schema representing one to many relationships? |
| A. | { |
| B. | { |
| C. | { |
| D. | None of the mentioned |
| Answer» B. { | |
| 9. |
Which of the following is related to document that provide support for synonym or related queries in the application layer? |
| A. | Stemming |
| B. | Synonyms |
| C. | Ranking |
| D. | None of the mentioned |
| Answer» C. Ranking | |
| 10. |
Which of the following is used to handle arbitrary or unforeseen number of precision? |
| A. | Exact |
| B. | Accurate |
| C. | Ambiguity |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 11. |
Which of the following is used to avoid the repetition of data in MongoDB schema? |
| A. | DeReferences |
| B. | References |
| C. | Cursor |
| D. | Collectors |
| Answer» C. Cursor | |
| 12. |
How many does collections GridFS use to store files? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» C. 3 | |
| 13. |
Which of the following statement is incorrect about documents in MongoDB? |
| A. | The field names cannot start with the dollar sign ($) character |
| B. | The field names cannot contain the dot (.) character |
| C. | The field names cannot contain the null character |
| D. | None of the mentioned |
| Answer» E. | |
| 14. |
Which of the following pattern may provide a suitable solution for storing graphs? |
| A. | Child |
| B. | Parent |
| C. | Root |
| D. | None of the mentioned |
| Answer» B. Parent | |
| 15. |
The files_id field contains the _id of the chunk’s __________ document. |
| A. | parent |
| B. | child |
| C. | top |
| D. | none of the mentioned |
| Answer» B. child | |
| 16. |
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 | |
| 17. |
___________ is the _id is of the data type chosen for the original document in files collections. |
| A. | files._id |
| B. | file._id |
| C. | fileobj._id |
| D. | none of the mentioned |
| Answer» B. file._id | |
| 18. |
The ________ References pattern stores each tree node in a document; in addition to the tree node, the document stores the id of the node’s parent. |
| A. | Child |
| B. | Parent |
| C. | Root |
| D. | None of the mentioned |
| Answer» C. Root | |
| 19. |
Which of the following operations are atomic on document level? |
| A. | update |
| B. | remove |
| C. | findAndModify |
| D. | all of the mentioned |
| Answer» E. | |
| 20. |
The default chunk size is changed from 256k to 255k in which version? |
| A. | 3.0 |
| B. | 2.4.9 |
| C. | 2.4.10 |
| D. | None of the mentioned |
| Answer» C. 2.4.10 | |
| 21. |
Which of the following is related to the parsing of document for root? |
| A. | Stemming |
| B. | Synonyms |
| C. | Ranking |
| D. | None of the mentioned |
| Answer» B. Synonyms | |
| 22. |
Use of the approximation field for the query and sort operations requires that applications perform _______ side post-processing. |
| A. | client |
| B. | server |
| C. | application |
| D. | none of the mentioned |
| Answer» B. server | |
| 23. |
The Array of Ancestors pattern is slightly slower than the ________________ pattern. |
| A. | Materialized Paths |
| B. | Array of Ancestors |
| C. | Nested Sets |
| D. | None of the mentioned |
| Answer» B. Array of Ancestors | |
| 24. |
Which of the following precision uses two values for the field? |
| A. | Exact |
| B. | Accurate |
| C. | Ambiguity |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 25. |
____________ pattern requires additional steps of working with strings and regular expressions. |
| A. | Materialized Paths |
| B. | Array of Ancestors |
| C. | Nested Sets |
| D. | None of the mentioned |
| Answer» B. Array of Ancestors | |
| 26. |
The ____________ pattern identifies each node in the tree as stops in a round-trip traversal of the tree. |
| A. | Materialized Paths |
| B. | Array of Ancestors |
| C. | Nested Sets |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 27. |
Which of the following pattern is best for static trees that do not change? |
| A. | Child |
| B. | Parent |
| C. | Root |
| D. | None of the mentioned |
| Answer» E. | |
| 28. |
The _________ References pattern stores each tree node in array the id(s) of the node’s children. |
| A. | Child |
| B. | Parent |
| C. | Root |
| D. | None of the mentioned |
| Answer» B. Parent | |
| 29. |
Which of the following field allows efficient retrieval of chunks? |
| A. | n |
| B. | name |
| C. | object |
| D. | 2n |
| Answer» B. name | |
| 30. |
Which of the following relationship uses references to describe documents between connected data? |
| A. | One-to-One Relationships with Embedded Documents |
| B. | One-to-Many Relationships with Embedded Documents |
| C. | One-to-Many Relationships with Document References |
| D. | None of the mentioned |
| Answer» C. One-to-Many Relationships with Document References | |
| 31. |
Which of the following pattern is more straightforward to use? |
| A. | Materialized Paths |
| B. | Array of Ancestors |
| C. | Nested Sets |
| D. | None of the mentioned |
| Answer» C. Nested Sets | |
| 32. |
With MongoDB 3.0.0, the default use of the Power of _________ Allocations minimizes the occurrences of re-allocations as well as allows for the effective reuse of the freed record space. |
| A. | 2 Sized |
| B. | 3 Sized |
| C. | 4 Sized |
| D. | 5 Sized |
| Answer» B. 3 Sized | |