You are designing the data tier for a global telemetry platform that tracks container shipments. Sensor devices upload high-frequency environmental metrics to Azure Blob Storage, while metadata and real-time alerts are stored in an Azure Cosmos DB for NoSQL database. The system requirements are:
- Ensure sub- write latencies for Cosmos DB across three regions (East US, West Europe, and East Asia) with a write availability SLA.
- Support regional failover without data loss for committed Cosmos DB transactions.
- Dynamically authorize device uploads to Azure Blob Storage securely, allowing token revocation if a device is compromised.
- Avoid performance bottlenecks or hot partitions in Cosmos DB during peak traffic.
Which database and storage configuration should you recommend?
- Enable multi-region writes in the Azure Cosmos DB account with Session consistency, using a synthetic partition key that combines the device identifier and date. For Azure Blob Storage, configure Geo-Redundant Storage (GRS) and delegate upload access using Shared Access Signatures (SAS) associated with a Stored Access Policy.Answer
- BEnable multi-region writes in the Azure Cosmos DB account with Session consistency, using the region identifier as the partition key. For Azure Blob Storage, configure Geo-Redundant Storage (GRS) and delegate upload access using Shared Access Signatures (SAS) associated with a Stored Access Policy.
- CDisable multi-region writes in the Azure Cosmos DB account and configure Locally Redundant Storage (LRS) for the metadata storage. For Azure Blob Storage, configure Locally Redundant Storage (LRS) and delegate upload access using Shared Access Signatures (SAS) associated with a Stored Access Policy.
- DEnable multi-region writes in the Azure Cosmos DB account with Session consistency, using a synthetic partition key that combines the device identifier and date. For Azure Blob Storage, configure Geo-Redundant Storage (GRS) and delegate upload access using long-lived Shared Access Signatures (SAS) generated directly on the connection string without a Stored Access Policy.