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 也支持通过地理冗余和读取访问地理冗余来提高数据的可用性和持久性。