AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

A company runs a long-running scientific simulation on a single Amazon EC2 instance. The CloudWatch agent publishes a custom MemoryUtilization metric. If memory usage stays above 90 percent for 5 consecutive minutes, an existing Systems Manager Automation runbook must clear application caches on that same instance automatically, without manual intervention. Which approach meets these requirements with the least operational overhead?

  • Create a CloudWatch alarm for MemoryUtilization > 90 percent for 5 datapoints. Add an EventBridge rule that filters for the alarm's ALARM state and sets the existing Systems Manager Automation runbook as the target. Use an input transformer to pass the InstanceId from the event to the runbook.

  • Define a Systems Manager Maintenance Window that executes the cache-clearing runbook every 10 minutes, with a pre-task script that exits if memory usage is below 90 percent.

  • Create a CloudWatch alarm and an EventBridge rule that invokes an AWS Lambda function. The function reads the InstanceId from the event and calls StartAutomationExecution to run the cache-clearing runbook on that instance.

  • Place the instance in an Auto Scaling group with a step-scaling policy based on MemoryUtilization and use a lifecycle hook to run the cache-clearing runbook when the group scales out.

AWS Certified CloudOps Engineer Associate SOA-C03
Monitoring, Logging, Analysis, Remediation, and Performance Optimization
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