MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) C100DBA Question # 3 Topic 1 Discussion

MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) C100DBA Question # 3 Topic 1 Discussion

C100DBA Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

Which of the following index would be optimum for the query?

Select all valid. db.test.find( { a : 5, c : 2 })


A.

db.test.ensurelndex( { c:l, a: 1})


B.

db.test.ensurelndex( { a : 1, c: 1, d: 1, b : 1})


C.

CH db.test.ensurelndex( { a :1, c:l})


D.

db.test.ensurelndex( { a: 1, b :1, c:l, d:l})


Get Premium C100DBA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.