
Answer-first summary for fast verification
Answer: Create a new launch template version that uses attribute-based instance type selection. Configure the Auto Scaling group to use the new launch template version.
The answer is B because utilizing attribute-based instance type selection enhances the flexibility and reliability of the Auto Scaling group. This approach enables the Auto Scaling group to select instances based on particular attributes, such as instance family, generation, or size, rather than being constrained to a single instance type. This way, it can pull from a larger pool of Spot Instances, which reduces the chance of insufficient capacity during scaling events or instance launches. By creating a new launch template version that employs these attribute-based criteria, the Auto Scaling group can more readily find available instance types within the specified attributes. This reduces the likelihood of instance launch failures and improves the overall availability and reliability of the workload. It mitigates issues related to Spot Instance interruptions by enabling the use of diverse instance types that can fulfill the required capacity more reliably.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
A company is running a compute workload by using Amazon EC2 Spot Instances that are in an Auto Scaling group. The launch template uses two placement groups and a single instance type. Recently, a monitoring system reported Auto Scaling instance launch failures that correlated with longer wait times for system users. The company needs to improve the overall reliability of the workload. Which solution will meet this requirement?
A
Replace the launch template with a launch configuration to use an Auto Scaling group that uses attribute-based instance type selection.
B
Create a new launch template version that uses attribute-based instance type selection. Configure the Auto Scaling group to use the new launch template version.
C
Update the launch template Auto Scaling group to increase the number of placement groups.
D
Update the launch template to use a larger instance type.
No comments yet.