You are designing the data storage and diagnostics architecture for a global smart-home automation platform. The platform manages telemetry and configuration data for IoT devices across North America, Europe, and Asia. The solution must meet the following requirements:
- Support real-time telemetry ingestion with a write-to-read ratio of .
- Maintain sub- write latency globally by utilizing an active-active multi-region write configuration.
- Achieve a recovery time objective (RTO) of zero for regional disaster recovery.
- Prevent hot partitions during mass device reconnect events.
- Provide external diagnostic partners with read-only access to device logs for a maximum of days, with the ability to immediately revoke access if a security compromise occurs.
Which architecture configuration should you recommend?
- AConfigure Azure Cosmos DB for NoSQL with multi-region writes enabled, partitioning the telemetry container by deviceType. Export diagnostics to an Azure Storage account configured with Read-Access Geo-Redundant Storage (RA-GRS) and grant external access using Shared Access Signature (SAS) tokens associated with a stored access policy.
- BConfigure Azure Cosmos DB for NoSQL with multi-region writes enabled, partitioning the telemetry container by deviceId. Export diagnostics to an Azure Storage account configured with Locally Redundant Storage (LRS) and grant external access using Shared Access Signature (SAS) tokens associated with a stored access policy.
- Configure Azure Cosmos DB for NoSQL with multi-region writes enabled, partitioning the telemetry container by deviceId. Export diagnostics to an Azure Storage account configured with Read-Access Geo-Redundant Storage (RA-GRS) and grant external access using Shared Access Signature (SAS) tokens associated with a stored access policy.Answer
- DConfigure Azure Cosmos DB for NoSQL with multi-region writes enabled, partitioning the telemetry container by deviceId. Export diagnostics to an Azure Storage account configured with Read-Access Geo-Redundant Storage (RA-GRS) and grant external access using ad-hoc Shared Access Signature (SAS) tokens with a -day lifetime defined directly in the URI.