
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Use AWS Fargate on Amazon Elastic Container Service (Amazon ECS) to run the containerized web application with Service Auto Scaling. Use an Application Load Balancer to distribute the incoming requests.
## Explanation **Correct Answer: A** **Why Option A is correct:** 1. **Minimum code changes**: Since the application is already containerized, moving it to AWS Fargate on Amazon ECS requires minimal to no code changes. Containers can be deployed as-is. 2. **Minimum development effort**: AWS Fargate is a serverless compute engine for containers, eliminating the need to manage EC2 instances, patching, or capacity planning. 3. **Least operational overhead**: Fargate handles all the underlying infrastructure management, including scaling, security, and maintenance. 4. **Auto-scaling**: Service Auto Scaling automatically adjusts the number of tasks based on demand, ensuring the application can handle growing requests. 5. **Load balancing**: Application Load Balancer provides efficient request distribution and integrates seamlessly with ECS. **Why other options are incorrect:** **Option B**: Using EC2 instances requires managing the underlying infrastructure (patching, scaling, monitoring), which increases operational overhead. While it would work, it doesn't provide the least operational overhead. **Option C**: AWS Lambda requires rewriting the application code to use supported languages, which contradicts the "minimum code changes" requirement. This would involve significant development effort. **Option D**: AWS ParallelCluster is designed for HPC workloads (scientific computing, simulations), not for typical web applications. It's overkill for a web application and would require significant configuration and management effort. **Key AWS Services Mentioned:** - **AWS Fargate**: Serverless compute engine for containers - **Amazon ECS**: Container orchestration service - **Service Auto Scaling**: Automatically scales ECS tasks - **Application Load Balancer**: Distributes incoming application traffic - **AWS Lambda**: Serverless compute service (not suitable here due to code rewrite requirement) - **Amazon API Gateway**: Creates, publishes, and manages APIs - **AWS ParallelCluster**: HPC cluster management tool
Author: LeetQuiz Editorial Team
No comments yet.
A company hosts a containerized web application on a fleet of on-premises servers that process incoming requests. The number of requests is growing quickly. The on-premises servers cannot handle the increased number of requests. The company wants to move the application to AWS with minimum code changes and minimum development effort.
Which solution will meet these requirements with the LEAST operational overhead?
A
Use AWS Fargate on Amazon Elastic Container Service (Amazon ECS) to run the containerized web application with Service Auto Scaling. Use an Application Load Balancer to distribute the incoming requests.
B
Use two Amazon EC2 instances to host the containerized web application. Use an Application Load Balancer to distribute the incoming requests.
C
Use AWS Lambda with a new code that uses one of the supported languages. Create multiple Lambda functions to support the load. Use Amazon API Gateway as an entry point to the Lambda functions.
D
Use a high performance computing (HPC) solution such as AWS ParallelCluster to establish an HPC cluster that can process the incoming requests at the appropriate scale.