MongoDB

MongoDB

Index Types has 26 Questions
Point out the wrong statement :

TTL index is ideal for certain types of information like machine generated event data, logs, and session information that only need to persist in a database for a finite amount of time
You cannot combine the sparse index option with the unique index option
TTL indexes are special indexes that MongoDB can use to automatically remove documents from a collection after a certain amount of time
None of the mentioned
The _________ property for an index causes MongoDB to reject duplicate values for the indexed field.

Hashed
Unique
Multikey
None of the mentioned
The ______ property of an index ensures that the index only contain entries for documents that have the indexed field.

Hashed
Unique
sparse
None of the mentioned
MongoDB can use the _________ of indexes to fulfill queries.

union
intersection
projection
None of the mentioned
Which of the following method is to verify whether MongoDB used index intersection ?

explain()
analyze()
intersect()
None of the mentioned
To support ________ based sharding, MongoDB provides a hashed index type,

primary
root
hash
All of the mentioned
Before version _______, capped collections did not have an _id field.

2.1
2.4
3.0
2.2
Point out the wrong statement :

You can create indexes on fields within embedded documents
Indexes on embedded fields is similar to indexes on embedded documents
Indexes on embedded fields allow you to use a “dot notation,” to introspect into embedded documents
None of the mentioned
For a _____ multikey index, each indexed document can have at most one indexed field whose value is an array.

Hashed
Unique
Multikey
compound
Which of the following indexes cannot be multikey ?

Hashed
Unique
Multikey
compound
Point out the wrong statement :

You may not create compound indexes that have hashed index fields
The order of the fields in a compound index is very important
You will receive a warning if you attempt to create a compound index that includes a hashed index
None of the mentioned
To calculate geometry over an Earth-like sphere, store your location data on a spherical surface and use _____ index.

2dsphere
2d
geoHaystack
All of the mentioned
______ indexes can be constructed over arrays that hold both scalar values (e.g. strings, numbers) and nested documents.

Hashed
Unique
Multikey
compound
The coordinate reference system for GeoJSON uses the _____ datum.

WGS88
WGS84
JGS88
None of the mentioned
Which of the following is used to calculate distances on a Euclidean plane ?

2dsph
2d
geoHaystack
All of the mentioned
ueries on ________ objects always calculate on a sphere.

GeoBSON
GeoJSON
geoJSONB
All of the mentioned
hen used with the _____ operator, $geoWithin returns documents based on grid coordinates and does not query for GeoJSON shapes.

$box
$circle
$shape
All of the mentioned
To query with a single-ringed GeoJSON polygon whose area is greater than a single hemisphere, the $geometry expression must specify the custom MongoDB ________.

CRS
CDS
CLS
None of the mentioned
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

smaller
bigger
equal
All of the mentioned
The $geoWithin operator uses the _______ operator to specify the GeoJSON object.

$sphere
$geoin
$geometry
All of the mentioned
Point out the correct statement :

For $geoSphere queries that specify GeoJSON geometries with areas greater than a single hemisphere, the use of the default CRS results in queries for the complementary geometries
When determining inclusion, MongoDB considers the border of a shape to be part of the shape, subject to the precision of floating point numbers
The custom MongoDB CRS uses a anti-clockwise winding order
None of the mentioned
Inclusion queries use the _________ operator in MongoDB.

$geokey
$geoin
$geoWithin
All of the mentioned
MongoDB supports spherical surface calculations on legacy coordinate pairs using a _______ index

2dsphere
2d
geoHaystack
All of the mentioned
Point out the wrong statement :

MongoDB can query for locations contained entirely within a specified polygon
MongoDB require an index for inclusion queries; however, such indexes will improve query performance
Indexes on embedded fields allow you to use a “dot notation,” to introspect into embedded documents
None of the mentioned
Which of the following GeoJSON object is not supported in MongoDB ?

Point
LineString
MultiPoint
None of the mentioned
$geoWithin replaces _______ in MongoDB 2.4.

$withing
$gwithin
$within
All of the mentioned