Leads4pass > MongoDB > MongoDB Certifications > C100DBA > C100DBA Online Practice Questions and Answers

C100DBA Online Practice Questions and Answers

Questions 4

Which of the following is supported by MongoDB?

A. Transaction Management

B. ACID Transactions

C. Journaling

D. Relationships between Collections (Primary Key Foreign Key)

Buy Now
Questions 5

In a sharded replica set environment, the w Option provides ability for write concern and j Option provides

ability for the data to be written on disk journal. Consider that we have a seven member replica set and we

want to assure that the writes are committed to journal.

What should be the value of j?

A. 1

B. 2

C. 0

D. 7

Buy Now
Questions 6

Which of the following is true about sharding?

A. Creating a sharded key automatically creates an index on the collection using that key

B. We cannot change a shard key directly/automatically once it is set up

C. A sharded environment does not support sorting functionality since the documents lie on various mongod instances

D. Sharding is enabled at the database level

Buy Now
Questions 7

Which command can be used to rebuild the indexes on a collection in MongoDB?

A. db.collection.createlndex({relndex:l})

B. db.collection.reIndex({author:l})

C. db.collection.relndexQ

D. db.collection.createIndex({author:l}).reIndex()

Buy Now
Questions 8

In a replicated cluster, which of the following node would only be used during an election?

A. arbiter

B. primary

C. hidden

D. secondary

Buy Now
Questions 9

If you have created a compound index on (A,B, C) which of the following access pattern will not be able to utilize the index?

A. A, B, C

B. A

C. B, C

D. A, B

Buy Now
Questions 10

Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

A. Number, Null, String and Object

B. Null, Number, Object and String

C. Null, Number, String and Object

D. String, Null, Number and Object

Buy Now
Questions 11

Which of the following operator can be used to control the number of items of an array that a query returns?

A. $ elemMatch

B. $slice

C. $

D. MongoDB does not support partial retrieval of items from an array

Buy Now
Questions 12

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})

Buy Now
Questions 13

What is the maximum size of Index Key Limit and Number of Indexes per collection?

A. 1024 bytes and 64 indexes

B. 12 mega bytes and 64 indexes

C. 64 bytes and 1024 indexes

D. 1024 bytes and unlimited indexes

Buy Now
Exam Code: C100DBA
Exam Name: MongoDB Certified DBA Associate (Based on MongoDB 4.4)
Last Update: Jul 03, 2026
Questions: 132
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99