AWS Certified Solutions Architect – Associate (SAA-C02) — Question 661

A solutions architect is implementing a complex Java application with a MySQL database. The Java application must be deployed on Apache Tomcat and must be highly available.
What should the solutions architect do to meet these requirements?

Answer options

Correct answer: B

Explanation

AWS Elastic Beanstalk natively supports the Apache Tomcat platform for Java applications, making it easy to deploy, manage, and scale. By configuring a load-balanced environment, Beanstalk ensures high availability by distributing traffic across multiple instances. Other options like AWS Lambda require significant code refactoring, ElastiCache is an in-memory cache rather than a relational database, and co-locating MySQL and the application on a single EC2 instance violates high-availability design principles.