SAP-C02 学习助手

SAP-C02 第 348 题

EC2 Config Auto Scaling

题目

A company has used infrastructure as code (IaC) to provision a set of two Amazon EC2 instances. The instances have remained the same for several years. The company's business has grown rapidly in the past few months. In response, the company’s operations team has implemented an Auto Scaling group to manage the sudden increases in traffic. Company policy requires a monthly installation of security updates on all operating systems that are running. The most recent security update required a reboot. As a result, the Auto Scaling group terminated the instances and replaced them with new, unpatched instances. Which combination of steps should a solutions architect recommend to avoid a recurrence of this issue? (Choose two.)

中文翻译:
一家公司使用基础设施即代码 (IaC) 来配置一组两个 Amazon EC2 实例。这些实例多年来一直保持不变。过去几个月,该公司的业务增长迅速。作为回应,该公司的运营团队实施了一个 Auto Scaling 组来管理突然增加的流量。公司政策要求每月在所有正在运行的操作系统上安装安全更新。最新的安全更新需要重新启动。因此,Auto Scaling 组终止了这些实例,并将其替换为新的、未修补的实例。解决方案架构师应该建议采取哪些步骤组合来避免再次出现此问题? (选择两个。)

选项

A. Modify the Auto Scaling group by setting the Update policy to target the oldest launch configuration for replacement.

中文翻译:
通过设置更新策略来修改 Auto Scaling 组,以将最旧的启动配置作为替换目标。

B. Create a new Auto Scaling group before the next patch maintenance. During the maintenance window, patch both groups and reboot the instances.

中文翻译:
在下次补丁维护之前创建新的 Auto Scaling 组。在维护时段期间,修补两个组并重新启动实例。

C. Create an Elastic Load Balancer in front of the Auto Scaling group. Configure monitoring to ensure that target group health checks return healthy after the Auto Scaling group replaces the terminated instances.

中文翻译:
在 Auto Scaling 组前面创建一个 Elastic Load Balancer。配置监控以确保目标组运行状况检查在 Auto Scaling 组替换已终止的实例后恢复正常。

D. Create automation scripts to patch an AMI, update the launch configuration, and invoke an Auto Scaling instance refresh.

中文翻译:
创建自动化脚本来修补 AMI、更新启动配置并调用 Auto Scaling 实例刷新。

E. Create an Elastic Load Balancer in front of the Auto Scaling group. Configure termination protection on the instances.

中文翻译:
在 Auto Scaling 组前面创建一个 Elastic Load Balancer。在实例上配置终止保护。

答案

CD

解析

正确答案:CD 解析: 本题应选择 CD。 正确选项: C. 在 Auto Scaling 组前面创建一个 Elastic Load Balancer。配置监控以确保目标组运行状况检查在 Auto Scaling 组替换已终止的实例后恢复正常。 D. 创建自动化脚本来修补 AMI、更新启动配置并调用 Auto Scaling 实例刷新。 选择理由: 该选项最直接地满足题干中的关键约束。做 SAP-C02 题目时,需要同时对照题干里的限定...

登录后查看完整解析