Exams / SOA-C03 / Automated remediation with Systems Manager / Question 1
SOA-C03 practice question: Automated remediation with Systems Manager (1 of 2)
Monitoring, Logging, Analysis, Remediation, and Performance Optimization A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A dental chain's appointment API runs on EC2 instances. About once a week the API process hangs, and a custom CloudWatch alarm on its health-check metric goes into ALARM. The fix is always to restart the service with a custom Systems Manager Automation runbook the team already wrote. Rebooting the instance is not acceptable, because the cache takes 10 minutes to warm. The team wants the fix to run automatically within a minute of the alarm. What should a CloudOps engineer do?
Choose one answer.
- AA. Add an EC2 reboot action to the alarm so that the instance restarts automatically whenever the health-check alarm enters ALARM.
- BB. Create a State Manager association that runs the runbook on all instances every 30 minutes, whether or not the alarm has fired.
- CC. Create an EventBridge rule that matches the alarm's state change to ALARM and starts the Automation runbook through an IAM role allowed to start it.
- DD. Write a Lambda function that runs every minute, checks the alarm state with the CloudWatch API, and calls Run Command to restart the service.
Show the answer and explanation
Answer: C
Explanation
Automatic remediation in AWS usually chains an alarm to an action through EventBridge. The alarm's state change event matches a rule, and the rule starts a Systems Manager Automation runbook that performs the precise fix. EC2 alarm actions are coarser, scheduled associations are slower, and polling code adds overhead.
Study
Keep practicing
Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.