A company hosts a high-traffic inventory management system on Amazon RDS for PostgreSQL. During peak operational hours, database performance degrades due to a high volume of read-only queries from a business intelligence tool. Additionally, the company requires a recovery time objective (RTO) of under 10 minutes for any database infrastructure failure. Which configuration should the SysOps Administrator implement to satisfy these requirements?
- ACreate an Amazon RDS Read Replica in a different Availability Zone. Route the main application's write traffic to the primary DB instance, and configure Amazon Route 53 with a failover routing policy to automatically promote and redirect write traffic to the replica if the primary instance fails.
- Configure the Amazon RDS DB instance for Multi-AZ deployment, and create a separate RDS Read Replica. Point the main application to the primary DB instance endpoint and the business intelligence tool to the read replica endpoint.Cevap
- CConfigure the Amazon RDS DB instance for Multi-AZ deployment. Direct the main application to the primary DB instance endpoint, and configure the business intelligence tool to connect to the standby DB instance endpoint in the secondary Availability Zone.
- DCreate a second Single-AZ Amazon RDS DB instance in a different Availability Zone. Configure an AWS Lambda function triggered by Amazon CloudWatch alarms to promote this instance and update the application configuration files during a primary database outage.
Cevap
Configure the Amazon RDS DB instance for Multi-AZ deployment, and create a separate RDS Read Replica. Point the main application to the primary DB instance endpoint and the business intelligence tool to the read replica endpoint.
An Amazon RDS Multi-AZ deployment provides automatic synchronous replication and failover to a standby DB instance in a different Availability Zone if the primary instance fails, satisfying the low RTO requirement. To offload read operations from the business intelligence tool, an RDS Read Replica should be deployed, as it provides a dedicated endpoint for read-only queries.
Adım Adım Çözüm
Anahtar Kavram
Distinguishing between RDS Multi-AZ deployments (used for synchronous high availability and automatic failover) and RDS Read Replicas (used for asynchronous horizontal scaling of read traffic).
Tahmini Süre:1m 30s