Explanation
AWS Elastic Beanstalk is the correct answer because:
- Serverless Management: Elastic Beanstalk automatically handles the deployment, capacity provisioning, load balancing, auto-scaling, and application health monitoring
- Java Support: It natively supports Java applications along with other platforms like .NET, PHP, Node.js, Python, Ruby, Go, and Docker
- No Server Management: You simply upload your code and Elastic Beanstalk handles the underlying infrastructure, including EC2 instances, load balancers, and auto-scaling groups
Why other options are incorrect:
- Amazon EC2: Requires manual server management, configuration, patching, and scaling
- Amazon EBS: This is a block storage service, not an application deployment platform
- AWS Direct Connect: This is a network service for establishing dedicated connections to AWS, not for application deployment
Elastic Beanstalk provides the Platform as a Service (PaaS) model where AWS manages the infrastructure while you focus on your application code.