Indexing on MongoDB related Questions and Answers

Question 1 : ________ returns a document only once for a geospatial query even if the document matches the query multiple times.
1. $uniqueDocs
2. $unique
3. $Docs
4. All of the mentioned
View Answer   Discuss with Members

Question 2 : Only the ______ geospatial index supports the $polygon operator
1. 1dsphere
2. 2d
3. 3d
4. None of the mentioned
View Answer   Discuss with Members

Question 3 : _________ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
1. $rect
2. $polygon
3. $poly
4. All of the mentioned
View Answer   Discuss with Members

Question 4 : Applications can use _________ without having a geospatial index.
1. $center
2. $centre
3. $radii
4. $centersphere
View Answer   Discuss with Members

Question 5 : When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes.
1. $geoNear
2. $geoWithin
3. $geoRear
4. All of the mentioned
View Answer   Discuss with Members

Question 6 : _________ defines a circle for a geospatial query that uses spherical geometry.
1. $center
2. $centre
3. $radii
4. $centersphere
View Answer   Discuss with Members

Question 7 : __________ query calculates distances using flat (planar) geometry.
1. $center
2. $centre
3. $radii
4. Sort
View Answer   Discuss with Members

Question 8 : ________ is the ability of a query to narrow results using the index.
1. Causality
2. Cardinality
3. Selectivity
4. All of the mentioned
View Answer   Discuss with Members

Question 9 : Indexes do not have to fit entirely into ______ in all cases.
1. ROM
2. RAM
3. Secondary Storage
4. None of the mentioned
View Answer   Discuss with Members

Question 10 : To avoid creating an index with a name that exceeds the index name length limit, you can pass the _____ option to the db.collection.createIndex() method.
1. name
2. lang
3. number
4. all of the mentioned
View Answer   Discuss with Members


View 1 - 10 of 78 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter