Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 295 discussion

An application is deployed on Amazon EC2 instances that run in an Auto Scaling group. The Auto Scaling group configuration uses only one type of instance.

CPU and memory utilization metrics show that the instances are underutilized. A solutions architect needs to implement a solution to permanently reduce the EC2 cost and increase the utilization.

Which solution will meet these requirements with the LEAST number of configuration changes in the future?

  • A. List instance types that have properties that are similar to the properties that the current instances have. Modify the Auto Scaling group's launch template configuration to use multiple instance types from the list.
  • B. Use the information about the application's CPU and memory utilization to select an instance type that matches the requirements. Modify the Auto Scaling group's configuration by adding the new instance type. Remove the current instance type from the configuration.
  • C. Use the information about the application's CPU and memory utilization to specify CPU and memory requirements in a new revision of the Auto Scaling group's launch template. Remove the current instance type from the configuration.
  • D. Create a script that selects the appropriate instance types from the AWS Price List Bulk API. Use the selected instance types to create a new revision of the Auto Scaling group's launch template.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SmileyCloud
Highly Voted 10 months, 3 weeks ago
Selected Answer: C
It's C. You change the instance type/size in the launch template not the ASG. ASG can change the min/max size, not instance type.
upvoted 12 times
titi_r
1 month ago
I’ve tested it myself in the AWS Console – correct answer is “B”. To change the instance type you have 3 options, and all of them require modifying the ASG’s config: 1. Create a new revision of the current launch template, then change the ASG config to use it. 2. Create a new launch template, then change the ASG config to use it. 3. Use the option “Override launch template” in the ASG config. If you only create a new revision of the launch template, the ASG will continue to use the old revision. The state that you cannot change the instance type from the ASG config is NOT true and anybody can verify it in the AWS Console.
upvoted 3 times
...
...
aviathor
Highly Voted 8 months, 3 weeks ago
Selected Answer: B
In the launch template, you can only select one instance type. You can however override the Launch Template in the ASG configuration and specify multiple instance types.
upvoted 6 times
...
seetpt
Most Recent 2 weeks ago
Selected Answer: C
C for me
upvoted 1 times
...
titi_r
1 month ago
Selected Answer: B
I’ve tested it myself in the AWS Console – correct answer is “B”. To change the instance type you have 3 options, and all of them require modifying the ASG’s config: 1. Create a new revision of the current launch template, then change the ASG config to use it. 2. Create a new launch template, then change the ASG config to use it. 3. Use the option “Override launch template” in the ASG config. If you only create a new revision of the launch template, the ASG will continue to use the old revision. The state that you cannot change the instance type from the ASG config is NOT true and anybody can verify it in the AWS Console.
upvoted 3 times
...
career360guru
2 months ago
Selected Answer: C
Option C
upvoted 2 times
...
adelynllllllllll
2 months, 3 weeks ago
C: Auto scaling group is built on top of launch template, you can reference AMI in template, but not in auto scaling group
upvoted 1 times
...
igor12ghsj577
3 months, 1 week ago
AWS does not allow to edit launch configuration. If you notice, we define instance type at time of launch configuration. So if you want to change instance type in Auto Scaling group than you need to create new launch configuration for that.
upvoted 2 times
...
LazyAutonomy
3 months, 2 weeks ago
Selected Answer: B
The answer used to be C, but now it's B. But not for the reasons others here have mentioned. The question states that "The Auto Scaling group configuration uses only one type of instance". This implies the ASG config has implemented instance overrides, which - you guessed it - overrides the instance type that's specified in the launch template. You could cut new versions of launch templates until you're blue in the face, it wont make a lick of difference if the ASG config is overriding the instance type. And because ASGs can be modified, I reckon that puts a nail in C's coffin, making B the new correct answer. I think this is the first question (out of 400+) where the moderator-selected solution was correct and the community-voted solution was incorrect.
upvoted 5 times
...
tmlong18
4 months ago
Selected Answer: B
C is wrong. Let's assume a scenario where the optimal hardware requirement for a program under load is 4GB of RAM for every 1 CPU. However, you have specified only one type of instance with 1CPU and 1GB RAM. Even if you choose Option C and apply load balancing, having 4 instances of 1CPU and 1GB RAM (totaling 4CPU and 4GB RAM) will still result in an issue of low CPU utilization.
upvoted 1 times
...
ayadmawla
5 months ago
Selected Answer: C
Key to the Answer is "Modify". Launch templates are immutable; after you create a launch template, you can't modify it. Instead, you can create a new version of the launch template that includes any changes you require. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-launch-template-versions.html
upvoted 4 times
...
duriselvan
5 months, 1 week ago
b IS ANS Minimal configuration changes: This solution only requires modifying the Auto Scaling group configuration to add the new, more efficient instance type and remove the old, underutilized type. This minimizes future maintenance and reduces the risk of introducing errors. Scalability and flexibility: The Auto Scaling group will automatically scale up and down based on demand, even with the new instance type. This ensures high availability and cost-effectiveness. Future-proof: This approach doesn't rely on specific instance types or the AWS Price List Bulk API, making it more adaptable to future changes and updates in the AWS ecosystem.
upvoted 1 times
...
severlight
6 months ago
Selected Answer: C
we cannot change/modify launch config or launch template
upvoted 3 times
...
cmoreira
8 months, 2 weeks ago
Selected Answer: C
It could be B or C, but "LEAST number of configuration changes in the future" makes it C.
upvoted 3 times
...
softarts
9 months ago
Selected Answer: C
attribute-based instance types
upvoted 2 times
...
ggrodskiy
10 months ago
Correct C.
upvoted 1 times
...
NikkyDicky
10 months, 2 weeks ago
Selected Answer: B
its a B
upvoted 2 times
NikkyDicky
10 months, 2 weeks ago
ah, damn, clicked the wrong one. It's a C! not B
upvoted 2 times
...
...
pupsik
10 months, 3 weeks ago
Selected Answer: C
" with the LEAST number of configuration changes in the future?" means we need to use attribute-based instance types. Otherwise as new instance types get created, and older ones get retired, we need to re-configure launch config again.
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...