Questions 34 to 36

Explanations for questions 34 to 36

We'll cover the following

Question 34

A membership website has become quite popular and is gaining members quickly. The website currently runs on Amazon EC2 instances with one web server instance and one database instance running MySQL. A solutions architect is concerned about the lack of high-availability in the current architecture.

What can the solutions architect do to easily enable high availability without making major changes to the architecture?

  1. Create a Read Replica in another Availability Zone.
  2. Enable Multi-AZ for the MySQL instance.
  3. Install MySQL on an EC2 instance in the same Availability Zone, and enable replication.
  4. Install MySQL on an EC2 instance in another Availability Zone, and enable replication.

Correct Answer: 4

Explanation: If you are installing MySQL on an EC2 instance, you cannot enable Read Replicas or Multi-AZ. Instead, you need to use Amazon RDS with a MySQL DB engine to use these features.

In this example, a good solution is to use the native HA features of MySQL. You would want to place the second MySQL DB instance in another AZ to enable high availability and fault tolerance.

Migrating to Amazon RDS may be a good solution but is not presented as an option.

INCORRECT: “Create a Read Replica in another Availability Zone.” is incorrect as described above.

INCORRECT: “Enable Multi-AZ for the MySQL instance.” is incorrect as described above.

INCORRECT: “Install MySQL on an EC2 instance in the same Availability Zone, and enable replication.” is incorrect as described above.

CORRECT: “Install MySQL on an EC2 instance in another Availability Zone, and enable replication.” is the correct answer.

References:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-increase-availability.html

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.