nerdexam
Amazon

SOA-C02 · Question #193

An errant process is known to use an entire processor and run at 100%. A SysOps administrator wants to automate restarting the instance once the problem occurs for more than 2 minutes. How can this be

The correct answer is B. Create a CloudWatch alarm for the EC2 instance with detailed monitoring. Enable an action to. Basic monitoring is 5 minutes interval. Detailed monitoring is 1 minute interval. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-basic-

Submitted by jordan8· Mar 30, 2026Monitoring, Logging, and Remediation

Question

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

Options

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

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    84% (27)
  • C
    3% (1)
  • D
    9% (3)

Explanation

Basic monitoring is 5 minutes interval. Detailed monitoring is 1 minute interval. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-basic-

Topics

#CloudWatch detailed monitoring#CPU alarm#EC2 recovery action#automation

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice