Halloween Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = drift75

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

Practice at least 50% of the questions to maximize your chances of passing.
Exam C100DBA Premium Access

View all detail and faqs for the C100DBA exam


828 Students Passed

87% Average Score

91% Same Questions
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
Questions # 41:

Which of the following index would be optimum for the query?

Select all valid. db.test.find( { a : 5, c : 2 })

Options:

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

Questions # 42:

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 # 43:

Using an arbiter allows one to easily ensure an odd number of voters in replica sets. Why is this important?

Options:

A.

To help in disaster recovery

B.

To protect agains network partitions

C.

To enable certain read preference settings

D.

To add greather redundancy

E.

For more efficient backup operations

Questions # 44:

Which features of relational database management systems were deliberately omitted in MongoDB and help us to obtain horizontal scalability? Check all that apply.

Options:

A.

Multi-statement transactions

B.

Joins

C.

Authentication

Questions # 45:

What tool do you use if you want to extract a CSV from mongo?

Options:

Questions # 46:

A collection named products contains the following documents:

{ " _id " : 1, " name " : " Laptop " , " price " : 1500 }

{ " _id " : 2, " name " : " Smartphone " , " price " : 800 }

{ " _id " : 3, " name " : " Tablet " , " price " : 600 }

{ " _id " : 4, " name " : " Monitor " , " price " : 300 }

{ " _id " : 5, " name " : " Headphones " , " price " : 200 }

Given the following query:

db.products.find().sort({ " price " : -1 }).limit(2)

What is the expected output?

Options:

A.

Laptop (1500) and Smartphone (800).

B.

Monitor (300) and Headphones (200).

C.

All five documents in descending price order.

D.

Headphones (200) and Monitor (300).

Questions # 47:

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 # 48:

What stage of the Winning Plan in an Explain Result identifies the Index Key for the query pattern?

Options:

A.

FETCH

B.

COLLSCAN

C.

IXSCAN

D.

GROUP

Questions # 49:

An employees collection contains documents with fields such as _id, name, age, department, and salary.

A database administrator needs to run a query that will return ONLY the name and age fields for all employees.

Which query meets this requirement?

Options:

A.

db.employees.find({ name: 1, age: 1 }, { })

B.

db.employees.find({ name: 1, age: 1, _id: 0 }, { })

C.

db.employees.find({ }, { name: 1, age: 1, _id: 0 })

D.

db.employees.find({ }, { name: 1, age: 1 })

Questions # 50:

What is the equivalent command in MongoDB for the following SQL query?

SELECT * FROM posts WHERE author like " %john% "

Options:

A.

db.posts.find( { author: /John/ } )

B.

db.posts.find( { author: /AjohnA/ > )

C.

db.posts.find( { $like: {author: /John/} } )

D.

db.posts.find( { author: {$like: /John/} } )

Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions
TOP CODES

TOP CODES

Top selling exam codes in the certification world, popular, in demand and updated to help you pass on the first try.