MongoDB Certified DBA Associate C100DBA Practice Exam Questions

MongoDB Certified DBA Associate C100DBA Practice Exam Questions

Start to prepare for your MongoDB Certified DBA Associate exam? MongoDB Certified DBA Associate Level Exam is for administrators with knowledge of the concepts and mechanics of MongoDB.  C100DBA Practice Exam cover real exam questions and answers to help you prepare for the exam well. With real C100DBA dumps, you can learn about the exam topics and pattern fast to better adapt to the exam environment.

You should try C100DBA practice test questions to assess yourself.

Page 1 of 4

1. By default, the MongoDB cursor in mongo shell is configured to return how many documents? To get the next set of documents, which command is used?

2. When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?

3. Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?



4. Which of the following aggregation commands in MongoDB does not support sharded collections?

5. In a sharded replicas set environment with multiple mongos servers, which of the following would decide the mongos failover?

6. Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called "sample". Check all that apply.

db.sample.find( { "$or" : [ { "a" : { "$in" : [ 3, 10] > }, { "b" : { "$lt" : 2 > > ] > )

7. Consider that our posts collection contains an array field called tags that contains tags that the user enters. {





Which of the following commands will find all the posts that have been tagged as tutorial.

8. Which operations add new documents to a collection?

9. Consider the following example document:

{

"_id": Objectld("5360c0a0a655a60674680bbe"),

"user"

"login": "irOn"

"description": "Made of steel"

"date": ISODate("2014-04-30T09:16:45.836Z"),

}

>

and index creation command:

db.users.createlndex( { "user.login": 1, "user.date": -1 }, "mylndex" )

When performing the following query:

db.users.find( { "user.login": /Air.*/ },

{ "user":1, "_id":0 > ).sort( { "user.date":1 > )

which of the following statements correctly describe how MongoDB will handle the query? Check all that apply.

10. Which format/standard is used by MongoDB internally to store documents?


 

Share this post

Leave a Reply

Your email address will not be published.