75only - Ends in 0d 00h 00m 00s - Coupon code = 75only

Pass the MongoDB Certified DBA Associate C100DBA Questions and answers with Dumpstech

Exam C100DBA Premium Access

View all detail and faqs for the C100DBA exam

Practice at least 50% of the questions to maximize your chances of passing.
Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions
Questions # 1:

What is the purpose of enabling TLS?

Options:

A.

To automate backup and restore operations.

B.

To ensure high availability of the database.

C.

To improve query performance.

D.

To provide encryption of data in transit.

Questions # 2:

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

Questions # 3:

Consider an inventory collection that contains these documents:

{ " _id " : 1, " product " : " x-small box " , " colors " : [ " brown " , " black " , " white " ], " qty " : 50 }

{ " _id " : 2, " product " : " small box " , " colors " : [ " brown " , " white " ], " qty " : 60 }

{ " _id " : 3, " product " : " medium box " , " colors " : [ " black " , " grey " , " white " ], " qty " : 45 }

{ " _id " : 4, " product " : " large box " , " colors " : [ " grey " ], " qty " : 50 }

{ " _id " : 5, " product " : " x-large box " , " colors " : [ " grey " , " white " ], " qty " : 10 }

What result set does the following query return?

db.inventory.find({

$or: [

{ " product " : " x-small box " },

{

$and: [

{ " qty " : { $ne: 50 } },

{ " colors " : { $nin: [ " brown " ] } }

]

}

]

})

Options:

A.

Documents _id:3 and _id:5.

B.

Documents _id:1 and _id:3.

C.

Documents _id:1, _id:2, _id:3, and _id:5.

D.

Documents _id:1, _id:3, and _id:5.

Questions # 4:

To add a new user and enable authentication in MongoDB, which of the following steps need be executed?

Options:

A.

update users collection and restart mongodb

B.

All of the above

C.

update users collection and restart mongodb with -auth option

D.

update users collection and run db.enableAuthenticationQ

Questions # 5:

Below is a sample document of " orders " collection

Question # 5

Options:

A.

$project

Questions # 6:

Which is the default mode in which the explain() command runs?

Options:

A.

allPlansExecution

B.

customExecutionStats

C.

queryPlanner

D.

executionStats

Questions # 7:

You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?

Options:

A.

MinKey, Null, Numbers,Symbol, String,Object,Array,BinData

B.

MinKey, Null, Numbers,Object,Array,BinData,Symbol, String

C.

Object/Array^inData/Symbol,MinKey, Null, Numbers,String

D.

Objec^Array^inData,Symbol, String,MinKey, Null, Numbers

Questions # 8:

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

Options:

A.

$set

B.

$update

C.

$project

D.

$modify

Questions # 9:

Given the following MongoDB documents in the cars collection:

{

" carid " : 1,

" make " : " Toyota " ,

" model " : " Celica " ,

" mileage " : 143121,

" color " : " Red " ,

" year " : 2003,

" features " : [ " Leather Interior " , " 2WD " , " CD Player " ]

},

{

" carid " : 2,

" make " : " Honda " ,

" model " : " Civic " ,

" mileage " : 12000,

" color " : " White " ,

" year " : 2020,

" features " : [ " Cloth Interior " , " Sun Roof " , " XM Radio " ]

},

{

" carid " : 3,

" make " : " Tesla " ,

" model " : " Model S " ,

" mileage " : 5,

" color " : " Silver " ,

" year " : 2022,

" features " : [ " Leather Interior " , " Sun Roof " , " Auto Pilot " ]

}

What documents are returned from running the following $in query?

db.cars.find({ " features " : { $in: [ " Leather Interior " , " 2WD " , " Auto Pilot " ]}})

Options:

A.

[{ " carid " : 1, " make " : " Toyota " , " model " : " Celica " , " mileage " : 143121, " color " : " Red " , " year " : 2003, " features " : [ " Leather Interior " , " 2WD " , " CD Player " ] },{ " carid " : 3, " make " : " Tesla " , " model " : " Model S " , " mileage " : 5, " color " : " Silver " , " year " : 2022, " features " : [ " Leather Interior " , " Sun Roof " , " Auto Pilot " ] }]

B.

Documents with carid 1 and 2.

C.

Documents with carid 1, 2, and 3.

D.

Only the document with carid 3.

Questions # 10:

What is the use of mongodump and mongorestore tools?

Options:

A.

backup mongodb deployment

B.

audit mongodb deployment

C.

performance tune mongodb deployment

D.

replicate mongodb deployments

Viewing page 1 out of 6 pages
Viewing questions 1-10 out of questions