InterviewSolution
Saved Bookmarks
| 1. |
What are two important properties of MongoDB replication? |
|
Answer» Shard KEY selection is based on the workload. Since the first query is being used 90% it should be DRIVING the selection for selection of shard key. Combination of fields from that query would MAKE the best shard key. This eliminates option b, C and d. Option a and e uses a subset of fields from the most used workload and both can be shard key but option has more fields and so would be more suitable. |
|