Monitoring, Logging, Analysis, Remediation, and Performance Optimization1 / 5
A company runs a production application on EC2 instances. The SysOps administrator needs to automatically remediate a common issue where instances become unresponsive due to a known application bug. When CloudWatch detects high CPU utilization above 95% for more than 10 minutes, the system should automatically restart the application service on the affected instance. Which solution requires the LEAST operational overhead?
CorrectIncorrect
Alex
All four options would eventually restart something, so the question is which one asks you to build and maintain the least. The CloudWatch alarm already knows how to change state on a threshold, EventBridge already knows how to route that state change, and Systems Manager Automation already knows how to run a documented sequence of steps on a managed instance, since you start an automation by naming a runbook as the target of an EventBridge event. Nothing custom is written, nothing new is installed, and the runbook restarts just the application service rather than the whole host.
The alternatives each add work or overreach. A scheduled rule polling every minute is a cron job you now own, re-implementing what the alarm already does and billing for an invocation every minute whether anything is wrong or not. A function that opens a shell session to the instance means managing keys, network paths and error handling for a mechanism the agent already provides. And the built-in alarm action that reboots the instance is the bluntest of all, taking the whole machine down when only one service needed restarting.
Exam tip: least operational overhead almost always means composing managed services. Prefer the answer that wires existing services together over one that introduces code, credentials, or a polling loop you have to maintain.
Sourcedocs.aws.amazon.com
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account