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 2 out of 6 pages
Viewing questions 11-20 out of questions
Questions # 11:

MongoDB is a schema-less design.

Options:

A.

False

B.

True

Questions # 12:

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?

Options:

A.

A, B, C

B.

A

C.

B, C

D.

A, B

Questions # 13:

Which of the following does MongoDB use to provide High Scalability?

Options:

A.

Replication

B.

Write Concern

C.

Indexing

D.

Sharding

Questions # 14:

Consider a products collection:

{ " _id " : 1, " item " : " t-shirt " , " color " : " red " , " price " : 10 }

{ " _id " : 2, " item " : " sweater " , " color " : " green " , " price " : 20 }

{ " _id " : 3, " item " : " belt " , " color " : " black " , " price " : 15 }

{ " _id " : 4, " item " : " hat " , " color " : " green " , " price " : 12 }

What operation modifies the price of all products that have a color value of " green " ?

Options:

A.

db.products.update({ " color " : " green " }, { " price " : { " $inc " : 5 } })

B.

db.products.update({ " color " : " green " }, { $inc: { " price " : 5 } })

C.

db.products.updateMany({ " color " : " green " }, { " $inc " : { " price " : 5 } })

D.

db.products.updateMany({ " color " : " green " }, { " price " : { " $inc " : 5 } })

Questions # 15:

Consider the following document from the products collection:

Question # 15

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)

Questions # 16:

‘$set ' sets the value of

Options:

A.

Code block

B.

Name/value pair

C.

Key

D.

None of the above

Questions # 17:

In what format does mongodump creates backup files?

Options:

A.

BSON

B.

JSON

C.

SOAP

D.

XML

Questions # 18:

A collection named scores includes:

[

{ _id: 1, home_score: 6, away_score: [ 5, 7 ] },

{ _id: 2, home_score: [ 8, 6 ], away_score: 9 },

{ _id: 3, home_score: [ 5, 8 ], away_score: [ 9, 6 ] },

{ _id: 4, home_score: 5, away_score: 10 }

]

Given the following index:

db.scores.createIndex( { home_score: 1, away_score: 1 } )

What document will cause the index to fail?

Options:

A.

Document with _id: 2

B.

Document with _id: 4

C.

Document with _id: 1

D.

Document with _id: 3

Questions # 19:

Which of the following does MongoDB use to provide High Availability and fault tolerance?

Options:

A.

Sharding

B.

Indexing

C.

Replication

D.

Write Concern

Questions # 20:

What are the audit log destinations? (Select three)

Options:

A.

syslog

B.

file

C.

TCP/IP port

D.

database

E.

console

Viewing page 2 out of 6 pages
Viewing questions 11-20 out of questions