A solutions architect is designing a new high-frequency transaction processing application that requires a relational database. The database must support an unpredictable read workload that surges during marketing campaigns, needing auto-scaling read capacity. Additionally, the system must achieve high availability with an automatic failover recovery time objective (RTO) of less than 30 seconds. Which database and storage strategy meets these requirements with the least operational overhead?
- Deploy an Amazon Aurora PostgreSQL DB cluster with a primary instance and an Aurora Replica in a different Availability Zone. Configure Aurora Auto Scaling to dynamically adjust the number of Aurora Replicas based on CPU utilization.Cevap
- BDeploy an Amazon RDS for PostgreSQL DB instance with a Multi-AZ deployment. Configure the standby DB instance to serve read traffic during high CPU utilization, and enable RDS storage auto-scaling.
- CDeploy a Single-AZ Amazon RDS for PostgreSQL DB instance. Configure cross-Region read replicas, and implement a script that manually promotes a replica to primary and updates application connection strings when the primary instance fails.
- DDeploy an Amazon Aurora PostgreSQL DB cluster in a Multi-AZ configuration encrypted with the AWS-managed KMS key (aws/rds). Share the database snapshots with a separate security audit account by modifying the key policy of the AWS-managed KMS key to delegate cross-account access.
Cevap
Deploy an Amazon Aurora PostgreSQL DB cluster with a primary instance and an Aurora Replica in a different Availability Zone. Configure Aurora Auto Scaling to dynamically adjust the number of Aurora Replicas based on CPU utilization.
The correct strategy uses Amazon Aurora PostgreSQL with an Aurora Replica in another Availability Zone. This architecture ensures high availability with automatic failover (typically completed within 30 seconds) and scales read operations dynamically using Aurora Auto Scaling based on target CPU utilization metrics.
Adım Adım Çözüm
Anahtar Kavram
Amazon Aurora provides rapid automated failover to replicas and supports dynamic horizontal scaling of read capacity via Aurora Auto Scaling, whereas standard RDS standby instances cannot serve read traffic.
Tahmini Süre:2m 0s