Topic 1 Question 477
A company hosts an application on Amazon EC2 instances. The instances are in an Amazon EC2 Auto Scaling group that uses a launch template. The amount of application traffic changes throughout the day. Scaling events happen frequently.
A SysOps administrator needs to help developers troubleshoot the application. When a scaling event removes an instance, EC2 Auto Scaling terminates the instance before the developers can log in to the instance to diagnose issues.
Which solution will prevent termination of the instance so that the developers can log in to the instance?
Ensure that the Delete on termination setting is turned off in the UserData section of the launch template.
Update the Auto Scaling group by enabling instance scale-in protection for newly launched instances.
Use Amazon Inspector to configure a rules package to protect the instances from termination.
Use Amazon GuardDuty to configure rules to protect the instances from termination.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
Instance scale-in protection is a feature that can be used to prevent specific EC2 instances in an Auto Scaling group from being terminated during scale-in events. By enabling this for the instances, developers can have the time they need to log in and diagnose any issues. This protection can be enabled manually on individual instances, or it can be configured so that it is automatically applied to new instances when they are launched. The "Delete on termination" setting in the launch template primarily applies to the Amazon Elastic Block Store (EBS) volumes associated with the instance. Turning this setting off would only mean that the EBS volumes are not deleted when the instance is terminated.
👍 2numark2024/12/07 - 正解だと思う選択肢: B
Either A or B but B makes complete sense here..
👍 1Aamee2024/10/29 - 正解だと思う選択肢: A
The Delete on termination setting controls whether the instance's root volume is deleted when the instance is terminated. It does not prevent the instance itself from being terminated.
👍 1igor12ghsj5772024/11/21
シャッフルモード