QuestionQ18

Resilient Cloud Solutions

A company used a lift-and-shift approach to migrate a workload to AWS. The company has an Auto Scaling group of Amazon EC2 instances. Each EC2 instance hosts a web application, a database, and a Redis cache.

Users are seeing substantial variation in the web application's response times. Requests to the web application are routed to one EC2 instance that is experiencing significant load. The company wants to separate the application components to improve availability and performance.

Which solution will satisfy these requirements?

  • A Create a Network Load Balancer and an Auto Scaling group for the web application. Migrate the database to an Amazon Aurora Serverless database. Create an Application Load Balancer and an Auto Scaling group for the Redis cache.
  • B Create an Application Load Balancer and an Auto Scaling group for the web application. Migrate the database to an Amazon Aurora database that has a Multi-AZ deployment. Create a Network Load Balancer and an Auto Scaling group in a single Availability Zone for the Redis cache.
  • C Create a Network Load Balancer and an Auto Scaling group for the web application. Migrate the database to an Amazon Aurora Serverless database. Create an Amazon ElastiCache (Redis OSS) cluster for the cache. Create a target group that has a DNS target type that contains the ElastiCache (Redis OSS) cluster hostname.
  • D Create an Application Load Balancer and an Auto Scaling group for the web application. Migrate the database to an Amazon Aurora database that has a Multi-AZ deployment. Create an Amazon ElastiCache (Redis OSS) cluster for the cache.
Explanation

An Application Load Balancer distributes HTTP(S) requests across independently scaled web application instances. An Aurora Multi-AZ configuration provides database resiliency, while an Amazon ElastiCache for Redis OSS cluster separates caching into a managed cache tier that can be configured for high availability. This removes the web, database, and cache components from the same EC2 instances and prevents a single overloaded web instance from serving all application traffic.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!