SAP-C02 学习助手

SAP-C02 第 192 题

Route 53 EC2 Config Auto Scaling

题目

A company is running an application in the AWS Cloud. The core business logic is running on a set of Amazon EC2 instances in an Auto Scaling group. An Application Load Balancer (ALB) distributes traffic to the EC2 instances. Amazon Route 53 record api.example.com is pointing to the ALB. The company's development team makes major updates to the business logic. The company has a rule that when changes are deployed, only 10% of customers can receive the new logic during a testing window. A customer must use the same version of the business logic during the testing window. How should the company deploy the updates to meet these requirements?

中文翻译:
一家公司正在 AWS 云中运行应用程序。核心业务逻辑在 Auto Scaling 组中的一组 Amazon EC2 实例上运行。应用程序负载均衡器 (ALB) 将流量分配到 EC2 实例。 Amazon Route 53 记录 api.example.com 指向 ALB。公司开发团队对业务逻辑进行了重大更新。该公司有一条规则,即部署更改后,只有 10% 的客户可以在测试窗口期间收到新逻辑。客户在测试窗口期间必须使用相同版本的业务逻辑。公司应如何部署更新来满足这些要求?

选项

A. Create a second ALB, and deploy the new logic to a set of EC2 instances in a new Auto Scaling group. Configure the ALB to distribute traffic to the EC2 instances. Update the Route 53 record to use weighted routing, and point the record to both of the ALBs.

中文翻译:
创建第二个 ALB,并将新逻辑部署到新 Auto Scaling 组中的一组 EC2 实例。配置 ALB 以将流量分配到 EC2 实例。更新 Route 53 记录以使用加权路由,并将记录指向两个 ALB。

B. Create a second target group that is referenced by the ALDeploy the new logic to EC2 instances in this new target group. Update the ALB listener rule to use weighted target groups. Configure ALB target group stickiness.

中文翻译:
创建 AL 引用的第二个目标组,将新逻辑部署到此新目标组中的 EC2 实例。更新 ALB 侦听器规则以使用加权目标组。配置 ALB 目标组粘性。

C. Create a new launch configuration for the Auto Scaling group. Specify the launch configuration to use the AutoScalingRollingUpdate policy, and set the MaxBatchSize option to 10. Replace the launch configuration on the Auto Scaling group. Deploy the changes.

中文翻译:
为 Auto Scaling 组创建新的启动配置。指定启动配置以使用 AutoScalingRollingUpdate 策略,并将 MaxBatchSize 选项设置为 10。替换 Auto Scaling 组上的启动配置。部署更改。

D. Create a second Auto Scaling group that is referenced by the ALB. Deploy the new logic on a set of EC2 instances in this new Auto Scaling group. Change the ALB routing algorithm to least outstanding requests (LOR). Configure ALB session stickiness.

中文翻译:
创建 ALB 引用的第二个 Auto Scaling 组。在此新 Auto Scaling 组中的一组 EC2 实例上部署新逻辑。将 ALB 路由算法更改为最少未完成请求 (LOR)。配置 ALB 会话粘性。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建 AL 引用的第二个目标组,将新逻辑部署到此新目标组中的 EC2 实例。更新 ALB 侦听器规则以使用加权目标组。配置 ALB 目标组粘性。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可靠性、可扩展性、安全性、RTO/RPO、合规要求等。本题相关考点主要包括:Route 53、...

登录后查看完整解析