DOP-C02 · Question #343
A company used a lift and shift strategy to migrate a workload to AWS. The company has an Auto Scaling group of Amazon EC2 instances. Each EC2 instance runs a web application, a database, and a…
The correct answer is D. Create an Application Load Balancer and an Auto Scaling group for the web application. Migrate. Application Load Balancer is designed to handle HTTP/HTTPS traffic, making it suitable for routing requests to the web application. By creating an Auto Scaling group, you can distribute the load across multiple instances, improving the performance and availability of the web…
Question
A company used a lift and shift strategy to migrate a workload to AWS. The company has an Auto Scaling group of Amazon EC2 instances. Each EC2 instance runs a web application, a database, and a Redis cache. Users are experiencing large variations in the web application's response times. Requests to the web application go to a single EC2 instance that is under significant load. The company wants to separate the application components to improve availability and performance. Which solution will meet these requirements?
Options
- ACreate a Network Load Balancer and an Auto Scaling group for the web application. Migrate the
- BCreate an Application Load Balancer and an Auto Scaling group for the web application. Migrate
- CCreate a Network Load Balancer and an Auto Scaling group for the web application. Migrate the
- DCreate an Application Load Balancer and an Auto Scaling group for the web application. Migrate
How the community answered
(63 responses)- A3% (2)
- B6% (4)
- C10% (6)
- D81% (51)
Explanation
Application Load Balancer is designed to handle HTTP/HTTPS traffic, making it suitable for routing requests to the web application. By creating an Auto Scaling group, you can distribute the load across multiple instances, improving the performance and availability of the web application, and preventing any single instance from being overwhelmed. Amazon Aurora provides high availability and performance improvements over a traditional database hosted on an EC2 instance. The Multi-AZ deployment ensures that the database remains available even if one Availability Zone experiences an outage, which enhances availability and fault tolerance. Amazon ElastiCache is a fully managed Redis service that provides high availability and performance improvements for caching. This separates the Redis cache from the EC2 instance, improving overall application performance by offloading cache management to a managed service, which is optimized for this use case. By using an Application Load Balancer, Multi-AZ Aurora, and Amazon ElastiCache, the solution improves the separation of the web application, database, and cache components, enhancing both performance and availability while leveraging AWS managed services.
Topics
Community Discussion
No community discussion yet for this question.