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.)
- Modify the DB instance to use a Multi-AZ deployment configuration.Answer
- Configure the application to connect to the database using the database instance DNS endpoint.Answer
- CDeploy a database read replica in a different Availability Zone and configure the application to write to this replica if the primary instance fails.
- DConfigure Amazon Route 53 latency routing to failover write traffic to a database read replica during an outage.
- ESet up a Pilot Light disaster recovery configuration with a backup DB instance in a stopped state in the primary Availability Zone.
Answer
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.
Step-by-Step Solution
Key Concept
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.
Estimated Time:1m 0s