Choose a topic to test your knowledge and improve your MongoDB skills
Point out the correct statement.
MongoDB supports the creation of user-defined ascending/descending indexes on a ______ field of a document.
The ______ index is unique and prevents clients from inserting two documents with the same value for the _id field.
Point out the wrong statement.
MongoDB also supports user-defined indexes on multiple fields called ___
MongoDB uses ______ indexes to index the content stored in arrays.
______ indexes use spherical geometry to return results.
MongoDB provides a ________ index type that supports searching for string content in a collection.
_____ indexes uses planar geometry when returning results.
To support ________ based sharding, MongoDB provides a hashed index type.
Point out the correct statement.
_______ index type, which indexes the hash of the value of a field.
The _________ property for an index causes MongoDB to reject duplicate values for the indexed field.
Point out the wrong statement.
The ______ property of an index ensures that the index only contain entries for documents that have the indexed field.
MongoDB can use the _________ of indexes to fulfill queries.
Which of the following method is to verify whether MongoDB used index intersection?
An index prefix is a subset of a ______ index, consisting of one or more keys starting from the beginning of the index.
Index __________ does not eliminate the need for creating compound indexes.
Before version _______ capped collections did not have an _id field.
Point out the wrong statement.
For a _____ multikey index, each indexed document can have at most one indexed field whose value is an array.
Which of the following indexes cannot be multikey?
Point out the wrong statement.
To calculate geometry over an Earth-like sphere, store your location data on a spherical surface and use _____ index.
_____ indexes can be constructed over arrays that hold both scalar values (e.g. strings, numbers) and nested documents.
The coordinate reference system for GeoJSON uses the _____ datum.
Which of the following is used to calculate distances on a Euclidean plane?
Queries on ________ objects always calculate on a sphere.
Which of the following GeoJSON object is not supported in MongoDB?
Point out the wrong statement.
MongoDB supports spherical surface calculations on legacy coordinate pairs using a _______ index.
Inclusion queries use the _________ operator in MongoDB.
Point out the correct statement.
The $geoWithin operator uses the _______ operator to specify the GeoJSON object.
If the specified polygon is _______ than a single hemisphere, the behavior of $geoWithin with the MongoDB CRS is the same as with the default CRS.
To query with a single-ringed GeoJSON polygon whose area is greater than a single hemisphere, the $geometry expression must specify the custom MongoDB ________
$geoWithin replaces _______ in MongoDB 2.4.
When used with the _____ operator, $geoWithin returns documents based on grid coordinates and does not query for GeoJSON shapes.
_____ indexes expire documents after the specified number of seconds has passed since the indexed field value.
Point out the correct statement.
The background task that removes expired documents runs every ________ seconds.
Point out the wrong statement.
On replica sets, the TTL background thread only deletes documents on _____
You can combine the ________ constraint with the sparse index to filter these null values from the unique index and avoid the error.
You may not specify a unique constraint on a ______ index.
Which of the following indexes are always sparse?
To modify an existing index, you cannot just re-issue the _________ method with the updated specification of the index.
Point out the wrong statement.
If you need to rebuild indexes for a collection you can use the _________ method to rebuild all indexes on a collection in a single operation.
To terminate an ongoing index build, use the __________ method in the mongo shell.
Point out the correct statement.
In the mongo shell, you can use the ______ method to return a list of the indexes on a collection.
____ views partial execution statistics collected during plan selection.
The __________ operator constrains the results of a geospatial $near or $nearSphere query to the specified distance.
To force MongoDB to use a particular index for a db.collection.________ operation, specify the index with the hint() method.
Specify the ______ operator to the hint() method to prevent MongoDB from using any index.
______ selects geometries that intersect with a GeoJSON geometry.
Point out the wrong statement.
______ returns geospatial objects in proximity to a point.