Explanation:The force parameter in reconfig method allows a reconfiguration command to be issued to a non-primary node. 10.________ sets the slaveOk property for the current connection.
A. rs.reconfig()
B. rs.slaveOk()
C. rs.stepDown()
D. rs.slave()
Answer:A
Explanation:The force parameter in reconfig method allows a reconfiguration command to be issued to a non-primary node. 10.________ sets the slaveOk property for the current connection.
A. rs.reconfig() B. rs.slaveOk() C. rs.stepDown() D. rs.slave()
Explanation:Use readPref() and Mongo.setReadPref() to set read preference. Sanfoundry Global Education & Learning Series – MongoDB.