🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 1 hour remaining!

AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

A Linux-based EC2 instance in a private subnet runs a Java workload. The CloudWatch agent already publishes the custom metric mem_used_percent every 30 seconds. When this metric remains above 90% for 5 minutes, the application becomes unresponsive; restarting the Java service resolves the issue. The operations team must implement an automated remediation that requires no inbound network access to the instance, keeps operational overhead low, and records an auditable history of each remediation action. Which solution meets these requirements?

  • Install a cron job on the instance to monitor memory usage locally and restart the service when it exceeds 90%; forward the script's output to CloudWatch Logs for auditing.

  • Create a CloudWatch alarm for mem_used_percent > 90% for 5 minutes. Configure an EventBridge rule that targets a Systems Manager Automation runbook that uses AWS-RunShellScript to restart the Java service on the instance.

  • Publish the alarm to an SNS topic subscribed by a Lambda function that uses SSH through a bastion host to restart the Java process on the instance.

  • Place the instance in an Auto Scaling group with desired capacity 1 and attach a scaling policy that terminates and replaces the instance when the alarm threshold is breached.

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