MongoDb replica set: How do I verify data replication on other servers?
For querying secondary run the following command first. After running this, you can do all regular stuff on secondary.

rs.slaveOk()


To see the replication status, run the following command on primary. This will show you if the secondaries are up to date or lagging.

db.printSlaveReplicationInfo()


Hope this helps.