AWS Certified Solutions Architect – Professional (SAP-C02) — Question 256
A company is developing a new on-demand video application that is based on microservices. The application will have 5 million users at launch and will have 30 million users after 6 months. The company has deployed the application on Amazon Elastic Container Service (Amazon ECS) on AWS Fargate. The company developed the application by using ECS services that use the HTTPS protocol.
A solutions architect needs to implement updates to the application by using blue/green deployments. The solution must distribute traffic to each ECS service through a load balancer. The application must automatically adjust the number of tasks in response to an Amazon CloudWatch alarm.
Which solution will meet these requirements?
Answer options
- A. Configure the ECS services to use the blue/green deployment type and a Network Load Balancer. Request increases to the service quota for tasks per service to meet the demand.
- B. Configure the ECS services to use the blue/green deployment type and a Network Load Balancer. Implement Auto Scaling group for each ECS service by using the Cluster Autoscaler.
- C. Configure the ECS services to use the blue/green deployment type and an Application Load Balancer. Implement an Auto Scaling group for each ECS service by using the Cluster Autoscaler.
- D. Configure the ECS services to use the blue/green deployment type and an Application Load Balancer. Implement Service Auto Scaling for each ECS service.
Correct answer: D
Explanation
The correct answer is D because it specifies the use of an Application Load Balancer, which is suitable for HTTP/HTTPS traffic and can handle blue/green deployments effectively. Additionally, Service Auto Scaling allows for dynamic adjustment of the number of tasks based on CloudWatch alarms, fulfilling the requirement for automatic scaling. Options A and B suggest using a Network Load Balancer, which is not ideal for this scenario, while option C fails to implement Service Auto Scaling.