AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A company runs a single Amazon EC2 instance that periodically spikes to 90% CPUUtilization for more than 5 minutes, causing slow response times. The operations team wants an automated, auditable remediation that upgrades the instance to the next larger size whenever this threshold is reached, without writing or maintaining custom code. Which solution will meet these requirements?
Subscribe the CloudWatch alarm to an SNS topic that triggers a Lambda function. Have the function call the ModifyInstanceAttribute API to change the instance type.
Enable EC2 Auto Recovery on the instance so that hardware replacement automatically launches a larger instance when CPU thresholds are exceeded.
Define an Auto Scaling scheduled action that replaces the instance with a larger type during the expected peak periods.
Create a CloudWatch alarm for CPUUtilization > 85% for 5 minutes. Add an EventBridge rule for the alarm's ALARM state that invokes a Systems Manager Automation runbook which stops the instance, changes it to the next larger type, and starts it.
Creating a CloudWatch alarm provides the performance signal. Routing the alarm state-change event through EventBridge lets other AWS services react to that condition. An EventBridge rule can directly invoke a Systems Manager Automation runbook. The runbook can stop the instance, modify its instance type to the next larger family size, and restart it, while Systems Manager records every step for auditing. Scheduled actions do not react to real-time metrics, Auto Recovery only recovers the same instance type, and implementing the logic in Lambda requires additional custom code that the team wants to avoid.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a CloudWatch alarm, and how does it help monitor instances?
Open an interactive chat with Bash
What is EventBridge, and how does it help automate operations in AWS?
Open an interactive chat with Bash
What does a Systems Manager Automation runbook do in this solution?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Monitoring, Logging, Analysis, Remediation, and Performance Optimization
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .