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.)
Select 2 answers.
Marked answer: A
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose AD1
A is to make sure that if any instance launched by ASG during the instances refresh from old config it will also be updated. Option d is perfect and the only option to run the OS patches
Chose AD1
Yes I think A & D makes the most sense here
Chose AD1
How to implement: Access your Auto Scaling group: Navigate to your Auto Scaling group in the AWS console. Edit the update policy: Go to the "Update policy" section within your Auto Scaling group settings. Select "oldest" option: Choose the option that specifies to target the oldest launch configuration for replacement when scaling activities occur.