DP-420 · Question #66
DP-420 Question #66: Real Exam Question with Answer & Explanation
The correct answer is C: Spatial Indexes. Spatial Indexes are used for geospatial objects. Currently, it supports Points, Polygons, MultiPolygons, and LineStrings. Spatial indexes can also be used on GeoJSON objects. Option A is incorrect. Range indexes are not used on geospatial objects. Option B is incorrect. Use compo
Question
Range, spatial, and composite are three different types of indexes supported by Azure Cosmos DB. Which of these indexes are used for geospatial objects like points, polygons, LineStrings, etc?
Options
- ARange Indexes
- BComposite Indexes
- CSpatial Indexes
- DNone of these
Explanation
Spatial Indexes are used for geospatial objects. Currently, it supports Points, Polygons, MultiPolygons, and LineStrings. Spatial indexes can also be used on GeoJSON objects. Option A is incorrect. Range indexes are not used on geospatial objects. Option B is incorrect. Use composite indexes when you need to enhance the efficiency of queries that execute operations on several fields. Option C is correct. Spatial indexes are utilized for geospatial objects. Option D is incorrect. The spatial index is the right answer. https://docs.microsoft.com/en-us/azure/cosmos-db/index-overview
Topics
Community Discussion
No community discussion yet for this question.