Soru

Zorluk: KolayResilient Database Configurations and High Availability

A company is launching a new corporate training platform. The application uses an Amazon RDS for MariaDB DB instance to store employee progress data. The platform requires high availability with automatic failover to handle Availability Zone outages without manual intervention. Which two configurations or solutions should a solutions architect implement to meet these requirements? (Select TWO.)

  1. Modify the DB instance to use a Multi-AZ deployment configuration.Cevap
  2. Configure the application to connect to the database using the database instance DNS endpoint.Cevap
  3. C
    Deploy a database read replica in a different Availability Zone and configure the application to write to this replica if the primary instance fails.
  4. D
    Configure Amazon Route 53 latency routing to failover write traffic to a database read replica during an outage.
  5. E
    Set up a Pilot Light disaster recovery configuration with a backup DB instance in a stopped state in the primary Availability Zone.

Cevap

To achieve high availability with automatic failover, the solutions architect should modify the database to use a Multi-AZ deployment and configure the application to connect using the database instance DNS endpoint.
Enabling a Multi-AZ deployment ensures Amazon RDS maintains a synchronous standby replica in a different Availability Zone. During an outage, RDS automatically performs a failover. Using the DNS endpoint in the application configuration is critical because AWS updates this endpoint's DNS record during failover to point to the standby replica, allowing the application to reconnect automatically.

Adım Adım Çözüm

1
Enable Multi-AZ deployment for the database instance.
Amazon RDS creates a synchronous standby replica in a different Availability Zone.
This provides physical redundancy across Availability Zones and enables automatic failover capabilities.
2
Point the application's connection string to the RDS DNS endpoint.
The application connects using a domain name rather than a hardcoded IP address.
During failover, AWS automatically updates the DNS CNAME record of the endpoint to resolve to the new primary database instance.

Anahtar Kavram

Amazon RDS Multi-AZ deployments provide high availability and automatic failover by maintaining a synchronous standby replica in a different Availability Zone and updating the DNS endpoint during failover.
Tahmini Süre:1m 0s
Bu soruyu puanla