account1 という名前の Azure Cosmos DB for NoSQL アカウントがあり、App1 という名前のアプリケーションをサポートしています。App1 は、一貫性プレフィックスの一貫性レベルを使用しています。 アカウント1を、専用ゲートウェイと統合キャッシュを使用するように設定します。 App1が統合キャッシュを使用できることを確認する必要があります。 App1に対して実行すべき2つの操作はどれですか?それぞれの正解は、解決策の一部を示しています。 注:正解ごとに1ポイントが加算されます。
正解:A,C
A: You must adjust the request consistency to session or eventual. If not, the request will always bypass the integrated cache. C: Modify your application's connection string to use the new dedicated gateway endpoint. All dedicated gateway connection strings follow the same pattern. Remove documents.azure.com from your original connection string and replace it with sqlx.cosmos.azure.com. A dedicated gateway will always have the same connection string, even if you remove and reprovision it. Reference: https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-configure-integrated-cache