Soru

Zorluk: OrtaAzure Cosmos DB and NoSQL Solutions

An organization is modernizing its application portfolio and migrating multiple databases to Azure Cosmos DB. You need to recommend the appropriate Azure Cosmos DB API for each application workload. Match each application workload description to its correct Azure Cosmos DB API.

  • A social networking application that needs to store and analyze complex relationships, user connections, and interest graphs using graph traversal queries.Azure Cosmos DB for Apache Gremlin
  • An industrial IoT monitoring system that migrates an on-premises wide-column database and requires compatibility with existing Cassandra Query Language (CQL) drivers.Azure Cosmos DB for Apache Cassandra
  • A content management system storing semi-structured article data that must integrate seamlessly with existing MongoDB drivers and aggregation pipelines.Azure Cosmos DB for MongoDB
  • A new cloud-native transactional order processing service that requires optimal performance, low latency, and querying using SQL syntax.Azure Cosmos DB for NoSQL

Cevap

Match the social networking graph application with Azure Cosmos DB for Apache Gremlin, the industrial IoT Cassandra-based telemetry database with Azure Cosmos DB for Apache Cassandra, the MongoDB-compatible content management system with Azure Cosmos DB for MongoDB, and the new cloud-native SQL-queried order processing service with Azure Cosmos DB for NoSQL.
Azure Cosmos DB provides API compatibility with MongoDB, Cassandra, Gremlin, and Table, alongside its native NoSQL API. Matching each workload ensures database migration and feature compatibility: Gremlin for graph workloads, Cassandra for wide-column/CQL workloads, MongoDB for BSON document workloads, and NoSQL for new JSON/SQL-queried workloads.

Adım Adım Çözüm

1
Analyze the social networking graph requirement.
Identified the need to store entities and complex relationships (graph data) and perform traversals, which points to a graph database API.
Azure Cosmos DB for Apache Gremlin is the specific API for graph databases.
2
Analyze the industrial IoT migration requirement.
Identified the need for CQL compatibility and wide-column store support.
Azure Cosmos DB for Apache Cassandra provides compatibility with CQL and Cassandra drivers.
3
Analyze the content management system migration requirement.
Identified the requirement for MongoDB driver and aggregation pipeline compatibility.
Azure Cosmos DB for MongoDB is compatible with the MongoDB wire protocol.
4
Analyze the new cloud-native order processing service requirement.
Identified a new application needing standard SQL querying and optimal performance on Cosmos DB.
Azure Cosmos DB for NoSQL is the native API and uses SQL querying, offering the best integration and performance for new workloads.

Anahtar Kavram

Selecting the appropriate Azure Cosmos DB API based on database compatibility and application requirements.
Bu soruyu puanla