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 3 out of 6 pages
Viewing questions 21-30 out of questions
Questions # 21:

Which format/standard is used by MongoDB internally to store documents?

Options:

A.

JSON

B.

BSON

C.

B+ Trees

D.

JSON - Extended

Questions # 22:

Which of the following operator can be used to limit the number of documents in an array field of a document after an update is performed?

Options:

A.

$arrayLimit

B.

$push along with $each, $sort and $slice

C.

$removeFromSet

D.

None of the above

Questions # 23:

Which of the following is correct about MongoDB?

Options:

A.

MongoDB supports geospatial indexes

B.

MongoDB supports some of the SQL functions

C.

MongoDB uses JSON format to represent documents

D.

MongoDB supports collection joins

Questions # 24:

What command will successfully start the mongod daemon with all default settings as a background task?

Options:

A.

mongod --fork --port 27017

B.

mongod --fork --dbpath default

C.

mongod --fork --logpath /var/log/mongodb/mongod.log

D.

mongod --default

Questions # 25:

What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ { $group: { _id; " $author " , x: { $sum: $likes } } } ] )

Options:

A.

Average of likes on all the posts of an author, grouped by author

B.

Number of posts by an author

C.

Sum of likes on all the posts by all the authors

D.

Sum of likes on all the posts by an author, grouped by author

Questions # 26:

What method should be used to configure dynamically runtime parameters for the mongod process in MongoDB?

Options:

A.

Use the --setParameter flag with the mongod command.

B.

Use the --config flag to specify a configuration file at startup of mongod.

C.

Configure the parameters in the MongoDB URI string.

D.

Configure in the MongoDB client shell mongosh before starting the server.

Questions # 27:

A database administrator notices that operations on the qa database are not completing, and have been in progress for longer than expected.

What command can the administrator run to see information on in-progress operations on the qa database?

Options:

A.

db.listOps.ns(/^qa\./)

B.

db.listOps(/^qa\./)

C.

db.currentOp({ " ns " : /^qa\./})

D.

db.currentOp.ns(/^qa\./)

Questions # 28:

The Production MongoDB Cluster contains Personally Identifiable Information, such as Name, Demographics, Date of Birth, and Government Identification Number. Due to strict compliance requirements, a database administrator is tasked to ensure a client ' s side encryption.

What feature should the administrator use to meet the requirement?

Options:

A.

Encrypted Storage Engine

B.

TLS/SSL

C.

Role Based Access Controls

D.

Queryable Encryption

Questions # 29:

Consider an orders collection that contains these documents:

{ _id: 1, product: " X-pad " , quantity: 950 }

{ _id: 2, product: " X-pad-pro " , quantity: 1000 }

{ _id: 3, product: " X-phone " , quantity: 850 }

{ _id: 4, product: " X-phone-pro " , quantity: 1350 }

Commands A and B are run at the same time. Assume that no other operations are running.

Options:

A.

)db.orders.findAndModify({query: { " product " : " X-phone " },update: { $set: { " quantity " : 1250 } }})

B.

)db.orders.updateMany({}, { $set: { " quantity " : 0 } })What is the possible findAndModify output and database state after these operations complete? Select TWO.

C.

findAndModify output shows quantity 1250; final X-phone quantity is 1250 while all others are 0.

D.

findAndModify output shows quantity 850; final quantities for all four documents are 0.

E.

findAndModify output shows quantity 0; final quantities for all four documents are 0.

F.

findAndModify output shows quantity 0; final X-phone quantity is 1250 while all others are 0.

Questions # 30:

What does the following $slice query return using the following command? db.posts.find( {}, { comments: { $slice: [ -10, 5 ] } } )

Options:

A.

Returns 5 comments, beginning with the last 10 items

B.

Returns 10 comments, beginning with the last

C.

Returns 10 comments, beginning with the first

D.

Returns 5 comments, beginning with the first 10 items

Viewing page 3 out of 6 pages
Viewing questions 21-30 out of questions