AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A company runs hundreds of development EC2 instances tagged Environment=Dev. To reduce costs, the operations team must automatically stop these instances every weeknight at 7:00 p.m. and start them again at 7:00 a.m. the next business day. The solution must require no changes to the instances, rely only on AWS-managed services, and target resources by the Environment tag. Which approach meets these requirements MOST effectively?
Configure a CloudWatch alarm that triggers when instance CPU utilization is below 10% after 7:00 p.m.; have the alarm invoke a Lambda function that stops or starts instances based on the time of day.
Add a scheduled action to each Auto Scaling group that scales the group to zero at 7:00 p.m. and back to its original size at 7:00 a.m., using the Environment=Dev tag to select the instances.
Create an Amazon EventBridge rule with cron expressions for stop and start times that invokes Systems Manager Automation runbooks AWS-StopEC2Instance and AWS-StartEC2Instance, targeting instances with the Environment=Dev tag.
Enable AWS Compute Optimizer, filter recommendations by the Environment=Dev tag, and apply the generated rightsizing actions to stop and start the instances on the desired schedule.
AWS Systems Manager Automation provides the AWS-maintained runbooks AWS-StopEC2Instance and AWS-StartEC2Instance. Automation can target resources directly by tag, so only instances that have the Environment=Dev tag are affected. An Amazon EventBridge rule can invoke each runbook on a cron schedule, giving a fully managed, tag-driven start/stop schedule with no code to maintain. Auto Scaling scheduled actions cannot stop individual instances, CloudWatch plus Lambda would require custom code and additional alarms, and AWS Compute Optimizer offers rightsizing recommendations only and does not schedule instance state changes.
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 Amazon EventBridge, and how does it use cron expressions?
Open an interactive chat with Bash
What is AWS Systems Manager Automation, and what are runbooks?
Open an interactive chat with Bash
How can tags like Environment=Dev be used to manage EC2 instances?
Open an interactive chat with Bash
What is Amazon EventBridge and what does it do?
Open an interactive chat with Bash
What are AWS Systems Manager Automation runbooks?
Open an interactive chat with Bash
How does using EC2 instance tags simplify operational tasks?
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 .