Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureEasy

A manufacturing company uses legacy applications that rely heavily on Apache Cassandra for their wide-column data model. The company plans to migrate these applications to Azure without rewriting their data access layer. They need a fully managed, scalable NoSQL database service that is compatible with existing Cassandra drivers and tools. Which Azure Cosmos DB API should they choose?

  1. AAzure Cosmos DB for Cassandra API
  2. BAzure Cosmos DB for Gremlin (Graph) API
  3. CAzure Cosmos DB for NoSQL (Core) API
  4. DAzure Cosmos DB for MongoDB API
Show answer & explanation

Correct answer: A. Azure Cosmos DB for Cassandra API

The Azure Cosmos DB for Cassandra API provides wire protocol compatibility with Apache Cassandra. This allows existing Cassandra applications to connect to Cosmos DB without code changes, leveraging existing drivers and tools, which is crucial for a migration without rewriting the data access layer.

Why the other options are wrong

  • B. The Gremlin (Graph) API is for graph data and is not compatible with Cassandra.
  • C. The NoSQL (Core) API is for document data and requires rewriting applications built for Cassandra.
  • D. The MongoDB API is for document data with MongoDB compatibility and is not compatible with Cassandra.

Azure Cosmos DB Cassandra API

An API in Azure Cosmos DB that enables users to interact with Cosmos DB using Apache Cassandra's open-source SDKs and tools.

  • Wire protocol compatible with Apache Cassandra.
  • Allows migration of existing Cassandra apps with no code changes.
  • Fully managed, scalable Cassandra experience.

Memory trick: Cassandra apps plug into the Cassandra API.

More Describe how to work with non-relational data on Azure questions