
Answer-first summary for fast verification
Answer: Implement Multi-AZ with deletion protection for the DB and deploy EC2 instances in an Auto Scaling group with a Load Balancer across multiple AZs.
Option B is the correct answer as it addresses both the issues of database reliability and EC2 instance availability. By updating the RDS DB instance to be Multi-AZ, it ensures that the database has high availability and can withstand failures. Enabling deletion protection prevents accidental deletion of the DB instance. Placing the EC2 instances behind an Application Load Balancer (ALB) and running them in an EC2 Auto Scaling group across multiple Availability Zones ensures that the web servers can handle increased traffic and remain available even if one instance fails. This solution maximizes the reliability and availability of the application infrastructure.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company seeks a reliable architecture for its application, which includes an Amazon RDS DB instance and two EC2 web servers in a single Availability Zone. After an accidental DB instance deletion caused a 24-hour outage, the company needs a solution to enhance infrastructure reliability. What steps should the solutions architect take?
A
Enable termination protection on one EC2 instance and delete the other, then update the DB to Multi-AZ with deletion protection.
B
Implement Multi-AZ with deletion protection for the DB and deploy EC2 instances in an Auto Scaling group with a Load Balancer across multiple AZs.
C
Add a DB instance, Amazon API Gateway, and AWS Lambda. Reconfigure the app to use Lambda via API Gateway, writing data to both DB instances.
D
Use an Auto Scaling group for EC2 across multiple AZs with CloudWatch for health monitoring, and update the DB to Multi-AZ with deletion protection, considering Spot Instances.
No comments yet.