あなたは、IoT デバイスからのデータを保存するための Azure Cosmos DB Core (SQL) API ソリューションを設計しています。デバイスからの書き込みは毎秒発生します。 以下はデータのサンプルです。 次の書き込み要件を満たすパーティション キーを選択する必要があります。 パーティションのスキューを最小限に抑える 容量制限を回避 ホットパーティションを回避します あなたは何をするべきか?
正解:D
Use a partition key with a random suffix. Distribute the workload more evenly is to append a random number at the end of the partition key value. When you distribute items in this way, you can perform parallel write operations across partitions. Incorrect Answers: A: You will also not like to partition the data on "DateTime", because this will create a hot partition. Imagine you have partitioned the data on time, then for a given minute, all the calls will hit one partition. If you need to retrieve the data for a customer, then it will be a fan-out query because data may be distributed on all the partitions. B: Senser1Value has only two values. C: All the devices could have the same manufacturer.