

MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
________ returns a document only once for a geospatial query even if the document matches the query multiple times. |
A. | $uniqueDocs |
B. | $unique |
C. | $Docs |
D. | All of the mentioned |
Answer» B. $unique | |
2. |
Only the ______ geospatial index supports the $polygon operator. |
A. | 1dsphere |
B. | 2d |
C. | 3d |
D. | None of the mentioned |
Answer» C. 3d | |
3. |
_________ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs. |
A. | $rect |
B. | $polygon |
C. | $poly |
D. | All of the mentioned |
Answer» C. $poly | |
4. |
ONLY_THE________GEOSPATIAL_INDEX_SUPPORTS_THE_POLYGON_OPERATOR?$ |
A. | 1dsphere |
B. | 2d |
C. | 3d |
D. | None of the mentioned |
Answer» C. 3d | |
5. |
_________returns_a_document_only_once_for_a_geospatial_query_even_if_the_document_matches_the_query_multiple_times.$ |
A. | $uniqueDocs |
B. | $unique |
C. | $Docs |
D. | All of the mentioned |
Answer» B. $unique | |
6. |
_________ specifies a polygon for a geospatial?#geoWithin query on legacy coordinate pairs? |
A. | $rect |
B. | $polygon |
C. | $poly |
D. | All of the mentioned |
Answer» C. $poly | |
7. |
Applications can use _________ without having a geospatial index. |
A. | $center |
B. | $centre |
C. | $radii |
D. | $centersphere |
Answer» E. | |
8. |
When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes. |
A. | $geoNear |
B. | $geoWithin |
C. | $geoRear |
D. | All of the mentioned |
Answer» C. $geoRear | |
9. |
_________ defines a circle for a geospatial query that uses spherical geometry. |
A. | $center |
B. | $centre |
C. | $radii |
D. | $centersphere |
Answer» E. | |
10. |
__________ query calculates distances using flat (planar) geometry. |
A. | $center |
B. | $centre |
C. | $radii |
D. | Sort |
Answer» B. $centre | |