ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 362 - SOA-C02 discussion

Report
Export

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?

A.
Ensure that the Delete on termination setting is turned off in the UserData section of the launch template
Answers
A.
Ensure that the Delete on termination setting is turned off in the UserData section of the launch template
B.
Update the Auto Scaling group by enabling instance scale-in protection for newly launched instances.
Answers
B.
Update the Auto Scaling group by enabling instance scale-in protection for newly launched instances.
C.
Use Amazon Inspector to configure a rules package to protect the instances from termination.
Answers
C.
Use Amazon Inspector to configure a rules package to protect the instances from termination.
D.
Use Amazon GuardDuty to configure rules to protect the instances from termination.
Answers
D.
Use Amazon GuardDuty to configure rules to protect the instances from termination.
Suggested answer: B

Explanation:

Enabling Instance Scale-In Protection:

Instance scale-in protection prevents Auto Scaling from terminating specific instances.

Steps:

Go to the AWS Management Console.

Navigate to EC2 and select 'Auto Scaling Groups.'

Select your Auto Scaling group.

Go to the 'Instance management' tab.

Select the instances you want to protect and click 'Actions.'

Choose 'Enable scale-in protection.'

This ensures that instances are not terminated during troubleshooting.

asked 16/09/2024
Ibrahim Ramku
51 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first