adplus-dvertising
frame-decoration

Question

Point out the correct statement.

a.

If you build a TTL index in the foreground, MongoDB does not remove expired documents as soon as the index finishes building

b.

The TTL index does guarantee that expired data will be deleted immediately upon expiration

c.

Duration of the removal operation depends on the workload of your mongod instance

d.

None of the mentioned

Posted under MongoDB

Answer: (c).Duration of the removal operation depends on the workload of your mongod instance

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the correct statement.

Similar Questions

Discover Related MCQs

Q. The background task that removes expired documents runs every ________ seconds.

Q. Point out the wrong statement.

Q. On replica sets, the TTL background thread only deletes documents on _____________

Q. You can combine the ________ constraint with the sparse index to filter these null values from the unique index and avoid the error.

Q. You may not specify a unique constraint on a ______ index.

Q. Which of the following indexes are always sparse?

Q. To modify an existing index, you cannot just re-issue the _________ method with the updated specification of the index.

Q. Point out the wrong statement.

Q. 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.

Q. To terminate an ongoing index build, use the __________ method in the mongo shell.

Q. Point out the correct statement.

Q. In the mongo shell, you can use the ______ method to return a list of the indexes on a collection.

Q. __________ views partial execution statistics collected during plan selection.

Q. The __________ operator constrains the results of a geospatial $near or $nearSphere query to the specified distance.

Q. To force MongoDB to use a particular index for a db.collection.________ operation, specify the index with the hint() method.

Q. Specify the ______ operator to the hint() method to prevent MongoDB from using any index.

Q. ___________ selects geometries that intersect with a GeoJSON geometry.

Q. Point out the wrong statement.

Q. _______ returns geospatial objects in proximity to a point.

Q. _________ specifies a geometry in GeoJSON format to geospatial query operators.