Q57 — AWS SAA-C03 Ch.3

Question 57 of 65 | ← Chapter 3

Q187. A company hosts a website analytics application on a single Amazon EC2 On-Demand Instance. The analytics software is written in PHP and uses a MySQL database. The analytics software, the web server that provides PHP, and the database server are all hosted on the EC2 instance. The application is showing signs of performance degradation during busy times and is presenting 5xx errors. The company needs to make the application scale seamlessly.Which solution will meet these requirements MOST cost-effectively?

Correct Answer: A. Migrate the database to an Amazon RDS for MySQL DB instance. Create an AMI of the web application.Use the AMI to launch a second EC2 On-Demand Instance. Use an Application Load Balancer to distribute the load to each EC2 instance.