SOA-C03 · Question #126
A developer uses an Amazon Linux Amazon Machine Image (AMI) to launch an EC2 instance that hosts a third-party application. The application occasionally becomes unstable. The CloudOps engineer needs…
The correct answer is B. Create an Amazon CloudWatch alarm that evaluates the CPU utilization of the instance. A CloudWatch alarm can directly trigger two actions when the threshold is breached: - EC2 action to reboot the instance. - SNS notification to alert the developer. This requires no Lambda or Systems Manager runbooks and is therefore the simplest and least administrative option…
Question
A developer uses an Amazon Linux Amazon Machine Image (AMI) to launch an EC2 instance that hosts a third-party application. The application occasionally becomes unstable. The CloudOps engineer needs a solution to automatically reboot the EC2 instance whenever utilization is above 90% for 15 minutes and to notify the developer about the reboot. Which solution will meet these requirements with the LEAST administrative effort?
Options
- AConfigure an Amazon CloudWatch alarm that evaluates the CPU utilization of the instance.
- BCreate an Amazon CloudWatch alarm that evaluates the CPU utilization of the instance.
- CCreate an Amazon CloudWatch alarm that evaluates the CPU utilization of the instance Configure
- DCreate an AWS Systems Manager runbook script to publish a message to an Amazon Simple
How the community answered
(50 responses)- A12% (6)
- B80% (40)
- C2% (1)
- D6% (3)
Explanation
A CloudWatch alarm can directly trigger two actions when the threshold is breached: - EC2 action to reboot the instance. - SNS notification to alert the developer. This requires no Lambda or Systems Manager runbooks and is therefore the simplest and least administrative option that fully meets the requirements (CPU > 90% for 15 minutes, automatic reboot, and notification).
Topics
Community Discussion
No community discussion yet for this question.