Question 170
A multi-tenant DynamoDB table needs to avoid accidentally returning another tenant's items. What should be observed to verify that the stated requirement is met?
Explanation
Correct Answer
Cross-tenant negative tests validate isolation. The observed result follows the intended design: include tenant identity in its key and authorization model and enforce requests through scoped access.
Incorrect Answers
Partition key heat and throttle metrics validate redistribution. That check would apply to another condition: a DynamoDB table uses a status value with only three distinct values as partition key, causing hot partitions during spikes.
Cache and DynamoDB metrics confirm reduced request pressure. That check would apply to another condition: a large DynamoDB table contains frequently queried records with uneven per-key traffic and a small cacheable working set.
Query index name and consumed capacity verify keyed access. That check would apply to another condition: a DynamoDB application needs to look up orders by both customer ID and shipping status without table scans.