One of the practice test question gives one of the choices as rs.setSlaveOk() and it marks it as one of the correct answers??
From my understanding, the shell helper here should be rs.slaveOk() and not rs.setSlaveOk()
On doing some research, I can see that rs.slaveOk() internally calls db.getMongo().setSlaveOk()
But, as such, there is no command called rs.setSlaveOk().
Can you please clarify this?