D. Amazon CloudWatch alarm
To automatically add or remove EC2 instances based on CPU utilization, you can use Amazon CloudWatch alarms with Amazon EC2 Auto Scaling. You can create a CloudWatch alarm that monitors CPU utilization, and when the alarm threshold is breached, it triggers an Auto Scaling action to either add or remove EC2 instances, depending on your configuration.
Therefore, the correct answer is D. Amazon CloudWatch alarm.
Amazon CloudWatch is a monitoring service that provides data and actionable insights for AWS resources. You can set up CloudWatch alarms to monitor metrics, such as CPU utilization, and trigger Auto Scaling actions based on defined thresholds.
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.
Siyuansdsd
9 months, 1 week agoBShelat
9 months, 3 weeks agopetercorn
9 months, 4 weeks agoAghajee
10 months agoMike1987
10 months, 1 week agoMike1987
10 months, 1 week ago