MongoDB Certified Developer Associate (C100DEV) Free Practice Test
Question 1
Select true statements about sorting & indexing performance.
Correct Answer: A,C,D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 2
The greater the cardinality of a field, the...
Correct Answer: A
Question 3
Use case: e-learning platform Which of the following scenarios is the best candidate to use the Subset Pattern?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
Can you create a unique index in MongoDB?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
Suppose you have a following index for football_palyers collection: { "last_name": 1, "details.country": 1, "details.club": 1, "age": 1 } Determine which queries are able to successfully use a given index for both filtering and sorting.
Correct Answer: A,C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
Select all true statements about elections (replica set).
Correct Answer: A,B,D
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
Can you perform the following operation?
db.users.insertOne({})
db.users.insertOne({})
Correct Answer: A
Question 8
Given a movies collection where each document has the following structure: { _id: ObjectId("573a1391f29313caabcd9264"), genres: [ 'Romance', 'Drama' ], title: 'The Divorcee', languages: [ 'English', 'French' ], year: 1930, imdb: { rating: 6.9, votes: 1740, id: 20827 }, countries: [ 'USA' ] } Which of the following queries will find all movies that have exactly 5 languages?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 9
Select all valid BSON types in MongoDB. (select 4)
Correct Answer: B,C,D,E
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 10
Why adding indexes may lead to slower write operations?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).