A financial technology company is designing a disaster-tolerant transactional application in a specific geographic country to comply with strict local data sovereignty laws. The system requires synchronous replication between two database nodes to prevent any data loss (zero RPO). The nodes must be physically isolated from one another to survive localized environmental hazards, yet remain close enough to maintain a round-trip network latency of under 2 milliseconds. Which of the following deployment strategies best meets these requirements?
- ADeploy the primary database node in an AWS Region within the target country, and the secondary node in a separate AWS Region in an adjacent country.
- BDeploy the database in a single Availability Zone and configure AWS Elastic Beanstalk to manage the real-time physical replication across different geographic locations.
- Deploy the primary database node in one Availability Zone and the secondary database node in a different Availability Zone within the same AWS Region.Answer
- DDeploy the database nodes in a single data center within one Availability Zone, utilizing Amazon S3 replication to ensure sub-millisecond data synchronization.
Answer
Deploy the primary database node in one Availability Zone and the secondary database node in a different Availability Zone within the same AWS Region.
Deploying the primary and secondary database nodes in different Availability Zones (AZs) within the same AWS Region is the correct strategy. AZs are physically distinct locations with independent power, cooling, and network connectivity, which protects against localized disasters. At the same time, they are connected to each other via low-latency, high-bandwidth private fiber-optic networks, allowing for synchronous replication with round-trip latencies under 2 milliseconds. Since both AZs are within the same Region, data remains within the target country, satisfying data sovereignty requirements.
Step-by-Step Solution
Key Concept
AWS Availability Zones provide physical isolation and low-latency connectivity within a Region to enable high availability and disaster tolerance.