AWS Certified Solutions Architect – Professional (SAP-C02) — Question 495

A company plans to migrate a legacy on-premises application to AWS. The application is a Java web application that runs on Apache Tomcat with a PostgreSQL database.

The company does not have access to the source code but can deploy the application Java Archive (JAR) files. The application has increased traffic at the end of each month.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: D

Explanation

AWS Elastic Beanstalk is a managed service that simplifies deployment and scaling of web applications, making it the option with the least operational overhead for running Tomcat. Using Amazon RDS for PostgreSQL provides a fully managed database solution, eliminating the need to manage database infrastructure manually. Other options either require heavy operational maintenance (like managing EC2 instances or EKS clusters) or demand application refactoring, which is not possible without the source code.