Explanation:Read preference describes how MongoDB clients route read operations to the members of a replica set. 7. Which of the following should not be used to provide extra capacity for reads ?
A. primary
B. primaryPreferred
C. secondary
D. None of the mentioned
Answer:A
Explanation:Read preference describes how MongoDB clients route read operations to the members of a replica set. 7. Which of the following should not be used to provide extra capacity for reads ?
A. primary B. primaryPreferred C. secondary D. None of the mentioned
Explanation:Use primaryPreferred if you want an application to read from the primary under normal circumstances. 8. Read preference modes are also available to clients connecting to a sharded cluster through :