MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) - C100DBA 模擬練習

Consider that the posts collection contains an array called ratings which contains ratings given to the post by various users in the following format:

Which of the following query will return all the documents where the ratings array contains elements that in some combination satisfy the query conditions?

正解: D
You have designed a web application with mongoDB. You have configured replication. The replica set is in place and function properly. What happens in case of failure?

正解: A
Which of the following index would be optimum for the query?
Select all valid. db.test.find( { a : 5, c : 2 })

正解: B,C
Which operations add new documents to a collection?

正解: B,C
What is the maximum size of a MongoDB document?

正解: C
Below is a sample document in a given collection test.
{ a : 5, b : 3, c: 2, d : 1 }
Given a compound index { a: 1, b:l, c:l, d:l}, Which of the below query will not use in-memory sorting? Select all valid.

正解: A,D
The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:

正解: A