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

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

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

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


Expert Solution
Questions # 42:

We can insert multiple documents in bulk using which of the following operations:

Options:

A.

initializeUnorderedBulk


B.

initializeUnorderedBulkOp


C.

initializeBulk


D.

initializeBulkOp


Expert Solution
Questions # 43:

What command lists all indexes for a collection?

Options:

A.

db.collection.info()


B.

db.collection.indexStats()


C.

db.collection.findIndexes()


D.

db.collection.getIndexes()


Expert Solution
Questions # 44:

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


Expert Solution
Questions # 45:

Which of the following are valid json documents? Select all that apply.

Options:

A.

{ " a " :l, " b " :{ " b " :l, " c " : " foo " , " d " : " bar " , " e " :[l,2,4]}}


B.

{ " city " : " New York " , " population " , 7999034, boros:{ " queens " , " manhattan " , " staten island " , " the bronx " , u " brooklyn " }}


C.

{ " name " : " Fred Flintstone " ; " occupation " : " Miner " ; " wife " : " Wilma " }


D.

{ }


Expert Solution
Questions # 46:

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


Expert Solution
Questions # 47:

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


Expert Solution
Questions # 48:

What tool should be used to access and administer a MongoDB cluster?

Options:

A.

mongosh


B.

mongod


C.

mongostat


D.

mongotop


Expert Solution
Questions # 49:

Which of the documents below will be retrieved by the following query? Assume the documents are stored in a collection called " sample " . Check all that apply.

db.sample.find( { " $or " : [ { " a " : { " $in " : [ 3, 10] > }, { " b " : { " $lt " : 2 > > ] > )

Options:

A.

{ ' ' __id " :3, " a " : 4, " c " :0, " b " :14}


B.

{ ' ' _Jd " :7, " a " : 8, " c " :1, " b " :7}


C.

{ " .Jd " :6, " a " : 1, " c " :1, " b " :5}


D.

{ ' ' \Jd " :9, " a " : 17, " c " : 1, " b " : 1}


E.

{ \Jd " :10, " a " : 3, " c " : 1, " b " : 1}


F.

{ " .Jd " :: 2, " a " : 2, " c " :: 0, " b " : 1}


G.

{ " .Jd " :: 4, " a " : 5, " c " :: 0, " b " : 17}


Expert Solution
Questions # 50:

What command set removes node-1.cluster1.mycompany.local:27017 and node-2.cluster1.mycompany.local:27017 from the replica set, then adds node-1.cluster1.mycompany.local:27017 back to the replica set?

Options:

A.

rs.removeNode( " node-1.cluster1.mycompany.local:27017 " )rs.removeNode( " node-2.cluster1.mycompany.local:27017 " )rs.add({ host: " node-1.cluster1.mycompany.local:27017 " })


B.

rs.removeNode( " node-1.cluster1.mycompany.local:27017 " )rs.removeNode( " node-2.cluster1.mycompany.local:27017 " )rs.addNode({ host: " node-1.cluster1.mycompany.local:27017 " })


C.

rs.remove( " node-1.cluster1.mycompany.local:27017 " )rs.remove( " node-2.cluster1.mycompany.local:27017 " )rs.add({ host: " node-1.cluster1.mycompany.local:27017 " })


D.

rs.remove( " node-1.cluster1.mycompany.local:27017 " )rs.remove( " node-2.cluster1.mycompany.local:27017 " )rs.addNode({ host: " node-1.cluster1.mycompany.local:27017 " })


Expert Solution
Viewing page 5 out of 6 pages
Viewing questions 41-50 out of questions