AZ-204 · Question #126
You are a developing a SaaS application that stores data as key value pairs. You must make multiple editions of the application available. In the lowest cost edition, the performance must be…
The correct answer is C. Cassandra. To support a SaaS application with key-value data across multiple editions, where different editions require varying performance, cost, and regional failover capabilities, the Cassandra API is recommended.
Question
Options
- ACore
- BMongoDB
- CCassandra
- DTable API
How the community answered
(33 responses)- A3% (1)
- B6% (2)
- C79% (26)
- D12% (4)
Why each option
To support a SaaS application with key-value data across multiple editions, where different editions require varying performance, cost, and regional failover capabilities, the Cassandra API is recommended.
The Core (SQL) API is document-oriented and while flexible, the Cassandra API is a better fit for the specific requirements of varying consistency levels and the key-value/wide-column model described.
The MongoDB API is a document database, and while capable, it doesn't align as strongly with the specific operational flexibility and consistency model requirements that the Cassandra API offers for this multi-edition scenario.
The Azure Cosmos DB Cassandra API, a wide-column store, natively supports flexible consistency models ranging from eventual to strong consistency, allowing for best-effort performance at lower costs for base editions and guaranteed performance with multi-region support for higher-cost editions. Its distributed architecture aligns well with the need for variable performance and availability tiers required by different application editions while storing data efficiently as key-value pairs.
The Table API is designed for simple key-value lookups compatible with Azure Table Storage, lacking the advanced consistency models and multi-region capabilities needed for a sophisticated SaaS application with guaranteed performance editions.
Concept tested: Azure Cosmos DB API selection for tiered SaaS application
Source: https://learn.microsoft.com/en-us/azure/cosmos-db/cassandra-api-introduction
Topics
Community Discussion
No community discussion yet for this question.