🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 10 hours remaining!

AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

A CloudOps engineer monitors production Amazon EC2 instances with a CloudWatch alarm named DiskSpaceLow. The alarm changes to ALARM when the disk_used_percent metric on any instance exceeds 85 percent. A remediation shell script has already been packaged as an AWS Systems Manager Automation runbook. The engineer must ensure that the script executes automatically on the affected instance whenever the alarm enters ALARM, while keeping operational effort to a minimum and without adding new software to the instances. Which approach meets these requirements?

  • Install a cron job on every instance that polls the disk_used_percent metric with the CloudWatch GetMetricData API and executes the script locally when the threshold is breached.

  • Create an Amazon EventBridge rule that filters for the DiskSpaceLow alarm changing to ALARM and sets the Systems Manager Automation runbook as the target, passing the instance ID as a runbook parameter.

  • Configure a Lambda function subscribed to the alarm's SNS notification; have the function call the Systems Manager SendCommand API to run the script on the instance.

  • Add the instances to an AWS OpsWorks stack and configure a deploy lifecycle event to run the script; trigger an OpsWorks deployment each time the alarm enters ALARM.

AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot