A software-as-a-service (SaaS) company hosts its customer relationship management (CRM) application on AWS, utilizing an Amazon RDS for PostgreSQL DB instance for the transactional database. The company needs to design a database architecture that ensures high availability within the region to survive an Availability Zone (AZ) outage with a Recovery Time Objective (RTO) of less than 2 minutes and a Recovery Point Objective (RPO) of 0. Additionally, the database must be able to scale to handle a high volume of read-only reporting queries during business hours without impacting write performance. Which database configuration meets these requirements?
- Configure the RDS DB instance as a Multi-AZ deployment, and create one or more RDS Read Replicas in different Availability Zones to handle the read-only reporting traffic.Cevap
- BConfigure the RDS DB instance as a single-AZ deployment, create multiple Read Replicas in different Availability Zones, and configure the application to use the Read Replicas as automatic failover targets.
- CConfigure the RDS DB instance as a Multi-AZ deployment, and use Amazon Route 53 latency routing to distribute read traffic between the active primary DB instance and the passive standby DB instance.
- DConfigure the RDS DB instance as a Multi-AZ deployment, and implement a cross-region Pilot Light configuration to serve the reporting queries from a read-only standby instance in a secondary region.
Cevap
Configure the RDS DB instance as a Multi-AZ deployment, and create one or more RDS Read Replicas in different Availability Zones to handle the read-only reporting traffic.
The correct configuration uses RDS Multi-AZ to achieve high availability with synchronous replication to a standby instance in another AZ, enabling automatic failover with zero data loss (RPO of 0) and low downtime (RTO of less than 2 minutes). Creating Read Replicas offloads read traffic to separate endpoints, scaling read performance without affecting the primary writer instance.
Adım Adım Çözüm
Anahtar Kavram
Amazon RDS Multi-AZ deployments provide high availability and automatic failover, while Read Replicas provide horizontal scaling for read-heavy workloads.
Tahmini Süre:1m 30s