AWS Certified Cloud Practitioner (CLF-C02) — Question 382
A company wants to deploy a non-containerized Java-based web application on AWS. The company wants to use a managed service to quickly deploy the application. The company wants the service to automatically provision capacity, load balance, scale, and monitor application health.
Which AWS service will meet these requirements?
Answer options
- A. Amazon Elastic Container Service (Amazon ECS)
- B. AWS Lambda
- C. Amazon Elastic Kubernetes Service (Amazon EKS)
- D. AWS Elastic Beanstalk
Correct answer: D
Explanation
AWS Elastic Beanstalk is the ideal service for deploying and scaling web applications, including Java-based ones, because it automatically handles provisioning, load balancing, auto-scaling, and health monitoring without requiring containerization. In contrast, Amazon ECS and Amazon EKS are container orchestration services that require the application to be containerized first. AWS Lambda is a serverless compute service designed for running code in response to events, rather than hosting a traditional, non-containerized Java web application.