
Answer-first summary for fast verification
Answer: Move the database to Amazon Aurora with a read replica in another Availability Zone. Create an Amazon Machine Image (AMI) from the EC2 instance. Configure an Application Load Balancer in two Availability Zones. Attach an Auto Scaling group that uses the AMI across two Availability Zones.
## Explanation **Why Option C is correct:** 1. **High Availability:** - Moving the database to Amazon Aurora with a read replica in another Availability Zone provides database high availability across multiple AZs. - Aurora automatically replicates data across 3 AZs and can failover to the read replica if the primary fails. 2. **Scalability:** - Creating an AMI from the EC2 instance allows for easy replication of the web server configuration. - Using an Auto Scaling group across two Availability Zones enables automatic scaling based on demand and provides web tier high availability. - The Application Load Balancer distributes traffic across instances in multiple AZs. 3. **Multi-AZ Architecture:** - The solution spans two Availability Zones for both web tier (via Auto Scaling group) and database tier (via Aurora read replica), providing true high availability. **Why other options are incorrect:** **Option A:** - Only uses a single Availability Zone for both EC2 instances and the load balancer. - No database high availability (single RDS instance). - Manual scaling (no Auto Scaling). **Option B:** - Only uses a single Availability Zone for both EC2 instances. - Aurora read replica is in the same AZ as the primary, which doesn't provide AZ-level database redundancy. - Manual scaling (no Auto Scaling). **Option D:** - Moves database to a separate EC2 instance but doesn't provide database high availability (single instance). - Backups to S3 are for disaster recovery, not high availability. - While it uses Auto Scaling for web tier, the database remains a single point of failure. **Key AWS Services Used:** - **Amazon Aurora:** Managed relational database with automatic failover and read replicas - **Auto Scaling:** Automatically adjusts number of EC2 instances based on demand - **Application Load Balancer:** Distributes traffic across multiple instances - **Amazon Machine Image (AMI):** Template for launching EC2 instances with pre-configured software - **Multiple Availability Zones:** Provides fault tolerance at the data center level
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is using a content management system that runs on a single Amazon EC2 instance. The EC2 instance contains both the web server and the database software. The company must make its website platform highly available and must enable the website to scale to meet user demand.
What should a solutions architect recommend to meet these requirements?
A
Move the database to Amazon RDS, and enable automatic backups. Manually launch another EC2 instance in the same Availability Zone. Configure an Application Load Balancer in the Availability Zone, and set the two instances as targets.
B
Migrate the database to an Amazon Aurora instance with a read replica in the same Availability Zone as the existing EC2 instance. Manually launch another EC2 instance in the same Availability Zone. Configure an Application Load Balancer, and set the two EC2 instances as targets.
C
Move the database to Amazon Aurora with a read replica in another Availability Zone. Create an Amazon Machine Image (AMI) from the EC2 instance. Configure an Application Load Balancer in two Availability Zones. Attach an Auto Scaling group that uses the AMI across two Availability Zones.
D
Move the database to a separate EC2 instance, and schedule backups to Amazon S3. Create an Amazon Machine Image (AMI) from the original EC2 instance. Configure an Application Load Balancer in two Availability Zones. Attach an Auto Scaling group that uses the AMI across two Availability Zones.