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 2 of 4
Question 16 Selectable Answer
Select all true statements about the differences between mongoexport and mongodump.

Answer:
Explanation:
https://docs.mongodb.com/database-tools/mongoexport/ https://docs.mongodb.com/database-tools/mongodump/
Question 17 Selectable Answer
Select all true statements about the update operation. (select 2)

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/
Question 18 Selectable Answer
Suppose you have a developers collection with the following document structure:
{
_id: 1,
fname: 'Bob',
lname: 'Smith',
tech_stack: [ 'git', 'c++', 'sqlite', 'linux' ]
}
Select a query that can be executed without errors.

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/
Question 19 Selectable Answer
How to display MongoDB configuration file from command line?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/configuration-options/#use-the-configuration-file
Question 20 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": 1,
"host": "192.168.120.24:27019",
"priority": 1,
"votes": 1
}
]
}
Select all true statements about this configuration.

Answer:
Explanation:
https://docs.mongodb.com/manual/replication/#replication
Question 21 Selectable Answer
How to create a new user with the root role named root_user with password root123?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/method/db.createUser/
Question 22 Selectable Answer
Given the following example document from an artists collection:
{
_id: 5,
last_name: 'Maurer',
first_name: 'Alfred',
year_born: 1868,
year_died: 1932,
nationality: 'USA'
}
and the following index:
db.artists.createIndex( { "last_name": 1, "nationality": 1 } )
How MongoDB will handle the query below?

Answer:
Explanation:
https://docs.mongodb.com/manual/indexes/
Question 23 Selectable Answer
Which of the following scenarios best suits the use of the Tree Pattern?

Answer:
Explanation:
https://www.mongodb.com/blog/post/building-with-patterns-the-tree-pattern
Question 24 Selectable Answer
Which of the following commands can you use to exports data in BSON format from a MongoDB cluster?

Answer:
Explanation:
https://docs.mongodb.com/database-tools/mongodump/
Question 25 Selectable Answer
What is the best practice in using the $match operator?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/operator/aggregation/match/
Question 26 Selectable Answer
Select all true statements regarding to Aggregation Framework.

Answer:
Explanation:
https://docs.mongodb.com/manual/aggregation/
Question 27 Selectable Answer
Select all true statements about indexes on a field with values of varying data types.

Answer:
Explanation:
https://docs.mongodb.com/manual/indexes/
Question 28 Selectable Answer
Select all true statements regarding to $out stage.

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/operator/aggregation/out/
Question 29 Selectable Answer
Which of the following actions are granted to the built-in read role?

Answer:
Explanation:
https://docs.mongodb.com/manual/reference/built-in-roles/#mongodb-authrole-read
Question 30 Selectable Answer
Why is high cardinality important when choosing a shard key?

Answer:
Explanation:
https://docs.mongodb.com/manual/core/sharding-shard-key/
Showing page 2 of 4