Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureHard
A global e-commerce platform uses Azure Cosmos DB to store product catalog information. The platform needs to serve product details to customers with consistently low latency, regardless of their geographical location. To achieve this, the product catalog data must be available in multiple Azure regions, and the application must be able to write to any of these regions. Which Cosmos DB feature ensures this capability?
- AChange Feed
- BGlobal Distribution
- CRequest Units (RUs)
- DIndexing Policies
Show answer & explanationAnswer & explanation
Correct answer: B. Global Distribution
Azure Cosmos DB's global distribution feature allows data to be replicated across multiple Azure regions. This enables low-latency read and write access for users worldwide by serving data from the closest region and supporting multi-master writes, fulfilling the requirement for a global e-commerce platform.
Why the other options are wrong
- A. Change Feed provides a stream of changes from a Cosmos DB container, useful for real-time data processing, but doesn't directly enable global, low-latency multi-region writes for users.
- C. Request Units (RUs) are a performance currency for Cosmos DB, defining throughput, but they are not a feature that enables global distribution itself.
- D. Indexing Policies define how data is indexed in Cosmos DB, affecting query performance, but not directly responsible for global data availability and multi-region writes.
Azure Cosmos DB Global Distribution
A core capability of Azure Cosmos DB that allows data to be replicated across any number of Azure regions worldwide.
- Enables low-latency reads and writes for globally dispersed users.
- Supports multi-master write capabilities across all regions.
- Offers high availability and disaster recovery.
- Provides flexible consistency choices across regions.
Memory trick: Global distribution makes your data travel worldwide.