You are designing an application that requires table storage. You are evaluating whether to use Azure Table storage or Azure Cosmos DB for Table.
Which requirement requires the use of Azure Cosmos DB for Table instead of Azure Table storage?
Select only one answer.
A. A schemeless design
B. An SLA of 99.99%
C. Consumption-based pricing model
D. Multiple secondary replicas
A
技巧:排除明顯錯誤選項,在沒有明顯錯誤的選項中選擇最合理的選項。
在設計需要表存儲的應用程序時,如果要決定使用Azure Table Storage還是Azure Cosmos DB for Table,哪個需求會決定是否需要使用Azure Cosmos DB for Table而不是Azure Table Storage。
A. 正確。A schemeless design(無模式設計)。Azure Cosmos DB for Table 支持無模式設計,Azure Table Storage需要事先定義表的架構(即表的屬性或列)。對于那些數據模型經常變化的應用程序來說,無法事前定義表的架構,這種情況下就必須采用 Azure Cosmos DB for Table 服務。
B. 不正確。An SLA of 99.99%(99.99%的服務級別協議)。Azure Cosmos DB 確實提供了更高的可用性選項,包括多區域寫入和全球分發,可以實現更高的 SLA,但 Azure Table Storage也提供了 SLA,也可以通過使用冗余和備份策略來提高可用性。
C. 不正確。Azure Table Storage和Azure Cosmos DB for Table都提供了基于消費的定價模型,兩者都可以根據使用的存儲和吞吐量來支付費用。
D. 不正確。Multiple secondary replicas(多個次要副本)。Azure Cosmos DB 提供了多個次要副本的選項,以增強數據的可用性和持久性。Azure Table Storage 也支持通過地理冗余和讀取訪問地理冗余來提高數據的可用性和持久性。