Q15 — AWS SAA-C03 Ch.12
Question 15 of 100 | ← Chapter 12
Q815. A company wants to migrate its three-tier application from on premises to AWS. The web tier and the application tier are running on third-party virtual machines (VMs). The database tier is running on MySQL.The company needs to migrate the application by making the fewest possible changes to the architecture. The company also needs a database solution that can restore data to a specific point in time.Which solution will meet these requirements with the LEAST operational overhead?
- A. Migrate the web tier and the application tier to Amazon EC2 instances in private subnets. Migrate the database tier to Amazon RDS for MySQL in private subnets.
- B. Migrate the web tier to Amazon EC2 instances in public subnets. Migrate the application tier to EC2 instances in private subnets. Migrate the database tier to Amazon Aurora MySQL in private subnets. ✓
- C. Migrate the web tier to Amazon EC2 instances in public subnets. Migrate the application tier to EC2 instances in private subnets. Migrate the database tier to Amazon RDS for MySQL in private subnets.
- D. Migrate the web tier and the application tier to Amazon EC2 instances in public subnets. Migrate the database tier to Amazon Aurora MySQL in public subnets.
Correct Answer: B. Migrate the web tier to Amazon EC2 instances in public subnets. Migrate the application tier to EC2 instances in private subnets. Migrate the database tier to Amazon Aurora MySQL in private subnets.
Explanation
B OR C.To migrate the three-tier application from on-premises to AWS with the fewest possible changes to the architecture and a database solution that can restore data to a specific point in time, the recommended solution with the least operational overhead is:B. Migrate the web tier to Amazon EC2 instances in public subnets. Migrate the application tier to EC2 instances in private subnets. Migrate the database tier to Amazon Aurora MySQL in private subnets.\1. Migrating the web tier to Amazon EC2 instances in public subnets allows the web servers to be accessible from the internet, as required for a publicly accessible application.\2. Migrating the application tier to EC2 instances in private subnets ensures that the application servers are not directly accessible from the internet, providing an additional layer of security.\3. Migrating the database tier to Amazon Aurora MySQL in private subnets provides a highly available and scalable database solution with compatibility with MySQL. Aurora MySQL also supports point-in-time recovery, allowing data to be restored to a specific point in time.By choosing this solution, the company can migrate the application with minimal changes to the architecture while leveraging the managed services provided by AWS. The use of Amazon Aurora MySQL ensures data durability, scalability, and the capability to restore the database to a specific point in time, reducing operational overhead.Here's why the other options are not the best fit for the given requirements:A. Migrating the web tier and the application tier to Amazon EC2 instances in private subnets is a viable option, but using third-party virtual machines may introduce additional complexity and operational overhead. Additionally, using Amazon RDS for MySQL in private subnets provides a more managed database solution with automated backups and point-in-time restore capabilities.C. Migrating the web tier to Amazon EC2 instances in public subnets and using Amazon RDS for MySQL in private subnets is a valid choice. However, migrating the application tier to EC2 instances in private subnets provides an additional layer of security and isolation for the application servers.D. Migrating the web tier and the application tier to Amazon EC2 instances in public subnets and using Amazon Aurora MySQL in public subnets may expose the application and database to the internet unnecessarily, potentially compromising security. Placing the application tier in private subnets provides an additional layer of protection.Therefore, the recommended solution to migrate the three-tier application with minimal changes to the architecture and a database solution that can restore data to a specific point in time is:B. Migrate the web tier to Amazon EC2 instances in public subnets. Migrate the application tier to EC2 instances in private subnets. Migrate the database tier to Amazon Aurora MySQL in private subnets.