首页 > 解决方案 > 启动配置问题(AWS Certified Solutions Architect – Associate Certification)

问题描述

你可以看到别人给出的问题和答案。我的问题是为什么不是 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 组。当您使用此功能时。Auto Scaling 也会自动为您创建启动配置。参考: http ://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/create-lc-with-instancelD.html

标签: amazon-web-servicesamazon-ec2

解决方案


这是一个非常糟糕的问题。我建议您将时间花在其他地方,而不是尝试诊断这个问题。

我怀疑这个问题也很老了,因为 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 组可以使用它(但这不是他们要求的)

底线:让作者知道该问题已过时/不正确。


推荐阅读