account1 という名前の Azure Cosmos DB アカウントがあり、その中に DB1 という名前のデータベースと Container1 という名前のコンテナーが含まれています。account1 は Core (SQL) API を使用します。 App1という名前のアプリがあり、このアプリはContainer1に大量のデータを保存します。データはint1属性を使用してパーティション分割されます。Container1に保存されるアイテムは次の形式です。 App1 は次のクエリを実行します。 読み書き操作を実行する際に必要なリクエストユニット(RU)を最小限に抑えるための解決策を提案する必要があります。どのような解決策を提案すべきでしょうか?
正解:C
To reduce Request Units (RUs) for both read and write operations, you should include only the attributes used in the query filter and exclude all unrequested properties from your indexing policy. You should include int1, string1, and string2 in your indexing policy paths, and exclude all other paths (including string3, string4, and string5). Reference: https://learn.microsoft.com/en-us/azure/cosmos-db/understand-request-unit-consumption