AWS Certified Solutions Architect – Professional (SAP-C02) — Question 163

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because creating a new launch template version with attribute-based instance type selection allows for more flexible instance selection, improving the chances of successful launches. Option A is incorrect as launch configurations do not support attribute-based instance type selection. Option C does not address the underlying issue of instance type selection, and option D might not resolve launch failures linked to instance availability.