nerdexam
Amazon

DOP-C02 · Question #225

A company has a fleet of Amazon EC2 instances that run Linux in a single AWS account. The company is using an AWS Systems Manager Automation task across the EC2 instances. During the most recent…

The correct answer is A. Ensure that the Amazon CloudWatch agent is installed on all EC2 instances. D. Create an Amazon CloudWatch alarm to monitor available disk space on all EC2 instances. Add. https://aws.amazon.com/blogs/mt/avoid-patching-failures-due-to-low-disk-space-with-aws- systems-manager-automation-and-cloudwatch-alarms/

Submitted by carlos_mx· Mar 6, 2026Monitoring and Logging

Question

A company has a fleet of Amazon EC2 instances that run Linux in a single AWS account. The company is using an AWS Systems Manager Automation task across the EC2 instances. During the most recent patch cycle, several EC2 instances went into an error state because of insufficient available disk space. A DevOps engineer needs to ensure that the EC2 instances have sufficient available disk space during the patching process in the future. Which combination of steps will meet these requirements? (Choose two.)

Options

  • AEnsure that the Amazon CloudWatch agent is installed on all EC2 instances.
  • BCreate a cron job that is installed on each EC2 instance to periodically delete temporary files.
  • CCreate an Amazon CloudWatch log group for the EC2 instances. Configure a cron job that is
  • DCreate an Amazon CloudWatch alarm to monitor available disk space on all EC2 instances. Add
  • ECreate an AWS Lambda function to periodically check for sufficient available disk space on all

How the community answered

(44 responses)
  • A
    75% (33)
  • B
    5% (2)
  • C
    14% (6)
  • E
    7% (3)

Explanation

https://aws.amazon.com/blogs/mt/avoid-patching-failures-due-to-low-disk-space-with-aws- systems-manager-automation-and-cloudwatch-alarms/

Topics

#EC2 patching#Disk space monitoring#CloudWatch agent#CloudWatch alarms

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice