An errant process is known to use an entire processor and run at 100%. A SysOps Administrator wants to automate restarting the instance once the problem occurs for more than 2 minutes. How can this be accomplished?
A.
Create an Amazon CloudWatch alarm for the EC2 instance with basic monitoring. Enable an action to restart the instance.
B.
Create a CloudWatch alarm for the EC2 instance with detailed monitoring. Enable an action to restart the instance.
C.
Create an AWS Lambda function to restart the EC2 instance, triggered on a scheduled basis every 2 minutes.
D.
Create a Lambda function to restart the EC2 instance, triggered by EC2 health checks.
Ans B Since they mention 2 mins interval.
Using Amazon CloudWatch alarm actions, you can create alarms that automatically stop, terminate, reboot, or recover your instances. You can use the stop or terminate actions to help you save money when you no longer need an instance to be running. You can use the reboot and recover actions to automatically reboot those instances or recover them onto new hardware if a system impairment occur
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.
saumenP
Highly Voted 7 months agoTroyMcLure
Most Recent 5 months, 4 weeks agokopper2019
6 months, 1 week agosen12
6 months, 2 weeks agokarmaah
6 months, 3 weeks agosaumenP
7 months agokkwang
7 months, 1 week ago