
Answer-first summary for fast verification
Answer: Expand the Auto Scaling group to multiple Availability Zones, configure the database in Multi-AZ mode, and integrate an Amazon RDS Proxy for the database.
The correct answer is B. Configuring the Auto Scaling group to use multiple Availability Zones ensures high availability by distributing the EC2 instances across different zones, which reduces the risk of downtime if one zone becomes unavailable. Configuring the database as Multi-AZ enhances the availability of the database by automatically replicating data to a standby instance in another Availability Zone, ensuring minimal data loss and downtime. Additionally, an Amazon RDS Proxy helps manage database connections efficiently and improves application resiliency. This solution provides high availability with the least operational effort compared to the other options.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A business-critical web application on EC2 instances with an Application Load Balancer and an Auto Scaling group uses a single-zone Aurora PostgreSQL database. The company seeks a highly available setup with minimal downtime and data loss, and minimal operational effort. What is the optimal solution?
A
Distribute EC2 instances across different AWS Regions, implement Route 53 health checks for traffic redirection, and enable Aurora PostgreSQL Cross-Region Replication.
B
Expand the Auto Scaling group to multiple Availability Zones, configure the database in Multi-AZ mode, and integrate an Amazon RDS Proxy for the database.
C
Maintain the Auto Scaling group in a single Availability Zone, create hourly database snapshots, and establish a recovery process from these snapshots upon failure.
D
Deploy the Auto Scaling group across multiple AWS Regions, store application data in Amazon S3, and use S3 Event Notifications to invoke an AWS Lambda function for database data entry.
No comments yet.