nerdexam
Microsoft

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.

Submitted by thandi_sa· Mar 30, 2026Develop for Azure storage

Question

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 best-effort, and there is no regional failover. In higher cost editions customers must be able to select guaranteed performance and support for multiple regions. Azure costs must be minimized. Which Azure Cosmos DB API should you use for the application?

Options

  • ACore
  • BMongoDB
  • CCassandra
  • DTable API

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    79% (26)
  • D
    12% (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.

ACore

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.

BMongoDB

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.

CCassandraCorrect

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.

DTable API

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

#Cosmos DB#Cassandra API#multi-region#tiered SaaS

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice