MCQOPTIONS
Saved Bookmarks
This section includes 14 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
COUNT function is provided by _________ in MongoDB. |
| A. | $end |
| B. | $sum |
| C. | $max |
| D. | All of the mentioned |
| Answer» C. $max | |
| 2. |
____________ works similar to HAVING clause in SQL. |
| A. | $setcon |
| B. | $group |
| C. | $match |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 3. |
_______ groups documents by some specified expression and outputs to the next stage a document for each distinct grouping. |
| A. | $setcon |
| B. | $group |
| C. | $match |
| D. | None of the mentioned |
| Answer» C. $match | |
| 4. |
________ limits the number of documents in result set. |
| A. | $project |
| B. | $geo |
| C. | $limit |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 5. |
Which of the following provides similar functionality to join? |
| A. | $unwindelem |
| B. | $unwind |
| C. | $unwin |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 6. |
Which of the operator is similar to order by clause in RDBMS? |
| A. | $sort |
| B. | $match |
| C. | $sortby |
| D. | None of the mentioned |
| Answer» B. $match | |
| 7. |
_____________WORKS_SIMILAR_TO_HAVING_CLAUSE_IN_SQL?$ |
| A. | $setcon |
| B. | $group |
| C. | $match |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 8. |
COUNT_function_is_provided_by___________in_MongoDB.$ |
| A. | $end |
| B. | $sum |
| C. | $max |
| D. | All of the mentioned |
| Answer» C. $max | |
| 9. |
_______ groups documents by some specified expression and outputs to the next stage a document for each distinct grouping? |
| A. | $setcon |
| B. | $group |
| C. | $match |
| D. | None of the mentioned |
| Answer» C. $match | |
| 10. |
Which of the following is used to retrieve like SELECT clause in SQL? |
| A. | $reduce |
| B. | $select |
| C. | $project |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 11. |
________ limits the number of documents in result set |
| A. | $project |
| B. | $geo |
| C. | $limit |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 12. |
Which of the following provides similar functionality to join ? |
| A. | $unwindelem |
| B. | $unwind |
| C. | $unwin |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 13. |
Which of the operator is similar to order by clause in RDBMS ? |
| A. | $sort |
| B. | $match |
| C. | $sortby |
| D. | None of the mentioned |
| Answer» B. $match | |
| 14. |
__________ references the root document, i.e. the top-level document, currently being processed in the aggregation pipeline stage. |
| A. | CURRENT |
| B. | ROOT |
| C. | PRUNE |
| D. | All of the mentioned |
| Answer» C. PRUNE | |