Free Demo Questions

Test Online Free MongoDB C100DEV Exam Questions and Answers

Practice a live sample before buying full access. This page keeps the free C100DEV question set organized by page so visitors and search engines can reach the canonical -questions.html URL directly.

Updated Jan 09, 2023 51 Questions 4 Pages
Page 3 of 4
Question 31 Selectable Answer
Where is collection metadata stored in a sharded cluster?

Answer:
Explanation:
https://docs.mongodb.com/manual/sharding/
Question 32 Selectable Answer
We have the following indexes:
{ name: 1, founded_year: 1 }
{ tag_list: 1, is_active: 1 } And the following documents:
{
_id: ObjectId("52cdef7c4bab8bd675297daa"),
name: "Sparter",
founded_year: 2007,
tag_list: ["gaming", "game", "wow"],
is_active: true
},
{
_id: ObjectId("52cdef7c4bab8bd675297da3"),
name: "Yahoo!",
founded_year: 1994,
tag_list: ["search", "webmail"],
is_active: true
}
Select true statement.

Answer:
Explanation:
https://docs.mongodb.com/manual/core/index-multikey/
Question 33 Selectable Answer
Use case: e-learning platform
Which of the following scenarios is the best candidate to use the Extended Reference Pattern to avoid additional reads by joins/lookups?

Answer:
Explanation:
https://www.mongodb.com/blog/post/building-with-patterns-the-extended-reference-pattern
Question 34 Selectable Answer
You have the following replica set configuration:
conf = {
"_id": "replset",
"version": 1,
"protocolVersion": 1,
"members": [
{
"_id": 0,
"host": "192.168.120.24:27017",
"priority": 2,
"votes": 1
},
{
"_id": 1,
"host": "192.168.120.24:27018",
"priority": 1,
"votes": 1
},
{
"_id": 2,
"host": "192.168.120.24:27018",
"priority": 1,
"votes": 1
}
]
}
Select all true statements about this configuration.

Answer:
Explanation:
https://docs.mongodb.com/manual/replication/#replication
Question 35 Selectable Answer
How can we represent a one-to-one relationship in MongoDB?

Answer:
Explanation:
https://docs.mongodb.com/manual/tutorial/model-embedded-one-to-one-relationships-between-documen ts/
Question 36 Selectable Answer
MongoDB can benefit from adding more RAM to your servers.

Answer:
Question 37 Selectable Answer
In which of the following CRUD operations can you specify a write concern? Select all that apply.

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/write-concern/
Question 38 Selectable Answer
Complete the sentence below.

Answer:
Explanation:
https://docs.mongodb.com/manual/core/document/ https://docs.mongodb.com/manual/reference/method/ObjectId/
Question 39 Selectable Answer
Given a movies collection where each document has the following structure:
{
_id: ObjectId("573a1390f29313caabcd60e4"),
genres: [ 'Short', 'Comedy', 'Drama' ],
title: 'The Immigrant',
year: 1917,
imdb: { rating: 7.8, votes: 4680, id: 8133 },
countries: [ 'USA' ]
}
Which of the following queries will find all movies that do not contain the Comedy and Romance genres?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/operator/query/nin/
Question 40 Selectable Answer
Given a movies collection where each document has the following structure:
{
_id: ObjectId('573a1390f29313caabcd60e4'),
genres: [ 'Short', 'Comedy', 'Drama' ],
title: 'The Immigrant',
year: 1917,
imdb: { rating: 7.8, votes: 4680, id: 8133 },
countries: [ 'USA' ]
}
Which of the following queries will find all movies that were made in 2000 or 2010?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/method/db.collection.find/ https://docs.mongodb.com/manual/reference/operator/query/or/
Question 41 Selectable Answer
Select scenarios that are best suited for applying the Schema Versioning Pattern.

Answer:
Explanation:
https://www.mongodb.com/blog/post/building-with-patterns-the-schema-versioning-pattern
Question 42 Selectable Answer
Does MongoDB support query operations that perform a text search of string content?

Answer:
Explanation:
https://docs.mongodb.com/manual/text-search/
Question 43 Selectable Answer
Assign typical operational tasks to the Data Scientist.

Answer:
Question 44 Selectable Answer
Suppose we have a shipwrecks collection with the following document structure:
{
_id: ObjectId("578f6fa2df35c7fbdbaed8ce"),
feature_type: 'Wrecks - Visible',
watlev: 'always dry',
coordinates: [ -79.9469681, 9.3729954 ]
}
You ran the command below:
db.shipwrecks.getIndexes()
And you got the following output:
[
{ v: 2, key: { _id: 1 }, name: '_id_' },
{
v: 2,
key: { coordinates: '2dsphere' },
name: 'coordinates_2dsphere',
'2dsphereIndexVersion': 3
}
]
How can you remove the geospatial index on the coordinates field?

Answer:
Explanation:
https://docs.mongodb.com/manual/core/2dsphere/
Question 45 Selectable Answer
Given a movies collection where each document has the following structure:
{
_id: ObjectId('573a1390f29313caabcd60e4'),
genres: [ 'Short', 'Comedy', 'Drama' ],
title: 'The Immigrant',
year: 1917,
imdb: { rating: 7.8, votes: 4680, id: 8133 },
countries: [ 'USA' ]
}
Which of the following queries will find all the movies that have more votes than the year in which they were released?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/method/db.collection.find/
Showing page 3 of 4