
Answer-first summary for fast verification
Answer: Migrate the DB to RDS for MariaDB Multi-AZ; run the app on EC2 instances in an Auto Scaling group across multiple AZs behind a load balancer.
For HA, use managed services: RDS Multi-AZ for DB provides automatic failover. For app, Auto Scaling group across AZs with load balancer ensures redundancy. Lambda isn't typically for stateful web apps, and manual EC2 standby is not efficient or automatic.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A production environment runs a web app and MariaDB on a single EC2 instance. Company policy requires high availability. What should a SysOps administrator do?
A
Migrate the DB to RDS for MariaDB Multi-AZ; run the app on EC2 instances in an Auto Scaling group across multiple AZs behind a load balancer.
B
Migrate to RDS Multi-AZ; convert the app to a Lambda function with Multi-AZ option.
C
Copy the DB to a different EC2 instance in another AZ; use AWS Backup + Lambda for health checks and recovery.
D
Migrate the DB to another EC2 instance; use a stopped standby database EC2 instance in another AZ.
No comments yet.