SAP-C02 学习助手

SAP-C02 第 268 题

EC2 EBS CloudWatch Config Auto Scaling

题目

A company has a website that runs on four Amazon EC2 instances that are behind an Application Load Balancer (ALB). When the ALB detects that an EC2 instance is no longer available, an Amazon CloudWatch alarm enters the ALARM state. A member of the company's operations team then manually adds a new EC2 instance behind the ALB. A solutions architect needs to design a highly available solution that automatically handles the replacement of EC2 instances. The company needs to minimize downtime during the switch to the new solution. Which set of steps should the solutions architect take to meet these requirements?

中文翻译:
一家公司的网站在应用程序负载均衡器 (ALB) 后面的四个 Amazon EC2 实例上运行。当 ALB 检测到 EC2 实例不再可用时,Amazon CloudWatch 警报将进入 ALARM 状态。然后,公司运营团队的一名成员在 ALB 后面手动添加一个新的 EC2 实例。解决方案架构师需要设计一个高度可用的解决方案,自动处理 EC2 实例的更换。该公司需要最大限度地减少改用新解决方案期间的停机时间。解决方案架构师应采取哪组步骤来满足这些要求?

选项

A. Delete the existing ALB. Create an Auto Scaling group that is configured to handle the web application traffic. Attach a new launch template to the Auto Scaling group. Create a new ALB. Attach the Auto Scaling group to the new ALB. Attach the existing EC2 instances to the Auto Scaling group.

中文翻译:
删除现有的 ALB。创建一个配置为处理 Web 应用程序流量的 Auto Scaling 组。将新的启动模板附加到 Auto Scaling 组。创建一个新的 ALB。将 Auto Scaling 组附加到新的 ALB。将现有 EC2 实例附加到 Auto Scaling 组。

B. Create an Auto Scaling group that is configured to handle the web application traffic. Attach a new launch template to the Auto Scaling group. Attach the Auto Scaling group to the existing ALAttach the existing EC2 instances to the Auto Scaling group.

中文翻译:
创建一个配置为处理 Web 应用程序流量的 Auto Scaling 组。将新的启动模板附加到 Auto Scaling 组。将 Auto Scaling 组附加到现有 ALA 将现有 EC2 实例附加到 Auto Scaling 组。

C. Delete the existing ALB and the EC2 instances. Create an Auto Scaling group that is configured to handle the web application traffic. Attach a new launch template to the Auto Scaling group. Create a new ALB. Attach the Auto Scaling group to the new ALB. Wait for the Auto Scaling group to launch the minimum number of EC2 instances.

中文翻译:
删除现有的 ALB 和 EC2 实例。创建一个配置为处理 Web 应用程序流量的 Auto Scaling 组。将新的启动模板附加到 Auto Scaling 组。创建一个新的 ALB。将 Auto Scaling 组附加到新的 ALB。等待 Auto Scaling 组启动最小数量的 EC2 实例。

D. Create an Auto Scaling group that is configured to handle the web application traffic. Attach a new launch template to the Auto Scaling group. Attach the Auto Scaling group to the existing ALB. Wait for the existing ALB to register the existing EC2 instances with the Auto Scaling group.

中文翻译:
创建一个配置为处理 Web 应用程序流量的 Auto Scaling 组。将新的启动模板附加到 Auto Scaling 组。将 Auto Scaling 组附加到现有 ALB。等待现有 ALB 将现有 EC2 实例注册到 Auto Scaling 组。

答案

B

解析

正确答案:B 解析: 本题应选择 B。 正确选项: B. 创建一个配置为处理 Web 应用程序流量的 Auto Scaling 组。将新的启动模板附加到 Auto Scaling 组。将 Auto Scaling 组附加到现有 ALA 将现有 EC2 实例附加到 Auto Scaling 组。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定词,例如最高性能、最低运维开销、成本效益、可...

登录后查看完整解析