MCQOPTIONS
Saved Bookmarks
This section includes 17 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
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 | |
| 2. |
Each index in MongoDB requires at least _________ of data space. |
| A. | 8KB |
| B. | 28KB |
| C. | 68KB |
| D. | 108KB |
| Answer» B. 28KB | |
| 3. |
_______________ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB. |
| A. | DataFS |
| B. | GridFS |
| C. | ReadFS |
| D. | None of the mentioned |
| Answer» C. ReadFS | |
| 4. |
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 | |
| 5. |
Capped collections provide __________ management of inserted documents in MongoDB. |
| A. | FIFO |
| B. | LIFO |
| C. | LRU |
| D. | MRU |
| Answer» B. LIFO | |
| 6. |
___________ strategy is used to explicitly avoid document growth. |
| A. | deallocation |
| B. | allocation |
| C. | pre-allocation |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 7. |
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 | |
| 8. |
The ___________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation. |
| A. | mongod |
| B. | mongo |
| C. | json |
| D. | none of the mentioned |
| Answer» C. json | |
| 9. |
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 | |
| 10. |
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. | |
| 11. |
Which of the following field allows efficient retrieval of chunks ? |
| A. | n |
| B. | name |
| C. | object |
| D. | 2n |
| Answer» B. name | |
| 12. |
__________ define what records to select for read, update, and delete operations. |
| A. | Query optimizer |
| B. | Query selector |
| C. | Update definitions |
| D. | All of the mentioned |
| Answer» C. Update definitions | |
| 13. |
Which of the following is related to parsing of document for root ? |
| A. | Stemming |
| B. | Synonyms |
| C. | Ranking |
| D. | None of the mentioned |
| Answer» B. Synonyms | |
| 14. |
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 | |
| 15. |
The ______ factor is a constant and known property of the currency. |
| A. | rank |
| B. | scale |
| C. | high |
| D. | none of the mentioned |
| Answer» C. high | |
| 16. |
To add structures to your document to support keyword-based queries add the keywords as ______ in the array. |
| A. | number |
| B. | strings |
| C. | character |
| D. | none of the mentioned |
| Answer» C. character | |
| 17. |
In one field, exact monetary value is encoded as a _________ data type. |
| A. | numeric |
| B. | character |
| C. | non numeric |
| D. | none of the mentioned |
| Answer» C. non numeric | |