Microsoft Certified: Azure Solutions Architect ExpertDesign business continuity solutionsHard
An online retail company utilizes Azure Cosmos DB for its product catalog. The company operates globally and requires that the database remains available and responsive even if an entire Azure region becomes unavailable. All write operations must be distributed across multiple regions to minimize latency for users worldwide. Which Cosmos DB feature should be enabled?
- AMulti-region writes with automatic failover
- BSingle-region writes with read replicas in other regions
- CBackup and restore with geo-redundancy
- DChange Feed with Azure Functions for replication
Show answer & explanationAnswer & explanation
Correct answer: A. Multi-region writes with automatic failover
Multi-region writes in Azure Cosmos DB allow write operations to be performed in any configured region, providing low-latency writes globally and ensuring continuous availability during regional outages with automatic failover.
Why the other options are wrong
- B. Single-region writes mean all writes go to one primary region, introducing higher latency for remote users and a single point of failure for writes during a regional outage.
- C. Backup and restore is for data recovery, not for real-time, continuous global availability and low-latency write operations.
- D. Change Feed for replication would require custom implementation and management, which is less efficient and robust than native multi-region writes for this scenario.
Azure Cosmos DB Multi-Region Writes
A feature that allows write operations to be performed on any replica of your Azure Cosmos DB account across all configured regions, providing global low-latency writes and high availability.
- Enables global write distribution for improved performance.
- Provides automatic failover for both reads and writes during regional outages.
- Requires careful conflict resolution strategy implementation for concurrent writes.
Memory trick: Cosmos DB: Multi-Region Writes, Global Peace of Mind.