[2022年最新] 高合格率な最新無料C100DBA試験問題集アンサーを使おう
C100DBA知能問題集PDF!MongoDB C100DBA試験問セット
質問 72
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?
- A. None of the above
- B. $push along with $each, $sort and $slice
- C. $arrayLimit
- D. $removeFromSet
正解: B
質問 73
Which of the following statements are true about the $match pipeline operator? Check all that apply.
- A. It has a sintax similar to findQ commands.
- B. It can be used as many time as needed.
- C. You should use it early as possible in the pipeline
正解: A,B,C
質問 74
Which of the following does MongoDB use to provide High Availability and fault tolerance?
- A. Indexing
- B. Sharding
- C. Write Concern
- D. Replication
正解: D
質問 75
Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?
- A. the most current secondary will roll back the operations following the election
- B. reads will be stale until the primary comes back up
- C. the secondary with the most current oplog will be elected primary
- D. the primary may roll back the operations once it recovers
- E. missing operations will need to be manually re-performed
正解: C
質問 76
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?
- A. None of the above
- B. 0
- C. 1
- D. 2
正解: B
質問 77
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
- A. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: "$pop" } } }] )
- B. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
- C. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $sum: 1 > > >] )
- D. db.population.aggregate( [{ $group: { _id: { state: "$state", city: "$city" },pop: { $pop: 1 } } }] )
正解: A
質問 78
Given a collection posts as shown below having a document array comments, which of the following command will create an index on the comment author descending?
- A. db.posts.createIndex({commerits.$.author":-l});
- B. db.posts.createIndex({comments.$.author": {$desc:l>});
- C. db.posts.createIndex({comments.author":-l});
正解: C
質問 79
Which mongodb tools allow us to work with our data in a human readable format?
- A. mongodump
- B. mongoexport
- C. mongostat
- D. mongoimport
正解: B,D
質問 80
Which format/standard is used by MongoDB internally to store documents?
- A. JSON
- B. B+ Trees
- C. BSON
- D. JSON - Extended
正解: A
質問 81
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
- A. db.population.aggregate( [{ $group: { _id: { state: Estate", city: n$city" },pop: { $sum: "$pop" } } }] )
- B. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
- C. db.population.aggregate( [{ $group: { _id: { state: Estate", city: "$city" },pop: { $pop: 1 } } }] )
- D. db.population.aggregate( [{ $group: { _id: { state: "$state", city; "$city" },pop: { $sum: 1 > > >] )
正解: A
質問 82
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?
- A. String, Null, Number and Object
- B. Null, Number, String and Object
- C. Number, Null, String and Object
- D. Null, Number, Object and String
正解: B
質問 83
As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:
- A. Providing these parameters in any order does not impact the performance
- B. $match moves before $sort
- C. MongoDB does not do any movements by default and will use the order provided
- D. $sort moves before $match
正解: B
質問 84
Which of the following are common uses of the mongo shell? Check all that apply
- A. Use as a JavaScript framework for your production system
- B. Perform administrative tasks
- C. Perform queries against MongoDB collections
正解: B,C
質問 85
What does the output x of the following MongoDB aggregation query result into; db.posts.aggregate( [ {
$group: { _id; "$author", x: { $sum: $likes } } } ] )
- A. Average of likes on all the posts of an author, grouped by author
- B. Sum of likes on all the posts by an author, grouped by author
- C. Sum of likes on all the posts by all the authors
- D. Number of posts by an author
正解: B
質問 86
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 been tagged as tutorial.
- A. db.posts.findInArray( { tags : "tutorial" > );
- B. db.posts.find( { tags : "tutorial" } );
- C. db.posts.find( { tags : ["tutorial"] } );
- D. db.posts.find( { $array : {tags: "tutorial") > );
正解: B
質問 87
What is the output of the following program?
- A. 100 ms
- B. 60 s
- C. 1s
- D. 100 s
正解: B
質問 88
What does the following $slice query return using the following command? db.posts.find( {}, { comments: {
$slice: [ -10, 5 ] } } )
- A. Returns 5 comments, beginning with the first 10 items
- B. Returns 5 comments, beginning with the last 10 items
- C. Returns 10 comments, beginning with the first
- D. Returns 10 comments, beginning with the last
正解: B
質問 89
Suposse tou have the following collection with only 2 documents:
If you run an aggregation query and use { $unwind: "$traits" } as the first stage, how many documents will be passed to the next stage of the aggregation pipeline?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
正解: D
質問 90
......
MongoDB C100DBA問題集PDFを使ってベストオプションを目指そう:https://www.passtest.jp/MongoDB/C100DBA-shiken.html
2022年最新のC100DBAサンプル問題は頼もしいC100DBAテストエンジン:https://drive.google.com/open?id=13ial_pYIQv_4WYrnbbmuj8Zxp8vat4Rj