[2022年05月18日] 最新更新されたのはC100DBA試験問題2022年更新 [Q65-Q88]

Share

[2022年05月18日] 最新更新されたのはC100DBA試験問題2022年更新

無料更新されたMongoDB C100DBAテストエンジン問題には123問題と解答

質問 65
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

正解: C

 

質問 66
Which of the following operators is used to updated a document partially?

  • A. $modify
  • B. $project
  • C. $update
  • D. $set

正解: D

 

質問 67
What tool do you use to see if you have a problem in the consumption of disk I / 0?

正解:

解説:
Mongoperf

 

質問 68
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({^comments.author" :1});
  • B. db.posts.createIndex({^comments.$.author":-l});
  • C. db.posts.createIndex({^commerits.author";-!});

正解: C

 

質問 69
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. primary
  • C. secondaryPreferred
  • D. nearest
  • E. Secondary

正解: A

 

質問 70
Which of the following is incorrect statement about find and findOne operations in MongoDB?

  • A. findQ returns all the documents in a collection while findOne() retrieves only the first one.
  • B. findQ and findOneQ returns cursors to the collection documents
  • C. find.limit(l) is not the same query as findOne()
  • D. findOneQ returns the actual first document retrieved from a collection

正解: B

 

質問 71
Which option should be used to update all the documents with the specified condition in the MongoDB query?

  • A. updateAII instead of update
  • B. specify {updateAII: true} as the third parameter of update command
  • C. specify {all: true} as the third parameter of update command
  • D. specify {multi : true} as the third parameter of update command

正解: D

 

質問 72
Which of the following collections stores authentication credentials in MongoDB?

  • A. users.users
  • B. test.users
  • C. system.users
  • D. local.users

正解: C

 

質問 73
The oplog (operations log) is a special capped collection that keeps a rolling record of all operations that modify the data stored in your databases. All the replica set members contain a copy of the oplog in the following collection:

  • A. oplog.rs
  • B. local.oplog.rs
  • C. <replicasetid>.oplog.rs
  • D. <database>..oplog.rs

正解: B

 

質問 74
Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?

  • A. primaryPreferred
  • B. netLatency
  • C. secondaryPreferred
  • D. nearest

正解: D

 

質問 75
Dada una coleccion, cuales devuelve con la siguiente query
db.coleccion.find({nombre:"ruben",apellido:"gomez"},{nombre:l,apellido:l,aficion:l});

  • A. { "-id" : Objectld("580a42b5dfblb5al7427d302"), "nombre" : "ruben", "apellido" : "gomez", "aficion" :
    v u "flipar" }
  • B. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "Pablo" , "aficion" : u
    "flipar"}
  • C. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "Luis", "apellido" : "gomez", "aficion" : u
    "flipar" }
  • D. { "_id" : Objectld("580a42acdfblb5al7427d301"), "nombre" : "ruben", "apellido" : "gomez" >

正解: A,D

 

質問 76
What tool do you use if you want to extract a CSV from mongo?

正解:

解説:
mongoexport

 

質問 77
You have the following index on the toys collection:
{
"manufacturer" : 1,
"name" : 1,
"date" : -1
}
Which of the following is able to use the index for the query? Check all that apply.

  • A. db.toys.find( { name : "Big Rig Truck", date : "2013-02-01", manufacturer : "Tanko"
  • B. db.toys.find( { manufacturer : "Matteo", name : "Barbara", date : "2014-07-02" } )
  • C. db.toys.find( { date : "2015-03-01", manufacturer : "Loggo", name : "Brick Set" } )

正解: A,B,C

 

質問 78
Which is the correct order (lowest to highest) in which MongoDB compares the BSON types?

  • A. Null, Number, String and Object
  • B. Number, Null, String and Object
  • C. String, Null, Number and Object
  • D. Null, Number, Object and String

正解: A

 

質問 79
Consider the following documents:

You perform the following query;

How many documents will be updated by the query?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. 4

正解: B

 

質問 80
Which of the following commands will return all the posts with number of likes greater than 100 and less than
200, both inclusive?

  • A. db.posts.find({ likes : { $gt : 100 , $lte : 200 } } );
  • B. db.posts.find({ likes : { $gte : 100, $lt : 200 } } );
  • C. db.posts.find({ likes : { $gt : 100, $lt : 200 > > );
  • D. db.posts.find({ likes : { $gte : 100 , $lte : 200 } } );

正解: D

 

質問 81
Which command is used to determine storage capacity of specific database?

  • A. constats
  • B. mongostat
  • C. dbstats
  • D. mongotop

正解: C

 

質問 82
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 : { $slice : [ 0 , 5 ] } } )
  • C. db.c.find( { > , { b : { $substr[ 0 , 5 ] > > )
  • D. db.c.find( { > , { b : [ 0 , 5 ] > )
  • E. db.c.find( { b : [ 0 , 5 ] > )

正解: B

 

質問 83
In a replica set, a_________number of members ensures that the replica set is always able to select a primary.

  • A. 0
  • B. Even
  • C. Odd
  • D. Depends on the application architecture

正解: C

 

質問 84
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. 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.
  • B. db.posts.find({author:"Tom"}.limit($slice:{tags:2>)
  • C. db.posts.find({author:"Tom"}.limit({tags:2})
  • D. db.posts.find({author:"Tom">,{tags:{$slice:2})

正解: D

 

質問 85
MongoDB is

  • A. Object-oriented DBMS
  • B. None of the above
  • C. Relational DBMS
  • D. Document-oriented DBMS

正解: D

 

質問 86
You have designed a web application with mongoDB. You have configured replication. The replica set is in place and function properly. What happens in case of failure?

  • A. Failover needs to be done manually
  • B. Switchover needs to be done manually
  • C. Switchover happens automatically
  • D. Failover happens automatically

正解: D

 

質問 87
Which of the following are valid json documents? Select all that apply.

  • A. {"a":l, "b":{"b":l, "c":"foo", "d":"bar", "e":[l,2,4]}}
  • B. {"city":"New York", "population", 7999034, boros:{"queens", "manhattan", "staten island", "the bronx", u "brooklyn"}}
  • C. { }
  • D. {"name":"Fred Flintstone";"occupation":"Miner";"wife":"Wilma"}

正解: A,C

 

質問 88
......

100%の合格率を試そう!更新されたのはC100DBA試験問題 [2022年更新]:https://www.passtest.jp/MongoDB/C100DBA-shiken.html

ベストな問題集を使おうMongoDB Certified DBA Associate C100DBA専門試験問題:https://drive.google.com/open?id=1pAQxTp0h7hoEnRINcAQL7ljUB7dN65-L