Microsoft Azure Data FundamentalsDescribe how to work with non-relational data on AzureMedium
A global online gaming platform uses Azure Cosmos DB to store player profiles, game statistics, and leaderboards. They need to ensure that regardless of where a player connects from, they experience very low latency when accessing their data. The platform also requires high availability, even in the event of a regional outage. Which Azure Cosmos DB feature should be implemented to meet these requirements?
- AChange Feed
- BStored Procedures
- CIndexing Policies
- DGlobal Distribution
Show answer & explanationAnswer & explanation
Correct answer: D. Global Distribution
Azure Cosmos DB's Global Distribution feature allows data to be replicated across multiple Azure regions. This provides low-latency access to data for users worldwide by serving data from the closest region, and ensures high availability through automatic failover in case of a regional outage.
Why the other options are wrong
- A. Change Feed provides a continuous stream of changes, not low-latency global access or high availability.
- B. Stored Procedures are used for transactional execution of JavaScript code on the database, not for global distribution or availability.
- C. Indexing Policies optimize query performance within a single region, but do not address global latency or regional outages.
Azure Cosmos DB Global Distribution
A core capability of Azure Cosmos DB that allows your data to be replicated across any number of Azure regions worldwide, providing low-latency access and high availability.
- Replicates data across multiple Azure regions.
- Ensures low-latency data access for users globally.
- Provides high availability with automatic failover during regional outages.
Memory trick: Cosmos DB makes your data a 'global star', always close and always shining.