You are designing an Azure Cosmos DB solution for a global retail application that manages product inventory. The application requires global replication across three Azure regions to support low-latency reads and writes, and it must scale to handle a read-to-write ratio. The database must achieve a write availability SLA and prevent hot partitions.
Which configuration should you recommend?
- Configure multi-region writes and set the partition key to a high-cardinality field such as ItemId.Cevap
- BConfigure multi-region writes and set the partition key to a low-cardinality field such as ProductStatus.
- CConfigure Locally Redundant Storage (LRS) for regional replication and set the partition key to a high-cardinality field such as ItemId.
- DConfigure multi-region writes, set the partition key to ItemId, and authenticate clients using a Shared Access Signature (SAS) token configured with a three-year lifetime.
Cevap
Configure multi-region writes and set the partition key to a high-cardinality field such as ItemId.
Configuring multi-region writes allows writes to be processed locally in multiple regions, which meets the availability SLA and ensures low latency. Using a high-cardinality key like ItemId ensures write workloads are evenly distributed across physical storage partitions.
Adım Adım Çözüm
Anahtar Kavram
Azure Cosmos DB partition key selection and multi-region replication configuration
Tahmini Süre:1m 0s