Choose a topic to test your knowledge and improve your MongoDB skills
______ specifies a geometry in GeoJSON format to geospatial query operators.
Point out the correct statement.
_____ returns geospatial objects in proximity to a point on a sphere. Requires a geospatial index.
____ specifies a minimum distance to limit the results of $near and $nearSphere queries.
The _________ operator specifies a circle for a $geoWithin query.
____ index must exist on a field holding coordinates before using any of the geospatial query operators.
When creating a text index on multiple fields, you can specify the individual fields or you can use wildcard specifier ______
Point out the wrong statement.
The default language for the indexed data is ______
If a collection contains documents or embedded documents that are in different languages, include a field named _______ in the documents.
Point out the correct statement.
To use a field with a name other than language, include the ________ option when creating the index.
The default name for the index consists of each indexed field name concatenated with _______
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.
The default weight is ____ for the indexed fields.
For a ______ index, the weight of an indexed field denotes the significance of the field relative to the other indexed fields in terms of the score.
_____ operations that use an index often have better performance than those that do not use an index.
Point out the wrong statement.
A prefix of a _______ index is a subset that consists of one or more keys at the start of the index key pattern.
Sort operations that do not use an index will abort when they use _______ megabytes of memory.
Point out the correct statement.
An index can support sort operations on a non-prefix subset of the index key pattern using _________ condition.
______ method provides a wrapper around the totalIndexSize output of the collStats (i.e. db.collection.stats()) operation.
Indexes do not have to fit entirely into ______ in all cases.
____ is the ability of a query to narrow results using the index.
______ query calculates distances using flat (planar) geometry.
Point out the wrong statement.
______ defines a circle for a geospatial query that uses spherical geometry.
When used with the $box operator, _________ returns documents based on grid coordinates and does not query for GeoJSON shapes.
Point out the correct statement.
Applications can use _________ without having a geospatial index.
_____ specifies a polygon for a geospatial $geoWithin query on legacy coordinate pairs.
Only the ______ geospatial index supports the $polygon operator.
_____ returns a document only once for a geospatial query even if the document matches the query multiple times.
A _______ set is a group of mongod instances that host the same data set.
Point out the wrong statement.
All other instances, secondaries, apply operations from the _________ so that they have the same data set.
A replica set can have only ________ primary.
Point out the wrong statement.
To support replication, the primary records all changes to its data sets in its _______
You may add an extra mongod instance to a replica set as an ____
An arbiter will always be an arbiter whereas a primary may step down and become a secondary and a _________ may become the primary during an election.
When a primary does not communicate with the other members of the set for more than ____ seconds, the replica set will attempt to select another member to become the new primary.
When a replica set has one and only one primary, reads from that primary provide ______ consistency.
How many types of members exist in replica set?
Point out the wrong statement.
Which of the member receives all write operations?
____ replicate operations from the primary to maintain an identical data set.
Point out the wrong statement.
____ play a role in the elections that select a primary if the current primary is unavailable.