SAP-C02 学习助手

SAP-C02 第 223 题

CloudWatch Config ECS Fargate Auto Scaling

题目

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?

中文翻译:
一家公司正在开发一种基于微服务的新点播视频应用程序。该应用程序在发布时将拥有 500 万用户,6 个月后将拥有 3000 万用户。该公司已将该应用程序部署在 AWS Fargate 上的 Amazon Elastic Container Service (Amazon ECS) 上。该公司通过使用 HTTPS 协议的 ECS 服务开发了该应用程序。解决方案架构师需要使用蓝/绿部署来实施应用程序更新。该解决方案必须通过负载均衡器将流量分配到每个 ECS 服务。应用程序必须自动调整任务数量以响应 Amazon CloudWatch 警报。哪种解决方案可以满足这些要求?

选项

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.

中文翻译:
配置 ECS 服务以使用蓝/绿部署类型和网络负载均衡器。请求增加每个服务任务的服务配额以满足需求。

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.

中文翻译:
配置 ECS 服务以使用蓝/绿部署类型和网络负载均衡器。使用 Cluster Autoscaler 为每个 ECS 服务实现 Auto Scaling 组。

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.

中文翻译:
配置 ECS 服务以使用蓝/绿部署类型和应用程序负载均衡器。使用 Cluster Autoscaler 为每个 ECS 服务实现 Auto Scaling 组。

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.

中文翻译:
配置 ECS 服务以使用蓝/绿部署类型和应用程序负载均衡器。为每个ECS服务实现服务自动伸缩。

答案

D

解析

正确答案:D 解析: 本题应选择 D。 正确选项: D. 配置 ECS 服务以使用蓝/绿部署类型和应用程序负载均衡器。为每个ECS服务实现服务自动伸缩。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:CloudWatch、Config、ECS、Fargate、Auto...

登录后查看完整解析