
合格目指せC100DEV試験最新のC100DEV試験問題集PDF 2023年更新
C100DEV試験問題集、365日更新無料サンプル
MongoDBは、非常に人気があり、広く使用されているNOSQLデータベースであり、企業が大量のデータを保存、処理、分析する方法に革命をもたらしました。ますます多くの企業が主要なデータベースとしてMongoDBを採用し始めるにつれて、MongoDB認定開発者の需要が急増しています。 MongoDB認定開発者アソシエイト(C100DEV)認定は、MongoDBを使用したアプリケーションの開発に関する個人の専門知識を検証するように設計されています。
質問 # 55
How to correctly create a date (new object of Date type) in MongoDB?
- A. Date()
- B. new Date()
- C. db.Date()
正解:B
解説:
https://docs.mongodb.com/manual/reference/method/Date/
質問 # 56
Which of the following scenarios best suits the use of the Tree Pattern?
- A. Product categories in the online store.
- B. You want to store additional information about your products that are less used by your application.
正解:A
解説:
https://www.mongodb.com/blog/post/building-with-patterns-the-tree-pattern
質問 # 57
Which collection method do you need to use to drop a specific collection?
- A. db.collection.dropCollection()
- B. db.collection.remove()
- C. db.collection.dropIndex()
- D. db.collection.drop()
正解:D
解説:
https://docs.mongodb.com/manual/reference/method/db.collection.drop/
質問 # 58
Select all true statements regarding to indexes.
- A. Indexes reduce the number of documents that MongoDB must parse to satisfy a query.
- B. Indexes are used to increase the speed of our queries.
- C. Indexes can improve write, update, and delete performance.
- D. The _id field is not automatically indexed in collection.
正解:A、B
解説:
https://docs.mongodb.com/manual/indexes/
質問 # 59
Which of the following commands will successfully insert exactly two new documents into an empty companies collection?
- A. db.companies.insertMany([ {"_id": 1, "name": "Facebook"}, {"_id": 2, "name": "Twitter"} ])
- B. db.companies.insertMany([ {"_id": 1, "name": "Facebook"}, {"_id": 2, "name": "Twitter"}, {"_id": 2, "name": "Tesla"} ])
- C. db.companies.insertMany([ {"_id": 1, "name": "Facebook"}, {"_id": 1, "name": "Twitter"}, {"_id": 2, "name": "Tesla"} ], {"ordered": false})
- D. db.companies.insertMany([ {"_id": 1, "name": "Facebook"}, {"_id": 1, "name": "Twitter"}, {"_id": 2, "name": "Tesla"} ])
- E. db.companies.insertMany([ {"name": "Facebook"}, {"name": "Twitter"} ])
正解:A、B、C、E
解説:
https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/
質問 # 60
Where is collection metadata stored in a sharded cluster?
- A. In the primary shard.
- B. In a random shard.
- C. On the configuration servers.
正解:C
解説:
https://docs.mongodb.com/manual/sharding/
質問 # 61
We have the following index in a movies collection: { title: 1, genres: 1 } We want to insert the following document: { "title": "The Immigrant", "year": 1917, "genres": [ "Short", "Comedy", "Drama" ] } How many index entries will be created?
- A. 0
- B. 1
- C. 2
- D. 3
- E. 4
正解:D
解説:
https://docs.mongodb.com/manual/indexes/
質問 # 62
Given the following example document from an artists collection: { _id: 5, last_name: 'Maurer', first_name: 'Alfred', year_born: 1868, year_died: 1932, nationality: 'USA' } and the following index: db.artists.createIndex( { "last_name": 1, "nationality": 1 } ) How MongoDB will handle the query below?
db.artists.find( { "year_born": 1863 } )
- A. As a collection scan.
- B. None of these.
- C. As an index scan.
正解:A
解説:
https://docs.mongodb.com/manual/indexes/
質問 # 63
Select true statements about the naming convention of collections in MongoDB.
- A. Collection names should not contain $ sign.
- B. Don't create collections that start with system.
- C. Empty string '' cannot be a collection name.
正解:A、B、C
質問 # 64
We have an accounts collection with the following document structure: { _id: ObjectId("5ca4bbc7a2dd94ee5816239d"), account_id: 864905, limit: 10000, products: [ 'Commodity', 'InvestmentStock' ] }, { _id: ObjectId("5ca4bbc7a2dd94ee5816239e"), account_id: 299072, limit: 10000, products: [ 'InvestmentFund', 'InvestmentStock' ] }, { _id: ObjectId("5ca4bbc7a2dd94ee5816239f"), account_id: 137994, limit: 10000, products: [ 'CurrencyService', 'InvestmentStock' ] } We need to use Aggregation Framework to find the distribution of products field. Sort the result set by decreasing total number of products. Expected output: [ { _id: 'InvestmentStock', total: 1746 }, { _id: 'CurrencyService', total: 742 }, { _id: 'Brokerage', total: 741 }, { _id: 'InvestmentFund', total: 728 }, { _id: 'Commodity', total: 720 }, { _id: 'Derivatives', total: 706 } ] Which pipeline should you use?
- A. [{ $group: { _id: "$products", total: { $sum: 1 } } }, { $sort: { total: -1 } }]
- B. [{ $unwind: { path: "$products" } }, { $group: { _id: "$products", total: { $sum: 1 } } }, { $sort: { total: -1 } }]
- C. [{ $unwind: { path: "products" } }, { $group: { _id: "products", total: { $sum: 1 } } }, { $sort: { total: -1 } }]
正解:B
解説:
https://docs.mongodb.com/manual/aggregation/
質問 # 65
Select all true statements regarding to pipelines and the Aggregation Framework.
- A. The aggregation pipeline cannot operate on a sharded collection.
- B. Aggregation Framework does not have the group stage for grouping data.
- C. An aggregation pipeline consists of one or more stages that process documents.
- D. The Aggregation Framework provides us many stages to filter and transform data.
- E. An aggregation pipeline is an array of stages.
正解:C、D、E
解説:
https://docs.mongodb.com/manual/aggregation/
質問 # 66
What does it command do in the mongo shell?
- A. it is not a mongo shell command.
- B. Iterates through the cursor results.
- C. Terminates the current query execution.
- D. Displays cluster statistics.
正解:B
質問 # 67
There is a collection named products in MongoDB database. Your coworker wants to know how many products are in this collection (number of documents in the collection).
Which query should you use? (select 2)
- A. db.products.find().count()
- B. db.products.countDocuments()
- C. db.products.total()
正解:A、B
解説:
https://docs.mongodb.com/manual/reference/method/db.collection.count/ https://docs.mongodb.com/manual/reference/method/db.collection.countDocuments/
質問 # 68
Given a movies collection where each document has the following structure: { _id: ObjectId("573a1390f29313caabcd60e4"), genres: [ 'Short', 'Comedy', 'Drama' ], title: 'The Immigrant', year: 1917, imdb: { rating: 7.8, votes: 4680, id: 8133 }, countries: [ 'USA' ] } Which of the following queries will find all Comedy movies that were made in 2000? (select 2)
- A. db.movies.find( { year: 2000 }, { genres: "Comedy" } )
- B. db.movies.find( { $and: [ { year: 2000 }, { genres: "Comedy" } ] } )
- C. db.movies.find( { year: 2000, genres: "Comedy" } )
- D. db.movies.find( { $or: [ { year: 2000 }, { genres: "Comedy" } ] } )
正解:B、C
解説:
https://docs.mongodb.com/manual/reference/method/db.collection.find/ https://docs.mongodb.com/manual/reference/operator/query/and/
質問 # 69
Select all valid BSON types in MongoDB. (select 4)
- A. ObjectId
- B. Boolean
- C. String
- D. Array
- E. Dictionary
正解:A、B、C、D
解説:
https://docs.mongodb.com/manual/reference/bson-types/
質問 # 70
Select all options when you should deploy a MongoDB deployment with security enabled.
- A. Deployment of the development environment.
- B. Deployment of the staging environment.
- C. Deployment of the evaluation environment.
- D. Deployment of the production environment.
正解:A、B、C、D
解説:
https://docs.mongodb.com/manual/reference/configuration-options/#security-options
質問 # 71
......
C100DEV試験では、データモデリング、インデックス作成、クエリの最適化、集約、アプリケーション開発など、幅広いトピックをカバーしています。これは、実用的なタスク、実践的なエクササイズ、複数選択の質問で構成されるパフォーマンスベースの試験です。試験はオンラインで実施され、世界中のどこからでも撮影できます。ただし、候補者は、試験を試みる前に、少なくとも6か月のMongoDBを使用した経験があることをお勧めします。
C100DEV問題集、あなたを合格させる認証試験:https://www.jpntest.com/shiken/C100DEV-mondaishu
まもなくセール終了!リアルC100DEVのPDF解答を使おう:https://drive.google.com/open?id=1RdM1heO77hHxaVxnYj1hqX1cn-SwbsyB