[2024年11月] 最新のMongoDB C100DBA認定練習テスト問題
確認済みC100DBA問題集と解答で一年間無料最速更新
MongoDB C100DBA認定を獲得することは、MongoDBデータベースシステムを効果的に管理するための知識とスキルを持っていることを潜在的な雇用主に示しています。また、収益の可能性を高め、データベース管理の分野で新しいキャリアの機会を開くことができます。試験に備えるために、候補者はMongodbの公式トレーニングコースと試験留学資料、および練習試験とコミュニティリソースを活用できます。
質問 # 59
What is the equivalent command in MongoDB for the following SQL query?
SELECT * FROM posts WHERE author like "%john%"
- A. db.posts.find( { $like: {author: /John/} } )
- B. db.posts.find( { author: {$like: /John/} } )
- C. db.posts.find( { author: /John/ } )
- D. db.posts.find( { author: /AjohnA/ > )
正解:C
質問 # 60
Which of the following is true about sharding?
- A. Sharding is enabled at the database level
- B. We cannot change a shard key directly/automatically once it is set up
- C. Creating a sharded key automatically creates an index on the collection using that key
- D. A sharded environment does not support sorting functionality since the documents lie on various mongod instances
正解:B
質問 # 61
You are comparing values of different BSON types in mongodb. You want to compare from lowest to highest. Which comparison order is used?
- A. Object/Array^inData/Symbol,MinKey, Null, Numbers,String
- B. MinKey, Null, Numbers,Symbol, String,Object,Array,BinData
- C. MinKey, Null, Numbers,Object,Array,BinData,Symbol, String
- D. Objec^Array^inData,Symbol, String,MinKey, Null, Numbers
正解:B
質問 # 62
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":-l});
- C. db.posts.createIndex({comments.$.author": {$desc:l>});
正解:B
質問 # 63
The following aggregation option is used to specify the specific fields that needs to be passed to the next stage of the aggregation pipeline:
- A. $group
- B. $match
- C. $aggregate
- D. $project
正解:D
質問 # 64
Which of the following commands finds all the documents in the posts collection with post timestamp field as null?
- A. db.posts.find( { post_timestamp: { $fieldtype: 10 } } )
- B. db.posts.find( { post_timestamp : { $type; 10 > > )
- C. db.posts.find( { post_timestamp: { $fieldtype: null } } )
- D. db.posts.find( { post_timestamp: { $type: null } } )
正解:D
質問 # 65
Which of the following is a valid Replica Set configuration if you want:
1-Have 3 copies of everything
2- That RS3 is never primary
2- That RSI and RS2 can be primary?
You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need
3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?
The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don't remember)
- A. ORS3
- B. RSO
- C. O arbiter
- D. ORS2
- E. ORS1
正解:E
質問 # 66
Consider the following example document from the sample collection. All documents in this collection have the same schema.
Which of the following queries will replace this with the document.
- A. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > )
- B. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 , { "$unset" : [ "a" , "b" ] } } )
- C. db.sample.update( { "_id" : 3 } , { "$set" : { "_id" : 7 , "c" : 4 > > )
- D. db.sample.update( { "_id" : 3 > , { "_id" : 7 , "c" : 4 > , { "justOne" : true > ) / This operation cannot be done with a single query.
正解:B
質問 # 67
What read preference should your application use if you want to read from the primary under normal circumstances but allow reads from secondaries when a primary is unavailable?
- A. primaryPreferred
- B. nearest
- C. primary
- D. Secondary
- E. secondaryPreferred
正解:A
質問 # 68
Which of the following needs to be performed prior to initiate backup on a sharded cluster?
- A. sh.stopServer( )
- B. db.stopServer( )
- C. sh.stopBalancer( )
- D. db.stopBalancer( )
正解:C
質問 # 69
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 the first document retrieved?
- A. db.posts.finOne({},{_id:0, post_text:1})
- B. db.posts.find({},{_id:Of post_text:1})
- C. db.posts.finOne({},{post_text:1})
- D. db.posts.findOne({post_text: 1})
正解:A
質問 # 70
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: { state: Estate", city: "$city" },pop: { $pop: 1 } } }] )
- C. db.population.aggregate( [{ $group: { _id: { state: "$state", city; "$city" },pop: { $sum: 1 > > >] )
- D. db.population.aggregate( [{ $group: { _id: { city: "$city" },pop: { $sum: "$pop" } } }] )Multi Document Transaction is not supported by MongoDB
正解:A
質問 # 71
In mongodb how do you update a document partially?
- A. $project
- B. $update
- C. $modify
- D. $set
正解:D
質問 # 72
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 the first document retrieved?
- A. db.posts.finOne({},{_id:0, post_text:1})
- B. db.posts.find({},{_id:Of post_text:1})
- C. db.posts.findOne({post_text: 1})
- D. db.posts.finOne{},{post_text:l})
正解:A
質問 # 73
Update If Correct is an approach for which of the following concepts in MongoDB:
- A. Transaction Management
- B. Performance Management
- C. Concurrency Control
- D. Atomicity
正解:C
質問 # 74
What is the first task that a secondary would perform on being prompted by another secondary for an election?
- A. Vote for the first secondary so that it would become the next primary
- B. Connect to primary to confirm its availability
- C. Start the election process for primary
- D. Vote for itself and then call for election
正解:B
質問 # 75
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 > > ] > )
- A. {". Jd" : : 2, "a" : 2, "c" : : 0, "b" : 1}
- B. {". Jd" : : 1, "a" : 0, "c" : : 0, "b" : 2}
- C. {". Jd" : : 8, "a" : 11, "c" : 1, "b" : 0}
- D. { ''\ Jd" : 9, "a" : 17, "c" : 1, "b" : 1}
- E. {". Jd" : 6, "a" : 1, "c" : 1, "b" : 5}
- F. {''_ _id" : 3, "a" : 4, "c" : 0, "b" : 14}
- G. {". Jd" : : 5, "a" : 3, "c" : : 0, "b" : 12}
- H. {''_ Jd" : 7, "a" : 8, "c" : 1, "b" : 7}
- I. { \ Jd" : 10,"a" : 3, "c" : 1, "b" : 1}
- J. {". Jd" : : 4, "a" : 5, "c" : : 0, "b" : 17}
正解:A、C、D、G、I
質問 # 76
The MongoDB explain() method does not support which of the following verbosity mode:
- A. queryPlanner
- B. executionStats
- C. customExecutionStats
- D. allPlansExecution
正解:C
質問 # 77
......
最新の2024年最新の実際に出ると確認されたC100DBA問題集で100%無料C100DBA試験問題集:https://jp.fast2test.com/C100DBA-premium-file.html
無料提供中2024年最新の無料更新されたMongoDB C100DBA試験問題と解答:https://drive.google.com/open?id=1SeuBe7hHFQK7xqq1xLLDo34E6Oj_T9fS