🔥 40% Off Crucial Exams Memberships — This Week Only

3 days, 9 hours remaining!

AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question

An operations team collects JVM heap usage as a custom CloudWatch metric from two Amazon EC2 instances that run a critical application. They must automatically restart the application service on the affected instance whenever average heap usage exceeds 80 % for 5 consecutive minutes. The solution must require the least operational overhead and allow administrators to view execution output in AWS. Which approach meets these requirements?

  • Attach a step scaling policy to the Auto Scaling group to launch an additional instance when the metric exceeds the threshold, relying on load balancer health checks to remove the busy instance.

  • Publish the alarm to an SNS topic that invokes a Lambda function. The function connects to the instance over SSH to restart the service and writes logs to CloudWatch Logs.

  • Create a CloudWatch alarm on the custom metric. Add an EventBridge rule that matches the alarm when it enters the ALARM state and targets a Systems Manager Automation runbook that restarts the service on the indicated EC2 instance.

  • Configure the alarm to initiate the EC2 recover action when the threshold is breached and review activity through CloudTrail logs.

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