Soru

Zorluk: OrtaResilient Database Configurations and High Availability

An enterprise application runs on Amazon EC2 instances and uses an Amazon RDS for PostgreSQL database. The database must be designed for high availability within a single AWS Region with a Recovery Time Objective (RTO) of under 60 seconds and a Recovery Point Objective (RPO) of zero. Additionally, the database must support scaling read traffic during peak monthly reporting periods without affecting write performance on the primary database instance. Which combination of database configurations should a solutions architect implement to meet these requirements? (Select TWO.)

  1. Deploy the RDS for PostgreSQL DB instance in a Multi-AZ configuration to enable synchronous replication and automatic failover.Cevap
  2. Create RDS Read Replicas and configure the reporting application to use the read replica endpoints.Cevap
  3. C
    Configure an RDS Read Replica in another Availability Zone and manually promote it to primary during a database failover.
  4. D
    Deploy a single-AZ database instance and restore from Amazon S3 backups in a different Availability Zone during a failure.
  5. E
    Use Amazon Route 53 latency-based routing to distribute database write traffic between the primary DB instance and its read replicas.

Cevap

To meet both the high availability and read-scaling requirements, the solutions architect should deploy the Amazon RDS database in a Multi-AZ configuration to enable automatic failover and synchronous replication (ensuring an RTO of under 60 seconds and an RPO of zero), and create RDS Read Replicas to offload read-heavy reporting queries from the primary instance.
Deploying Amazon RDS for PostgreSQL in a Multi-AZ configuration ensures that data is synchronously replicated to a standby instance in another Availability Zone, allowing for automatic failover without data loss (RPO = 0) in under 60 seconds (RTO < 60s). Creating RDS Read Replicas allows the application to route read-intensive reporting traffic to the replicas, successfully offloading the primary write-serving instance.

Adım Adım Çözüm

1
Analyze the high availability requirements (RTO under 60 seconds, RPO of zero).
Identify that synchronous replication and automatic failover are required, which matches the capabilities of RDS Multi-AZ deployments.
Single-AZ deployments with manual restores or asynchronous replication cannot meet the zero data loss (RPO = 0) and sub-minute recovery time (RTO < 60s) requirements.
2
Analyze the read scaling requirement (offloading peak monthly reporting traffic without affecting writes on the primary DB instance).
Identify that RDS Read Replicas must be deployed and configured as endpoints for the reporting application queries.
Read replicas utilize asynchronous replication to provide scalable read-only targets, preserving primary instance capacity for write operations.

Anahtar Kavram

Combining Amazon RDS Multi-AZ deployments for synchronous, zero-RPO high availability with Read Replicas for scalable, asynchronous read workloads.
Tahmini Süre:2m 0s
Bu soruyu puanla