
Answer-first summary for fast verification
Answer: Configure the ECS services to use the blue/green deployment type with an Application Load Balancer. Implement Service Auto Scaling for each ECS service.
The correct answer is D. This option suggests configuring ECS services to use the blue/green deployment type with an Application Load Balancer and implementing Service Auto Scaling for each ECS service, which is appropriate given the application's use of the HTTPS protocol. Network Load Balancers, indicated in Options A and B, do support HTTPS, but they do not provide the necessary application layer (Layer 7) routing functionalities that are more suitable for managing HTTPS traffic. Moreover, the Cluster Autoscaler mentioned in Options B and C is not applicable for AWS Fargate, as Fargate does not use EC2 instances for which the Cluster Autoscaler would be necessary. Thus, Option D is the optimal solution for meeting all the specified requirements, including proper traffic distribution and automatic scaling based on CloudWatch alarms.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company is developing an on-demand video application based on microservices, which is expected to have 5 million users initially and 30 million users within six months. The application is deployed on Amazon Elastic Container Service (Amazon ECS) using AWS Fargate. The application's ECS services utilize the HTTPS protocol. A solutions architect is tasked with implementing blue/green deployments for updates, ensuring traffic is distributed to each ECS service via a load balancer. Additionally, the application must dynamically adjust the number of tasks in response to Amazon CloudWatch alarms. Which solution meets these requirements?
A
Configure the ECS services to use the blue/green deployment type with a Network Load Balancer. Request an increase in the service quota for tasks per service to accommodate the demand.
B
Configure the ECS services to use the blue/green deployment type with a Network Load Balancer. Implement an Auto Scaling group for each ECS service using the Cluster Autoscaler.
C
Configure the ECS services to use the blue/green deployment type with an Application Load Balancer. Implement an Auto Scaling group for each ECS service using the Cluster Autoscaler.
D
Configure the ECS services to use the blue/green deployment type with an Application Load Balancer. Implement Service Auto Scaling for each ECS service.