MongoDB C100DBA Practice Test Questions and Exam Dumps Part20 Q381-400

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 381 Which BSON type represents a 64-bit signed integer? BSON Double BSON Int32 BSON Decimal128 BSON Int64 Correct Answer: 4 Explanation: BSON Int64 represents a signed 64-bit integer in MongoDB documents. It is useful when numeric values can exceed the range supported by […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part19 Q361-380

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 361 Which command displays available databases and their sizes? listDatabases showDatabaseInfo databaseList getDatabaseSizes Correct Answer: 1 Explanation: The listDatabases command returns information about databases available on a MongoDB deployment, including database names and size-related information. It is commonly used by administrators when reviewing […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part18 Q341-360

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 341 Which fill method carries the last observed value forward? $locf $carryForward $forwardFill $previousValue Correct Answer: 1 Explanation: The $locf expression implements last observation carried forward behavior for missing values in supported aggregation workflows. When a value is unavailable, MongoDB can use the […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part17 Q321-340

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 321 Which utility restores data created by mongodump? mongoload mongorecover mongorebuild mongorestore Correct Answer: 4 Explanation: The mongorestore utility restores BSON data produced by mongodump. It can restore an entire database, selected collections, or specific backup content depending on the supplied options. Administrators […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part16 Q301-320

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 301 Which command changes a collection’s shard key? changeShardKey() updateShardKey() reshardCollection replaceShardKey() Correct Answer: 3 Explanation: The reshardCollection command is used to change the shard key of an existing sharded collection. Resharding can redistribute data according to a new shard key when the […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part15 Q281-300

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 281 Which update operator renames an existing field? $rename $replace $relabel $modifyName Correct Answer: 1 Explanation: The $rename update operator changes the name of an existing field without changing its stored value. It is useful when a schema evolves and an application needs […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part14 Q261-280

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 261 Which MongoDB command adds a shard to a sharded cluster? sh.registerShard() sh.createShard() sh.joinShard() sh.addShard() Correct Answer: 4 Explanation: The sh.addShard() helper adds a shard to an existing MongoDB sharded cluster. A shard is typically a replica set that stores a portion of […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part13 Q241-260

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 241 Which MongoDB setting defines how long logical sessions remain active? sessionTimeoutMS logicalSessionTimeout sessionLifetime logicalSessionTimeoutMinutes Correct Answer: 4 Explanation: MongoDB uses a logical session timeout to determine how long an inactive logical session remains available before it expires. Logical sessions support features such […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part12 Q221-240

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 221 Which MongoDB role provides permission to monitor cluster activity? readCluster clusterReader clusterMonitor monitorAnyDatabase Correct Answer: 3 Explanation: The clusterMonitor built-in role provides privileges intended for monitoring MongoDB deployments. It is commonly associated with monitoring tools and administrative accounts that need to inspect […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part11 Q201-220

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 201 Which MongoDB connection option controls the minimum connections kept in a pool? poolMinimum minimumPool connectionFloor minPoolSize Correct Answer: 4 Explanation: The minPoolSize connection option specifies the minimum number of connections that a MongoDB driver maintains in a connection pool. Keeping a baseline […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part10 Q181-200

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 181 Which MongoDB option specifies the index to use for a query? forceIndex hint() useIndex() selectIndex() Correct Answer: 2 Explanation: The hint() method instructs MongoDB to use a particular index when executing a query. It can be useful when testing index behavior, troubleshooting […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part9 Q161-180

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 161 Which MongoDB operator tests whether a field value is greater than a specified value? $above $greater $gtValue $gt Correct Answer: 4 Explanation: The $gt comparison operator matches documents where a specified field contains a value greater than the supplied comparison value. It […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part8 Q141-160

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 141 Which MongoDB command changes the current database context? use databaseName switch databaseName select databaseName change databaseName Correct Answer: 1 Explanation: The use command changes the current database context in the MongoDB shell. It does not create the database immediately; the database becomes […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part7 Q121-140

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 121 Which MongoDB setting controls the number of milliseconds between replica heartbeats? electionTimeoutMillis heartbeatTimeoutSecs replicationInterval heartbeatIntervalMillis Correct Answer: 4 Explanation: heartbeatIntervalMillis controls how frequently replica set members send heartbeats to one another. These heartbeats allow members to monitor the availability and state of […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part6 Q101-120

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 101 Which MongoDB command displays the current replication configuration? rs.status() rs.info() rs.members() rs.conf() Correct Answer: 4 Explanation: rs.conf() returns the replica set configuration document used by MongoDB. It contains settings for members, including host information, voting configuration, priorities, hidden status, and other member […]