Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureMedium
A company is migrating its existing on-premises application that heavily relies on Apache Cassandra to Azure. The application requires high availability, linear scalability, and a familiar Cassandra Query Language (CQL) interface. Which Azure Cosmos DB API is the most appropriate for this migration?
- AAzure Cosmos DB for Cassandra API
- BAzure Cosmos DB for Gremlin (Graph) API
- CAzure Cosmos DB for NoSQL (Core) API
- DAzure Cosmos DB for MongoDB API
Show answer & explanationAnswer & explanation
Correct answer: A. Azure Cosmos DB for Cassandra API
The Azure Cosmos DB for Cassandra API provides a fully managed Apache Cassandra-compatible database service. It allows existing Cassandra applications to migrate to Azure with minimal code changes, leveraging the familiar CQL interface.
Why the other options are wrong
- B. The Gremlin API is for graph data and uses the Gremlin query language.
- C. The NoSQL API is for document data and uses a different query language.
- D. The MongoDB API is for MongoDB applications, using the MongoDB query language.
Azure Cosmos DB for Cassandra API
A fully managed Apache Cassandra-compatible API within Azure Cosmos DB, allowing existing Cassandra applications to run in Azure with minimal changes.
- Supports Cassandra Query Language (CQL).
- Leverages Cosmos DB's global distribution and scalability.
- Ideal for lift-and-shift migrations of Cassandra workloads.
- Provides high availability and low latency.
Memory trick: Migrate with the same name: Cassandra to Cassandra.