問題文
A container is partitioned by tenant. A new feature must search across all tenants for administrative reporting. What is the honest characterization of this requirement?
選択肢
- It can be reduced to a single partition by changing the consistency level to eventual, because eventual reads are served from whichever replica answers first and therefore do not need to visit every partition
- It inherently fans out across partitions for any key, so the design choice is how often to run it and whether to precompute the result rather than how to avoid the fan-out
- It can be reduced to a single partition by adding a composite index that begins with the tenant identifier, so that the engine resolves the whole report from one index lookup instead of visiting every partition
- It should be redesigned so that the report never crosses partitions, because a query that fans out is always a sign of a wrong partition key and must not reach production