
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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?
A
Deploy the application in AWS Lambda. Configure an Amazon API Gateway API to connect with the Lambda functions.
B
Deploy the application by using AWS Elastic Beanstalk. Configure a load-balanced environment and a rolling deployment policy.
C
Migrate the database to Amazon ElastiCache. Configure the ElastiCache security group to allow access from the application.
D
Launch an Amazon EC2 instance. Install a MySQL server on the EC2 instance. Configure the application on the server. Create an AMI. Use the AMI to create a launch template with an Auto Scaling group.
Explanation:
Correct Answer: B
Why Option B is correct:
Why other options are incorrect:
Option A (AWS Lambda):
Option C (Amazon ElastiCache):
Option D (EC2 with manual setup):
Key AWS Services for this scenario:
This combination provides a highly available, scalable, and managed solution that meets all requirements with minimal operational overhead.