SAP-C02 · Question #766
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…
The correct answer is D. Use AWS Elastic Beanstalk to deploy the Tomcat servers with auto scaling in multiple Availability. To migrate a legacy Java web application with JAR files and minimal operational overhead, AWS Elastic Beanstalk is the most suitable solution as it natively supports Tomcat, handles automatic scaling, and manages the underlying infrastructure.
Question
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?
Options
- ALaunch Amazon EC2 instances in multiple Availability Zones. Deploy Tomcat and PostgreSQL to
- BProvision Amazon Elastic Kubernetes Service (Amazon EKS) in an Auto Scaling group across
- CRefactor the Java application into Python-based containers. Use AWS Lambda functions for the
- DUse AWS Elastic Beanstalk to deploy the Tomcat servers with auto scaling in multiple Availability
How the community answered
(63 responses)- A3% (2)
- B13% (8)
- C6% (4)
- D78% (49)
Why each option
To migrate a legacy Java web application with JAR files and minimal operational overhead, AWS Elastic Beanstalk is the most suitable solution as it natively supports Tomcat, handles automatic scaling, and manages the underlying infrastructure.
Launching Amazon EC2 instances directly requires manual management of the operating system, Apache Tomcat, and PostgreSQL, which results in significant operational overhead.
Provisioning Amazon Elastic Kubernetes Service (Amazon EKS) involves managing a Kubernetes cluster, which has higher operational overhead and typically requires containerizing the application, which may not be straightforward with only JAR files and no source code access.
Refactoring the Java application into Python-based containers and using AWS Lambda for the database is a significant re-architecture effort, not a migration with the least operational overhead, and is not feasible without access to the source code.
AWS Elastic Beanstalk is a Platform as a Service (PaaS) that natively supports deploying Java web applications on Apache Tomcat from JAR files, automatically handling the provisioning, load balancing, auto scaling, and health monitoring of the underlying infrastructure, thus providing the least operational overhead.
Concept tested: PaaS (Elastic Beanstalk) for Web Application Migration
Source: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/Welcome.html
Community Discussion
No community discussion yet for this question.