Soru

Zorluk: KolayAzure Cosmos DB and NoSQL Solutions

An organization is migrating several legacy workloads to Azure and plans to use Azure Cosmos DB. You need to recommend the appropriate Azure Cosmos DB API for each workload based on their technical requirements.

Match each workload pattern to its corresponding Azure Cosmos DB API.

  • A social networking application that needs to query complex entity relationships and traverse graphs using Apache TinkerPop.API for Gremlin
  • A retail inventory system migrating from an existing open-source MongoDB deployment with minimal changes to the application code.API for MongoDB
  • An IoT logging system that writes time-series telemetry structured as wide-column tables compatible with Apache Cassandra.API for Cassandra
  • A customer portal needing to store and query semi-structured JSON documents using standard SQL queries.API for NoSQL

Cevap

Match 'Apache TinkerPop' to 'API for Gremlin', 'MongoDB deployment' to 'API for MongoDB', 'Apache Cassandra wide-column tables' to 'API for Cassandra', and 'JSON documents using standard SQL' to 'API for NoSQL'.
Each workload is mapped to the API that supports its specific query paradigm and database driver compatibility: Apache TinkerPop maps to API for Gremlin, MongoDB migration maps to API for MongoDB, Cassandra wide-column queries map to API for Cassandra, and SQL-like JSON document queries map to the native API for NoSQL.

Adım Adım Çözüm

1
Analyze the graph database requirement.
Since it uses Apache TinkerPop, it matches the API for Gremlin.
The API for Gremlin is designed specifically for graph workloads using the TinkerPop standard.
2
Analyze the MongoDB migration requirement.
Since it requires migrating an existing MongoDB deployment with minimal changes, it matches the API for MongoDB.
The API for MongoDB allows existing MongoDB drivers and tools to interact with Azure Cosmos DB directly.
3
Analyze the wide-column and Cassandra compatibility requirement.
Since it requires Cassandra compatibility, it matches the API for Cassandra.
The API for Cassandra is compatible with Cassandra Query Language (CQL) and drivers.
4
Analyze the SQL query on JSON documents requirement.
Since it requires querying JSON using SQL, it matches the API for NoSQL.
The API for NoSQL is the native document model that uses SQL-like queries.

Anahtar Kavram

Selecting the correct Azure Cosmos DB API based on database model, compatibility requirements, and query language needs.
Bu soruyu puanla