Choose a topic to test your knowledge and improve your MongoDB skills
A replica set can have up to ______ members but only 7 voting members.
Which of the following may be non-voting or priority 0?
If the current primary becomes unavailable, the replica set holds an ______ to choose which of the secondaries becomes the new primary.
By default, an application directs its ____ operations to the primary member.
The architecture of a replica set affects the set’s _________ and capability.
Point out the wrong statement.
The standard replica set deployment for production system is a ___-member replica set.
____ for a replica set is the number of members that can become unavailable and still leave enough members in the set to elect a primary.
Point out the correct statement.
Without a primary, a replica set cannot accept ________ operations.
______ member is used to support dedicated functions, such as backup or reporting.
To protect your data if your main data center fails, keep at least _______ member in an alternate data center.
What should be the priority of member to prevent them from becoming primary?
______ sets also allow the routing of read operations to specific machines.
Replica sets provide high availability using automatic ________
Point out the wrong statement.
Failover allows a ________ member to become primary if primary is unavailable.
Sometimes the failover process may require a ____________ during operation.
Point out the correct statement.
MongoDB writes the rollback data to BSON files in the rollback/ folder under the database’s ________ directory.
The names of rollback files have the following form.
______ is used to read the contents of the rollback files.
Use ______ to apply the changes to the new primary after rollback.
mongorestore recreates indexes recorded by _______
The __________ of a replica set affects the outcome of failover situations.
Point out the wrong statement.
A rollback reverts _______ operations on a former primary when the member rejoins the replica set after a failover.
A priority __ member is a secondary that cannot become primary.
Point out the correct statement.
A second data center hosts one priority 0 member that cannot become _____
A ______ member maintains a copy of the primary’s data set but is invisible to client applications.
The db.________ method does not display hidden members.
In a sharded cluster _______ do not interact with hidden members.
Which of the following members should be hidden?
Point out the wrong statement.
______ operations cannot guarantee that the data files do not change.
___ may block reads, including those necessary to verify authentication.
Point out the correct statement.
____ unlocks a mongod instance to allow writes and reverses the operation of a db.fsyncLock() operation.
Delayed members are a ________ or a running “historical” snapshot of the data set.
Delayed members apply operations from the _______ on a delay.
In sharded clusters, delayed members have limited utility when the __________ is enabled.
A delayed member has its priority equal to 0 and hidden equal to ______
Which of the following ddds an arbiter to a replica set?
Point out the wrong statement.
______ prevents the current member from seeking election as primary for a period of time.
________ returns the replica set configuration document.
Point out the correct statement.
____ prints a report of the status of the replica set from the perspective of the primary.
____ re-configures a replica set by applying a new replica set configuration object.