Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free MongoDB Associate Database Administrator(Based on MongoDB 6.0 and 7.0+) Practice Questions

Exams4sure Dumps

Exam style questions across every C100DBA domain

Last Update 2 days ago
Total Questions : 172

Start with our free C100DBA practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real MongoDB Certified DBA Associate exam. Each C100DBA exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your MongoDB weak domains, see where you're losing marks, and build a focused study plan in minutes.

C100DBA PDF

C100DBA PDF (Printable)
$54.25
$154.99

C100DBA Testing Engine

C100DBA PDF (Printable)
$59.5
$169.99

C100DBA PDF + Testing Engine

C100DBA PDF (Printable)
$74.55
$212.99
Question # 41

Below is a sample document of " orders " collection

Question # 41

Options:

A.  

$sort

Discussion 0
Question # 42

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

Options:

A.  

$project

B.  

$aggregate

C.  

$match

D.  

$group

Discussion 0
Question # 43

Which of the following are common uses of the mongo shell? Check all that apply

Options:

A.  

Perform queries against MongoDB collections

B.  

Perform administrative tasks

C.  

Use as a JavaScript framework for your production system

Discussion 0
Question # 44

In a replica set, which member is responsible for maintaining copies of the primary ' s data?

Options:

A.  

Secondary

B.  

Mongos

C.  

Arbiter

D.  

Shard

Discussion 0
Question # 45

Consider the following document from the products collection:

Question # 45

What does the following query using $elemMatch return? db.products.find( { product_code: " 345678 " }, { variations: { $elemMatch: { size: ^L^ } } } )

Options:

A.  

Returns the complete document but retrieves only the size field from the array

B.  

Returns the document but with only one element in the variations array (corresponding to size L)

C.  

Returns the complete document since MongoDB does not support partial array retrieval

D.  

Returns the complete document but retrieves only the size field from the array and also with only one element in the variations array (corresponding to size L)

Discussion 0
Question # 46

Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.

Options:

A.  

Members of a replica set may replicate data from any other data-bearing member of the set by default

B.  

Clients read from the nearest member of a replica ser by default

C.  

Operations on the primary are recorded in a capped collection called the oplog

Discussion 0
Question # 47

The________operator can be used to identify an element in the array to be updated without explicitly specifying

the position of the element.

Options:

A.  

$ elemMatch

B.  

$slice

C.  

Updating an array field without knowing its index is not possible.

D.  

$

Discussion 0
Question # 48

Which TWO commands can be used to check for all active operations on the current node?

Options:

A.  

db.currentOp({ op : " command " })

B.  

db.adminCommand({ " all " : currentOp})

C.  

db.currentOp(true)

D.  

db.adminCommand({ currentOp : true })

E.  

db.currentOp({ " all " : true })

Discussion 0
Question # 49

Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?

Options:

A.  

db.population.aggregate( [{ $group: { _id: { state: " $state " , city; " $city " },pop: { $sum: 1 > > > ] )

B.  

db.population.aggregate( [{ $group: { _id: { state: Estate " , city: " $city " },pop: { $pop: 1 } } }] )

C.  

db.population.aggregate( [{ $group: { _id: { state: Estate " , city: n$city " },pop: { $sum: " $pop " } } }] )

D.  

db.population.aggregate( [{ $group: { _id: { city: " $city " },pop: { $sum: " $pop " } } }] )Multi Document Transaction is not supported by MongoDB

Discussion 0
Question # 50

What command adds a document to the class101 collection where the student is " Randall " and the student passed the class?

Options:

A.  

db.class101.insertOne({ student: " Randall " , passed: True })

B.  

db.class101.insertOne({ student: Randall, passed: true })

C.  

db.class101.insertOne({ student: Randall, passed: True })

D.  

db.class101.insertOne({ student: " Randall " , passed: true })

Discussion 0

Free Exams Sample Questions