
Answer-first summary for fast verification
Answer: Analyze the application's CPU and memory utilization to choose an instance type that meets the requirements, then reconfigure the Auto Scaling group by introducing the new instance type and removing the current one.
The correct answer is B. This option directly addresses the utilization metrics by selecting an instance type that better matches the application's actual CPU and memory requirements. By modifying the Auto Scaling group's configuration to use this new instance type and removing the current one, it ensures that resources are utilized more effectively and reduces costs. Option A would involve multiple instance types but does not directly address the utilization metrics. Option C would require specifying CPU and memory explicitly, which may not be as straightforward. Option D adds unnecessary complexity by requiring a script to interact with the AWS Price List Bulk API. Therefore, Option B offers a balanced and effective solution with minimal configuration changes in the future.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
An application is deployed on Amazon EC2 instances within an Auto Scaling group, utilizing a single instance type. CPU and memory utilization metrics indicate underutilization. A solutions architect must devise a strategy to reduce EC2 costs and enhance utilization permanently. Which solution requires the fewest future configuration changes to achieve these goals?
A
Identify instance types with similar characteristics to the current instances and update the Auto Scaling group's launch template to include multiple instance types from the list.
B
Analyze the application's CPU and memory utilization to choose an instance type that meets the requirements, then reconfigure the Auto Scaling group by introducing the new instance type and removing the current one.
C
Specify CPU and memory requirements based on the application's utilization data in a new revision of the Auto Scaling group's launch template, and remove the current instance type from the configuration.
D
Develop a script to select suitable instance types from the AWS Price List Bulk API and use these selections to create a new revision of the Auto Scaling group's launch template.