MongoDB Certified Developer Associate - C100DEV Exam Practice Test
Select all true statements about the $merge stage.
Correct Answer: A,B,C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Select true statements about sorting & indexing performance.
Correct Answer: A,C,D
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Select all true statements about the $facet stage.
Correct Answer: A,C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Select true statements regarding to MongoDB. Check all that apply.
Correct Answer: A,C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
We have a movies collection with the following document structure: { _id: ObjectId("573a1390f29313caabcd6223"), genres: [ 'Comedy', 'Drama', 'Family' ], title: 'The Poor Little Rich Girl', released: ISODate("1917-03-05T00:00:00.000Z"), year: 1917, imdb: { rating: 6.9, votes: 884, id: 8443 } }, { _id: ObjectId("573a13e3f29313caabdc08a4"), genres: [ 'Horror', 'Thriller' ], title: 'Mary Loss of Soul', year: 2014, imdb: { rating: '', votes: '', id: 2904798 } } We need to use Aggregation Framework to calculate the following aggregates: -> average imdb rating -> minimum imdb rating -> maximum imdb rating Expected output: [ { _id: null, avg_rating: 6.6934040649367255, min_rating: 1.6, max_rating: 9.6 } ] Please note that some documents have "" (empty string) for the field "imdb.rating". Exclude these documents before aggregation. Which pipeline should you use?
Correct Answer: A
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
How to connect to MongoDB with mongod to localhost running on port 27017?
Correct Answer: C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Assign typical operational tasks to the Database Administrator.
Correct Answer: A
Vote an answer
Select all options when you should deploy a MongoDB deployment with security enabled.
Correct Answer: A,B,C,D
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Select all true statements about elections (replica set).
Correct Answer: A,B,C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
What stages will cause a merge on the primary shard for a database?
Correct Answer: A,C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
Select true statements about data modeling in MongoDB.
Correct Answer: A,B
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).