An errant process is known to use an entire processor and run at 100%. A CloudOps engineer wants to automate restarting an Amazon EC2 instance when the problem occurs for more than 2 minutes. How can this be accomplished?
Select an option, then click Submit answer.
- ○ Create an Amazon CloudWatch alarm for the EC2 instance with basic monitoring. Add an action to restart the instance.
- ○ Create an Amazon CloudWatch alarm for the EC2 instance with detailed monitoring. Add an action to restart the instance.
- ○ Create an AWS Lambda function to restart the EC2 instance, invoked on a scheduled basis every 2 minutes.
- ○ Create an AWS Lambda function to restart the EC2 instance, invoked by EC2 health checks.