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 […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part5 Q81-100

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 81 Which command displays information about a MongoDB host system? db.hostInfo() db.systemInfo() db.machineStatus() db.nodeInfo() Correct Answer: 1 Explanation: db.hostInfo() returns information about the operating environment hosting the MongoDB server. The output can include details about the operating system, hardware architecture, system memory, and […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part4 Q61-80

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 61 Which setting controls how long MongoDB waits before declaring an unresponsive member unavailable? heartbeatIntervalMillis electionTimeoutMillis heartbeatTimeout memberTimeout Correct Answer: 2 Explanation: electionTimeoutMillis defines the amount of time a replica set member waits without receiving a valid heartbeat from the primary before initiating […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part3 Q41-60

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 41 Which WiredTiger feature periodically persists dirty data to disk? Oplog rotation Query planning Journal replay Checkpoint processing Correct Answer: 4 Explanation: WiredTiger uses checkpoints to create consistent on-disk snapshots of data files. During checkpoint processing, modified or dirty pages are written to […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part2 Q21-40

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 21 Which MongoDB feature controls acknowledgment of write operations? Read preference Read concern Retryable reads Write concern Correct Answer: 4 Explanation: Write concern controls the level of acknowledgment MongoDB provides for write operations. It can specify whether a write must be acknowledged by […]

MongoDB C100DBA Practice Test Questions and Exam Dumps Part1 Q1-20

View Full MongoDB C100DBA Exam Dumps and Practice Test Dumps   Question 1 Which MongoDB component stores documents and manages database files? Storage engine Query router Replication monitor Client driver Correct Answer: 1 Explanation: The storage engine is responsible for managing how MongoDB stores and retrieves data on disk and in memory. MongoDB deployments commonly […]