AWS Certified Cloud Practitioner — Question 415
A company has a MySQL database running on a single Amazon EC2 instance. The company now requires higher availability in the event of an outage.
Which set of tasks would meet this requirement?
Answer options
- A. Add an Application Load Balancer in front of the EC2 instance.
- B. Configure EC2 Auto Recovery to move the instance to another Availability Zone.
- C. Migrate to Amazon RDS and enable Multi-AZ.
- D. Enable termination protection for the EC2 instance to avoid outages.
Correct answer: C
Explanation
Migrating to Amazon RDS with Multi-AZ enabled provides synchronous data replication to a standby instance in a different Availability Zone, allowing for automatic failover and high availability during an outage. An Application Load Balancer or EC2 Auto Recovery cannot provide database-level high availability across multiple Availability Zones for a single EC2 instance. Termination protection only prevents accidental instance deletion and does not protect against infrastructure failures or outages.