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

C100DBA Online Practice Questions and Answers

Questions 4

Which of the following operators is used to updated a document partially?

A. $set

B. $update

C. $project

D. $modify

Buy Now
Questions 5

`$set' sets the value of

A. Code block

B. Name/value pair

C. Key

D. None of the above

Buy Now
Questions 6

You perform the following query on the sayings collection, which has the index { quote : "text" }: Assuming the documents below are in the collection, which ones will the following query return? Check all

that apply.

A. db.sayings.find( { $text : { $search : "fact find" } } )

B. { _id : 3, quote : "Nobody will ever catch me." }

C. { _id : 1, quote : "That's a fact, Jack." }

D. { _id : 2, quote : "Find out if that fact is correct." }

Buy Now
Questions 7

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

A. mapReduce

B. group

C. aggregate

D. All of the above

Buy Now
Questions 8

Which mongodb tools allow us to work with our data in a human readable format?

A. mongodump

B. mongostat

C. mongoimport

D. mongoexport

Buy Now
Questions 9

Aggregation Pipelines have a limit of:

A. No limit on document and 100 MB RAM

B. 2 MB document and no limit on RAM

C. 2 MB document and 100 MB RAM

D. 16 MB document and 100 MB RAM

Buy Now
Questions 10

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.

A. As an optimized sort query (scanAndOrder = false) using "mylndex" because we are sorting on an indexed field

B. As an indexed query using "mylndex" because field "user.login" is indexed

C. MongoDB will need to do a table/collection scan to find matching documents

D. None of the above

E. As a covered query using "mylndex" because we are filtering out "_id" and only returning "user.login"

Buy Now
Questions 11

Which of the following about Capped Collections is correct?

A. Fixed Size

B. Only "Fixed Size" and "High-throughput operations that insert and retrieve documents based on insertion order"

C. High-throughput operations that insert and retrieve documents based on insertion order

D. If the allocated space for a capped collection exceeds, it stops inserting new documents

Buy Now
Questions 12

Which of the following commands can cause the database to be locked?

A. All of the above

B. Inserting data

C. Map-reduce

D. Issuing a query

Buy Now
Questions 13

Update If Correct is an approach for which of the following concepts in MongoDB:

A. Concurrency Control

B. Atomicity

C. Performance Management

D. Transaction Management

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99