nerdexam
Amazon

SOA-C02 · Question #743

A company has a non-production application that runs on an Amazon EC2 instance. The Amazon CloudWatch agent is installed on the EC2 instance. The application includes a process that randomly…

The correct answer is A. Create a CloudWatch alarm for the EC2 instance. Create an Amazon EventBridge event rule that. Create a CloudWatch alarm on the disk-usage metric. When it breaches (100%), an EventBridge rule triggered by the alarm state change can call the EC2 Reboot action - automating the reboot without custom code, and with minimal operational effort.

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

Question

A company has a non-production application that runs on an Amazon EC2 instance. The Amazon CloudWatch agent is installed on the EC2 instance. The application includes a process that randomly overuses temporary disk space and fills disks to 100% capacity. A SysOps administrator needs to automate a reboot of the EC2 instance after the disks reach 100% capacity. Which solution will meet this requirement in the MOST operationally efficient way?

Options

  • ACreate a CloudWatch alarm for the EC2 instance. Create an Amazon EventBridge event rule that
  • BCreate a CloudWatch alarm for the EC2 instance. Create an Amazon Simple Email Service
  • CCreate an AWS Lambda function to reboot the EC2 instance. Create a CloudWatch alarm that
  • DCreate an AWS Lambda function to reboot the EC2 instance. Use EC2 health checks to invoke the

How the community answered

(42 responses)
  • A
    83% (35)
  • B
    2% (1)
  • C
    5% (2)
  • D
    10% (4)

Explanation

Create a CloudWatch alarm on the disk-usage metric. When it breaches (100%), an EventBridge rule triggered by the alarm state change can call the EC2 Reboot action - automating the reboot without custom code, and with minimal operational effort.

Topics

#CloudWatch alarms#EventBridge#EC2 reboot#disk monitoring

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice