AWS Certified Solutions Architect – Associate (SAA-C03) — Question 417

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 Apache Tomcat environments and easily provisions highly available, load-balanced infrastructures with rolling deployment capabilities. AWS Lambda cannot run a standard Apache Tomcat web server natively, and Amazon ElastiCache is an in-memory cache rather than a relational MySQL database replacement. Hosting both the database and application on a single EC2 instance, even within an Auto Scaling group, does not provide high availability for the database layer.