75only - Ends in 0d 00h 00m 00s - Coupon code = 75only
Pass the MongoDB Certified DBA Associate C100DBA Questions and answers with Dumpstech
What is the purpose of enabling TLS?
In a replica set, which member is responsible for maintaining copies of the primary ' s data?
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 " ] } }
]
}
]
})
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
Below is a sample document of " orders " collection
Which is the default mode in which the explain() command runs?
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?
Which of the following operators is used to updated a document partially?
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 " ]}})
What is the use of mongodump and mongorestore tools?