A collection has a 'status' field with only three possible values: 'active', 'pending', and 'closed'. Why is 'status' a poor choice for a shard key by itself?
With only three possible values, MongoDB can only create a very limited number of chunks. Even in a cluster with ten shards, only three shards would ever hold data for this collection, while the others remain empty. This effectively caps the horizontal scalability of the database to three nodes.
Why this answer
A good shard key needs high cardinality to allow for a large number of chunks. If a shard key only has three possible values, the cluster can have at most three chunks for that collection. This limits the total number of shards that can participate in storing and processing the data, leading to scalability bottlenecks and imbalance.
Exam trap
Candidates often incorrectly assume that low cardinality is beneficial because it simplifies query routing, failing to realize that it prevents the cluster from splitting data into many chunks.