nerdexam
Amazon

SOA-C03 · Question #135

An errant process is known to use an entire processor and run at 100%. A CloudOps engineer wants to automate restarting an Amazon EC2 instance when the problem occurs for more than 2 minutes. How…

The correct answer is B. Create an Amazon CloudWatch alarm for the EC2 instance with detailed monitoring. Add an. With detailed monitoring enabled, CloudWatch collects EC2 metrics (such as CPUUtilization) at 1-minute intervals, allowing accurate detection of sustained 100% CPU usage. You can then configure a CloudWatch alarm that triggers when CPU utilization remains above a threshold…

Submitted by lucia.co· Mar 5, 2026Monitoring, logging, and remediation

Question

An errant process is known to use an entire processor and run at 100%. A CloudOps engineer wants to automate restarting an Amazon EC2 instance when the problem occurs for more than 2 minutes. How can this be accomplished?

Options

  • ACreate an Amazon CloudWatch alarm for the EC2 instance with basic monitoring. Add an action
  • BCreate an Amazon CloudWatch alarm for the EC2 instance with detailed monitoring. Add an
  • CCreate an AWS Lambda function to restart the EC2 instance, invoked on a scheduled basis every
  • DCreate an AWS Lambda function to restart the EC2 instance, invoked by EC2 health checks.

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    83% (25)
  • C
    10% (3)
  • D
    3% (1)

Explanation

With detailed monitoring enabled, CloudWatch collects EC2 metrics (such as CPUUtilization) at 1-minute intervals, allowing accurate detection of sustained 100% CPU usage. You can then configure a CloudWatch alarm that triggers when CPU utilization remains above a threshold (e.g., 99%) for more than 2 consecutive minutes and set the alarm action to automatically restart the EC2 instance. This provides a fully automated, low-maintenance solution.

Topics

#CloudWatch alarm#EC2 reboot#detailed monitoring#CPU utilization

Community Discussion

No community discussion yet for this question.

Full SOA-C03 Practice