MongoDB Certified Developer Associate 認定 C100DEV 試験問題:
1. Suppose we have a products collection with the following fields and values: _id (automatically created ObjectId) product_code (unique values for each product) color (as String values) size (this field is missing for some products) origin_country Which of these fields would be the best shard key?
A) product_code
B) size
C) color
D) _id
E) origin_country
2. What is a document in MongoDB?
A) It's an ordered collection of keys (fields) with assigned values. The keys in each document are strings of characters. Documents in MongoDB cannot contain duplicate keys.
B) It's a text file containing the configuration of the MongoDB instance.
C) It's a table that contains information about all collections in the database.
3. Suppose you have a following index for football_palyers collection: { "last_name": 1, "details.country": 1, "details.club": 1, "age": 1 } Determine which queries are able to successfully use a given index for both filtering and sorting.
A) db.football_players.find( { "last_name": { "$gte": "L" } } ).sort( { "details.club": -1 } )
B) db.football_players.find( { "last_name": "Lewandowski", "details.country": { "$gt": "D" } } ).sort( { "details.country": 1 } )
C) db.football_players.find( { "last_name": "Lewandowski" } ).sort( { "details.country": 1, "details.club": 1 } )
4. Select all true statements regarding to $out stage.
A) $out operator must be the last stage in a pipeline.
B) All indexes on an existing collection are rebuilt when $out overwrites the collection.
C) $out operator creates collections in the same database as the source collection.
D) $out operator will overwrite an existing collection if specified.
E) $out operator will create a new empty collection or overwrite an existing collection if the pipeline raises an error.
5. Suppose you want to create a unique compound index on two fields. It turns out, however, that the collection has duplicate pairs of values for these fields.
What happens if you try to create an index like this?
A) MongoDB will report an error.
B) The index will be created and no documents will be deleted.
C) The index will be created and duplicate documents will be removed in random order.
質問と回答:
| 質問 # 1 正解: A | 質問 # 2 正解: A | 質問 # 3 正解: B、C | 質問 # 4 正解: A、B、C、D | 質問 # 5 正解: A |














578 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
