ETExamTower
Q75Design Resilient Architectures

A company recently migrated its web application to the AWS Cloud. The company uses an Amazon EC2 instance to run multiple processes that host the application. The processes include an Apache web server that serves static content. The Apache web server sends requests to a PHP application that uses a local Redis server for user sessions. The company wants to redesign the architecture to be highly available and to use AWS managed solutions. Which solution will meet these requirements?

← → navigate · a answer
Community votes
D
100% (4)
A
0% (0)
B
0% (0)
C
0% (0)
Discussion · 4
D 5
Key requirements: HA and Managed Services Key components: PHP, Static content, Redis Elasticache AB are instantly useless for static content scaling C could work but is less managed and "configure the backend code to reference EC2 instance" makes no sense D ECS+Linux+PHP is good managed combination when used with Fargate. S3 for static is well-architected. Multi-AZ ECache for Redis is HA also. Good managed solution for all purposes.
D 4
This solution meets the requirements because it uses AWS managed solutions for hosting the static content and the PHP application. It also uses Amazon ECS to run the PHP application in a highly available and scalable manner. The solution also uses Amazon ElastiCache for Redis to handle session information, which is highly available and scalable. The solution also uses Amazon CloudFront to provide a secure and reliable way to deliver the static content to users.
4
D. ECS + Fargate Company wants to redesign the architecture = from Server to serverless, and managed by AWS .
D 3
Configure an Amazon CloudFront distribution with an Amazon S3 endpoint to an S3 bucket that is configured to host the static content. Configure an Application Load Balancer that targets an Amazon Elastic Container Service (Amazon ECS) service that runs AWS Fargate tasks for the PHP application. Configure the PHP application to use an Amazon ElastiCache for Redis cluster that runs in multiple Availability Zones.