C100DBA合格させる問題集でMongoDB24時間で試験合格できます
最新問題を使おうC100DBA試験問題と解答でPDFで一年間無料更新
質問 66
Which command is used to determine storage capacity of specific database?
- A. mongostat
- B. constats
- C. dbstats
- D. mongotop
正解: C
質問 67
Consider the following posts document:
Which of the following queries will return the documents but with only the first two tags in the tags array?
- A. db.posts.find({author:"Tom">,{tags:{$slice:2})
- B. db.posts.find({author:"Tom"}.limit($slice:{tags:2>)
- C. db.posts.find({author:"Tom"}.limit({tags:2})
- D. Both "db.posts.find({author:"Tom"},{tags:{$slice:2}})" and
"db.posts.find({author:"Tom"}).limit($slice: {tags:2})" are valid. $slice works both with projection and limit.
正解: A
質問 68
What does the following query do when performed on the posts collection? db.posts.update({_id:l},{Title:This is post with ID 1"})
- A. Replaces the complete document with _id as 1 with the document specified in second parameter
- B. Updating a document is possible only with $set
- C. Syntax error
- D. Updates the Title of the post
正解: A
質問 69
Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.
- A. Operations on the primary are recorded in a capped collection called the oplog
- B. Clients read from the nearest member of a replica ser by default
- C. Members of a replica set may replicate data from any other data-bearing member of the set by default
正解: A
質問 70
Below is a sample document of "orders" collection
正解:
解説:
$project
質問 71
In which of the following scenarios is sharding not the correct option. Select all that apply.
- A. The collection is a read intensive collection with less working set
- B. The write operations on the collection are low
- C. The working set in the collection is expected to grow very large in size
- D. The write operations on the collection are very high
正解: A,B
質問 72
Which of the following commands can cause the database to be locked?
- A. Inserting data
- B. Issuing a query
- C. All of the above
- D. Map-reduce
正解: C
質問 73
Consider the following document:
> db.c.find()
{ "_id" : 12, b : [ 3, 5, 7, 2, 1, -4, 3, 12 ] }
Which of the following queries on the "c" collection will return only the first five elements of the array in the
"b"
field? E.g.,
Document you want returned by your query:
{ "_id" : 12, "b" : [ 3, 5, 7, 2, 1 ] >
- A. db.c.find( { > , { b : [ 0, 1, 2, 3, 4, 5 ] > )
- B. db.c.find( { > , { b : { $substr[ 0 , 5 ] > > )
- C. db.c.find( { b : [ 0 , 5 ] > )
- D. db.c.find( { > , { b : { $slice : [ 0 , 5 ] } } )
- E. db.c.find( { > , { b : [ 0 , 5 ] > )
正解: D
質問 74
What is the use of mongodump and mongorestore tools?
- A. backup mongodb deployment
- B. performance tune mongodb deployment
- C. audit mongodb deployment
- D. replicate mongodb deployments
正解: A
質問 75
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.findOne({post_text: 1})
- B. db.posts.find({},{_id:Of post_text:1})
- C. db.posts.finOne{},{post_text:l})
- D. db.posts.finOne({},{_id:0, post_text:1})
正解: D
質問 76
What does the totalKeysExamined field returned by the explain method indicate?
- A. Number of documents that match the query condition
- B. Number of documents scanned
- C. Number of index entries scanned
- D. Details the completed execution of the winning plan as a tree of stages
正解: C
質問 77
Which of the following is supported by MongoDB?
- A. ACID Transactions
- B. Relationships between Collections (Primary Key Foreign Key)
- C. Journaling
- D. Transaction Management
正解: C
質問 78
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 have a seven member replica set and we want to assure that the writes are committed to journal. What should be the value of j?
- A. 0
- B. 1
- C. 2
- D. 3
正解: C
質問 79
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
- A. update users collection and restart mongodb
- B. update users collection and run db.enableAuthenticationQ
- C. All of the above
- D. update users collection and restart mongodb with -auth option
正解: D
質問 80
Which command can be used to rebuild the indexes on a collection in MongoDB?
- A. db.collection.relndexQ
- B. db.collection.createIndex({author:l}).reIndex()
- C. db.collection.reIndex({author:l})
- D. db.collection.createlndex({relndex:l})
正解: A
質問 81
......
最新問題をダウンロードC100DBA問題集で2022年最新のC100DBA試験問題集:https://jp.fast2test.com/C100DBA-premium-file.html
最新のMongoDB C100DBA認定練習テスト問題:https://drive.google.com/open?id=1SeuBe7hHFQK7xqq1xLLDo34E6Oj_T9fS