MCQOPTIONS
Saved Bookmarks
This section includes 13 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
__________ can be used to limit the size of the result document for a query operation. |
| A. | limit() |
| B. | aggregate() |
| C. | skip() |
| D. | none of the mentioned |
| Answer» B. aggregate() | |
| 2. |
Which of the following represents number of times the operation acquired the lock in the specified mode? |
| A. | system.profile.locks.acquireCount |
| B. | system.profile.locks.acquireWaitCount |
| C. | system.profile.locks.Count |
| D. | none of the mentioned |
| Answer» B. system.profile.locks.acquireWaitCount | |
| 3. |
How many types of locking modes exist in MongoDB? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | More than 3 |
| Answer» E. | |
| 4. |
Which of the following keyword represents lock on the collection? |
| A. | Database |
| B. | Collection |
| C. | Metadata |
| D. | All of the mentioned |
| Answer» C. Metadata | |
| 5. |
Which of the following collection is capped? |
| A. | system.index |
| B. | system.replica |
| C. | system.profile |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 6. |
Which of the following information is captured by database profiler? |
| A. | Read operations |
| B. | Write operations |
| C. | Cursor Operations |
| D. | All of the mentioned |
| Answer» E. | |
| 7. |
___________CAN_BE_USED_TO_LIMIT_THE_SIZE_OF_THE_RESULT_DOCUMENT_FOR_A_QUERY_OPERATION.?$ |
| A. | limit() |
| B. | aggregate() |
| C. | skip() |
| D. | none of the mentioned |
| Answer» B. aggregate() | |
| 8. |
Which of the following represents number of times the operation acquired the lock in the specified mode ? |
| A. | system.profile.locks.acquireCount |
| B. | system.profile.locks.acquireWaitCount |
| C. | system.profile.locks.Count |
| D. | none of the mentioned |
| Answer» B. system.profile.locks.acquireWaitCount | |
| 9. |
How many types of locking modes exist in MongoDB ? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | More than 3 |
| Answer» E. | |
| 10. |
Which of the following keyword represents lock on collection ? |
| A. | Database |
| B. | Collection |
| C. | Metadata |
| D. | All of the mentioned |
| Answer» C. Metadata | |
| 11. |
The ___________ provides information for various lock types and lock modes held during the operation. |
| A. | admin.system.authlocks |
| B. | system.profile.locks |
| C. | admin.system.locks |
| D. | all of the mentioned |
| Answer» C. admin.system.locks | |
| 12. |
Which of the following collection is capped ? |
| A. | system.index |
| B. | system.replica |
| C. | system.profile |
| D. | all of the mentioned |
| Answer» D. all of the mentioned | |
| 13. |
Which of the following information is captured by database profiler ? |
| A. | Read operations |
| B. | Write operations |
| C. | Cursor Operations |
| D. | All of the mentioned |
| Answer» E. | |