你可以看到别人给出的问题和答案。我的问题是为什么不是C,C似乎也是正确的。
Which of the following statements is true of creating a launch configuration using an EC2 instance?
A. The launch configuration can be created only using the Query APIs.
B. Auto Scaling automatically creates a launch configuration directly from an EC2 instance.
C. A user should manually create a launch configuration before creating an Auto Scaling group.
D. The launch configuration should be created manually from the AWS CLI.
答案:B
您可以直接从 EC2 实例创建弹性伸缩组。当您使用此功能时。Auto Scaling 也会自动为您创建启动配置。参考: http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/create-lc-with-instancelD.html
这是一个非常糟糕的问题。我建议把时间花在其他地方,而不是试图诊断这个问题。
我怀疑这个问题也很老了,因为 Auto Scaling 组现在也可以接受启动模板,而您提供的链接不起作用。(更新后的链接是:https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html(
使用"应该"的问题写得不好。考试题试图测试你对如何成功做某事的知识,而不是你"应该"如何做某事。例如,问题通常会要求成本最低的解决方案或具有最高可用性的解决方案,而不会对正确答案提出任何问题。
要回答您的问题:
- 可以在管理控制台中、通过 AWS CLI 或通过 AWS SDK API 调用创建启动配置(因此 C 和 D 有效,A 不正确(
- 无法从现有 Amazon EC2 实例创建启动配置(因此 B 不正确(
- 现在可以从现有的 Amazon EC2 实例创建启动模板,Auto Scaling 组可以使用该模板(但这不是他们要求的(
底线:让作者知道这个问题已经过时/不正确。