C100DBA Exam Questions
122 real C100DBA exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #56
What is the replication factor for a replicated cluster with 1 primary, 3 secondaries with one of them hidden. The set also has an arbiter?
- Question #57
Aggregation Pipelines have a limit of:
- Question #58
You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?
- Question #59
Which mongodb tool is used to report details on number of database operations in MongoDB?
- Question #60
The oplog (operations log) is a special capped collection that keeps a rolling record of all operations that modify the data stored in your databases. All the replica set members c...
- Question #61
What is the output of the following program?
- Question #62
Which of the following needs to be performed prior to initiate backup on a sharded cluster?
- Question #63
The difference between $push and $addToSet is:
- Question #64
If the value of totalKeysExamined is 30000 and the value of totalDocsExamined is 0, which of the following option is correct?
- Question #65
We can insert multiple documents in bulk using which of the following operations:
- Question #66
In a sharded replica set environment, the w Option provides ability for write concern and j Option provides ability for the data to be written on disk journal. Consider that we hav...
- Question #67
When should we consider representing a one-to-many relationship in an embedded collection instead of separate collection?
- Question #68
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?
- Question #69
Below is a sample document of "orders" collection
- Question #70
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ { $group: { _id; "$author", x: { $sum: $likes } } } ] )
- Question #71
Which mongodb tools allow us to work with our data in a human readable format?
- Question #73
Which of the following is true about sharding?
- Question #74
JSON stands for
- Question #75
Which of the following is correct about MongoDB?
- Question #76
Which mongodb tool is used to report details on number of database operations in MongoDB?
- Question #77
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?
- Question #78
The________operator can be used to identify an element in the array to be updated without explicitly specifying the position of the element.
- Question #79
Which command can be used to rebuild the indexes on a collection in MongoDB?
- Question #80
Which of the following collections stores authentication credentials in MongoDB?
- Question #81
What does the following query do when performed on the posts collection? db.posts.update({_id:l},{Title:This is post with ID 1"})
- Question #82
Which of the following aggregation commands in MongoDB does not support sharded collections?
- Question #83
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?
- Question #84
Which is the default mode in which the explain() command runs?
- Question #85
Which of the following operators is used to updated a document partially?
- Question #86
In a replica set, a_________number of members ensures that the replica set is always able to select a primary.
- Question #87
Consider that our posts collection contains an array field called tags that contains tags that the user enters. { Which of the following commands will find all the posts that have...
- Question #88
What does the following $slice query return using the following command? db.posts.find( {}, { comments: { $slice: [ -10, 5 ] } } )
- Question #89
As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:
- Question #90
Which of the following about Capped Collections is correct?
- Question #91
Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?
- Question #92
What is the equivalent command in MongoDB for the following SQL query? SELECT * FROM posts WHERE author like "%john%"
- Question #93
The MongoDB explain() method does not support which of the following verbosity mode:
- Question #94
The MongoDB explain() method does not support which of the following verbosity mode:
- Question #95
Mongodb does provide high availability via which option?
- Question #96
Which of the following index would be optimum for the query? Select all valid. db.test.find( { a : 5, c : 2 })
- Question #97
Which of the following node is used during election in a replication cluster?
- Question #98
Which of the following does MongoDB use to provide High Availability and fault tolerance?
- Question #99
Which of the following is supported by MongoDB?
- Question #100
Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from th...
- Question #101
A collection and a document in MongoDB is equivalent to which of the SQL concepts respectively?
- Question #102
Which option can be used with update command so that a new document gets created if no matching document is found based on the query condition?
- Question #104
Which of the following command is used to get all the indexes on a collection?
- Question #105
You have designed a web application with mongoDB. You have configured replication. The replica set is in place and function properly. What happens in case of failure?
- Question #106
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
- Question #107
Below is a sample document in a given collection test. { a : 5, b : 3, c: 2, d : 1 > Given a compound index { a: 1, b:l, c:l, d:l}, Which of the below query will not use in-memory...